Blender V2.61 - r43446
|
#include <AUD_ButterworthFactory.h>
Public Member Functions | |
AUD_ButterworthFactory (AUD_Reference< AUD_IFactory > factory, float frequency) | |
virtual void | recalculateCoefficients (AUD_SampleRate rate, std::vector< float > &b, std::vector< float > &a) |
This factory creates a butterworth lowpass filter reader.
Definition at line 38 of file AUD_ButterworthFactory.h.
AUD_ButterworthFactory::AUD_ButterworthFactory | ( | AUD_Reference< AUD_IFactory > | factory, |
float | frequency | ||
) |
Creates a new butterworth factory.
factory | The input factory. |
frequency | The cutoff frequency. |
Definition at line 42 of file AUD_ButterworthFactory.cpp.
void AUD_ButterworthFactory::recalculateCoefficients | ( | AUD_SampleRate | rate, |
std::vector< float > & | b, | ||
std::vector< float > & | a | ||
) | [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 AUD_DynamicIIRFilterFactory.
Definition at line 49 of file AUD_ButterworthFactory.cpp.
References BWPB41, BWPB42, M_PI, norm(), and KDL::tan().