BiQuad

This class implements a generic biquad filter. Should be inherited by all filters.

class BiQuad : AudioEffect {
float _xn1;
float _xn2;
float _yn1;
float _yn2;
float _a0;
float _a1;
float _a2;
float _b1;
float _b2;
float _c0;
float _d0;
float _sampleRate;
float _qFactor;
float _frequency;
}

Inherited Members

From AudioEffect

getNextSample
float getNextSample(const float input)

Process a sample that is passed to the processor, and return the next sample.

reset
void reset()

Should be used to free any delay elements or do any setup before play begins.

setSampleRate
void setSampleRate(float sampleRate)

Meta