|
Public Member Functions |
| | IIRFilter () throw () |
| | Creates a filter.
|
| | IIRFilter (const IIRFilter &other) throw () |
| | Creates a copy of another filter.
|
| | ~IIRFilter () throw () |
| | Destructor.
|
| void | reset () throw () |
| | Resets the filter's processing pipeline, ready to start a new stream of data.
|
| void | processSamples (float *const samples, const int numSamples) throw () |
| | Performs the filter operation on the given set of samples.
|
| void | makeLowPass (const double sampleRate, const double frequency) throw () |
| | Sets the filter up to act as a low-pass filter.
|
| void | makeHighPass (const double sampleRate, const double frequency) throw () |
| | Sets the filter up to act as a high-pass filter.
|
| void | makeLowShelf (const double sampleRate, const double cutOffFrequency, const double Q, const float gainFactor) throw () |
| | Sets the filter up to act as a low-pass shelf filter with variable Q and gain.
|
| void | makeHighShelf (const double sampleRate, const double cutOffFrequency, const double Q, const float gainFactor) throw () |
| | Sets the filter up to act as a high-pass shelf filter with variable Q and gain.
|
| void | makeBandPass (const double sampleRate, const double centreFrequency, const double Q, const float gainFactor) throw () |
| | Sets the filter up to act as a band pass filter centred around a frequency, with a variable Q and gain.
|
| void | makeInactive () throw () |
| | Clears the filter's coefficients so that it becomes inactive.
|
| void | copyCoefficientsFrom (const IIRFilter &other) throw () |
| | Makes this filter duplicate the set-up of another one.
|
Protected Member Functions |
| void | setCoefficients (double c1, double c2, double c3, double c4, double c5, double c6) throw () |
| const IIRFilter & | operator= (const IIRFilter &) |
Protected Attributes |
| CriticalSection | processLock |
| bool | active |
| float | coefficients [6] |
| float | x1 |
| float | x2 |
| float | y1 |
| float | y2 |