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