csl::Butter Class Reference

#include <Filters.h>

Inheritance diagram for csl::Butter:

csl::Filter csl::Effect csl::Scalable csl::FrequencyAmount csl::UnitGenerator csl::Controllable csl::Controllable csl::Controllable csl::Model

List of all members.

Public Member Functions

 Butter ()
 Butter (ButterworthType type, float cutoff)
 Butter (ButterworthType type, float center, float bandwidth)
 Butter (UnitGenerator &in, ButterworthType type, float cutoff)
 Butter (UnitGenerator &in, ButterworthType type, UnitGenerator &cutoff)
 Butter (UnitGenerator &in, ButterworthType type, float center, float bandwidth)
 Butter (UnitGenerator &in, ButterworthType type, UnitGenerator &center, UnitGenerator &bandwidth)
void setupCoeffs ()

Protected Attributes

int mFilterType


Detailed Description

Butterworth IIR (2nd order recursive) filter. This operates upon a buffer of frames of amplitude samples by applying the following equation y(n) = a0*x(n) + a1*x(n-1) + a2*x(n-2) - b1*y(n-1) - b2*y(n-2) where x is an amplitude sample. It has constructors that can calculate the coefficients from a given cutoff frequency.

Constructor & Destructor Documentation

Butter::Butter (  ) 

Butterworth IIR (2nd order recursive) filter. This operates upon a buffer of frames of amplitude samples by applying the following equation y(n) = a0*x(n) + a1*x(n-1) + a2*x(n-2) - b1*y(n-1) - b2*y(n-2) where x is an amplitude sample. It has constructors that can calculate the coefficients from a given cutoff frequency.

Butter::Butter ( ButterworthType  type,
float  cutoff 
)

Butter::Butter ( ButterworthType  type,
float  center,
float  bandwidth 
)

Butter::Butter ( UnitGenerator in,
ButterworthType  type,
float  cutoff 
)

Butter::Butter ( UnitGenerator in,
ButterworthType  type,
UnitGenerator cutoff 
)

Butter::Butter ( UnitGenerator in,
ButterworthType  type,
float  center,
float  bandwidth 
)

Butter::Butter ( UnitGenerator in,
ButterworthType  type,
UnitGenerator center,
UnitGenerator bandwidth 
)


Member Function Documentation

void Butter::setupCoeffs (  )  [virtual]


Member Data Documentation

int csl::Butter::mFilterType [protected]

Referenced by Butter(), and setupCoeffs().


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

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8