Audaspace 1.5.0
A high level audio library.
|
The ButterworthCalculator class calculates fourth order Butterworth low pass filter coefficients for a dynamic DynamicIIRFilter. More...
#include <ButterworthCalculator.h>
Public Member Functions | |
ButterworthCalculator (float frequency) | |
Creates a ButterworthCalculator object. | |
virtual void | recalculateCoefficients (SampleRate rate, std::vector< float > &b, std::vector< float > &a) |
Recalculates the filter coefficients. | |
The ButterworthCalculator class calculates fourth order Butterworth low pass filter coefficients for a dynamic DynamicIIRFilter.
ButterworthCalculator::ButterworthCalculator | ( | float | frequency | ) |
Creates a ButterworthCalculator object.
frequency | The cutoff frequency. |
|
virtual |
Recalculates the filter coefficients.
rate | The sample rate of the audio data. | |
[out] | b | The input filter coefficients. |
[out] | a | The output filter coefficients. |
Implements IDynamicIIRFilterCalculator.