Audaspace 1.5.0
A high level audio library.
|
The LowpassCalculator class calculates low pass filter coefficients for a dynamic DynamicIIRFilter. More...
#include <LowpassCalculator.h>
Public Member Functions | |
LowpassCalculator (float frequency, float Q) | |
Creates a LowpassCalculator object. | |
virtual void | recalculateCoefficients (SampleRate rate, std::vector< float > &b, std::vector< float > &a) |
Recalculates the filter coefficients. | |
The LowpassCalculator class calculates low pass filter coefficients for a dynamic DynamicIIRFilter.
LowpassCalculator::LowpassCalculator | ( | float | frequency, |
float | Q ) |
Creates a LowpassCalculator object.
frequency | The cutoff frequency. |
Q | The Q factor of the filter. If unsure, use 1.0 as default. |
|
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.