SynthLab SDK
SynthLab::ResLoopFilter Class Reference

Implements a first order feedforward LPF with coefficients a0 = a1 = 0.5. More...

#include <synthbase.h>

Public Member Functions

void reset ()
 
double processAudioSample (double xn)
 run the filter More...
 

Detailed Description

Implements a first order feedforward LPF with coefficients a0 = a1 = 0.5.

  • generates LPF with zero at Nyquist
  • generates exactly 1/2 sample of delay
  • used for tuning the resonator in a plucked string model for an exact pitch
Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in Designing Audio Effects Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2018 / 09 / 7

Member Function Documentation

◆ processAudioSample()

double SynthLab::ResLoopFilter::processAudioSample ( double  xn)
inline

run the filter

Parameters
xnthe input sample
Returns
the filtered output

◆ reset()

void SynthLab::ResLoopFilter::reset ( )
inline

flush state variables


The documentation for this class was generated from the following file: