Blender V2.61 - r43446
Public Member Functions

AUD_ButterworthFactory Class Reference

#include <AUD_ButterworthFactory.h>

Inheritance diagram for AUD_ButterworthFactory:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

This factory creates a butterworth lowpass filter reader.

Definition at line 38 of file AUD_ButterworthFactory.h.


Constructor & Destructor Documentation

AUD_ButterworthFactory::AUD_ButterworthFactory ( AUD_Reference< AUD_IFactory factory,
float  frequency 
)

Creates a new butterworth factory.

Parameters:
factoryThe input factory.
frequencyThe cutoff frequency.

Definition at line 42 of file AUD_ButterworthFactory.cpp.


Member Function Documentation

void AUD_ButterworthFactory::recalculateCoefficients ( AUD_SampleRate  rate,
std::vector< float > &  b,
std::vector< float > &  a 
) [virtual]

Recalculates the filter coefficients.

Parameters:
rateThe sample rate of the audio data.
[out]bThe input filter coefficients.
[out]aThe output filter coefficients.

Implements AUD_DynamicIIRFilterFactory.

Definition at line 49 of file AUD_ButterworthFactory.cpp.

References BWPB41, BWPB42, M_PI, norm(), and KDL::tan().


The documentation for this class was generated from the following files: