OpenWareLaboratory
StereoBiquadFilter Class Reference
Inheritance diagram for StereoBiquadFilter:
Collaboration diagram for StereoBiquadFilter:

Public Member Functions

FloatArray getCoefficients ()
 
FilterStage getFilterStage (int stage)
 
BiquadFiltergetLeftFilter ()
 
BiquadFiltergetRightFilter ()
 
int getStages ()
 
FloatArray getState ()
 
void process (float *input, float *output, int size)
 
void process (float *buf, int size)
 
void process (FloatArray in)
 
void process (FloatArray in, FloatArray out)
 
float process (float input)
 
void process (AudioBuffer &buffer)
 
void setBandPass (float fc, float q)
 
void setCoefficients (FloatArray newCoefficients)
 
void setCoefficientsPointer (FloatArray newCoefficients)
 
void setHighPass (float fc, float q)
 
void setHighShelf (float fc, float gain)
 
void setLowPass (float fc, float q)
 
void setLowShelf (float fc, float gain)
 
void setNotch (float fc, float q)
 
void setPeak (float fc, float q, float gain)
 
 StereoBiquadFilter (float *coefs, float *lstate, float *rstate, int sgs)
 

Static Public Member Functions

static StereoBiquadFiltercreate (int stages)
 
static void destroy (BiquadFilter *filter)
 
static void destroy (StereoBiquadFilter *filter)
 
static int getCoefficientsPerStage ()
 

Protected Member Functions

void copyCoefficients ()
 
void init ()
 

Protected Attributes

float * coefficients
 
int stages
 
float * state
 

Detailed Description

Definition at line 346 of file BiquadFilter.h.

Constructor & Destructor Documentation

StereoBiquadFilter::StereoBiquadFilter ( float *  coefs,
float *  lstate,
float *  rstate,
int  sgs 
)
inline

Definition at line 350 of file BiquadFilter.h.

Referenced by create().

Member Function Documentation

static StereoBiquadFilter* StereoBiquadFilter::create ( int  stages)
inlinestatic

Definition at line 367 of file BiquadFilter.h.

References StereoBiquadFilter().

static void BiquadFilter::destroy ( BiquadFilter filter)
inlinestaticinherited
static void StereoBiquadFilter::destroy ( StereoBiquadFilter filter)
inlinestatic
FloatArray BiquadFilter::getCoefficients ( )
inlineinherited
static int BiquadFilter::getCoefficientsPerStage ( )
inlinestaticinherited

Definition at line 224 of file BiquadFilter.h.

References BIQUAD_COEFFICIENTS_PER_STAGE.

BiquadFilter* StereoBiquadFilter::getLeftFilter ( )
inline

Definition at line 354 of file BiquadFilter.h.

BiquadFilter* StereoBiquadFilter::getRightFilter ( )
inline

Definition at line 358 of file BiquadFilter.h.

int BiquadFilter::getStages ( )
inlineinherited

Definition at line 220 of file BiquadFilter.h.

References BiquadFilter::stages.

FloatArray BiquadFilter::getState ( )
inlineinherited

Definition at line 232 of file BiquadFilter.h.

References BIQUAD_STATE_VARIABLES_PER_STAGE, BiquadFilter::stages, and BiquadFilter::state.

Referenced by destroy().

void BiquadFilter::init ( )
inlineprotectedinherited
void BiquadFilter::process ( float *  input,
float *  output,
int  size 
)
inlineinherited
void BiquadFilter::process ( float *  buf,
int  size 
)
inlineinherited

Definition at line 270 of file BiquadFilter.h.

References BiquadFilter::process().

void BiquadFilter::process ( FloatArray  in)
inlineinherited

Definition at line 274 of file BiquadFilter.h.

References FloatArray::getSize(), and BiquadFilter::process().

void BiquadFilter::process ( FloatArray  in,
FloatArray  out 
)
inlineinherited

Definition at line 278 of file BiquadFilter.h.

References ASSERT, FloatArray::getSize(), and BiquadFilter::process().

float BiquadFilter::process ( float  input)
inlineinherited

Definition at line 284 of file BiquadFilter.h.

References BiquadFilter::process().

void StereoBiquadFilter::process ( AudioBuffer buffer)
inline
void BiquadFilter::setBandPass ( float  fc,
float  q 
)
inlineinherited
void BiquadFilter::setCoefficients ( FloatArray  newCoefficients)
inlineinherited
void BiquadFilter::setCoefficientsPointer ( FloatArray  newCoefficients)
inlineinherited
void BiquadFilter::setHighPass ( float  fc,
float  q 
)
inlineinherited
void BiquadFilter::setHighShelf ( float  fc,
float  gain 
)
inlineinherited
void BiquadFilter::setLowPass ( float  fc,
float  q 
)
inlineinherited
void BiquadFilter::setLowShelf ( float  fc,
float  gain 
)
inlineinherited
void BiquadFilter::setNotch ( float  fc,
float  q 
)
inlineinherited
void BiquadFilter::setPeak ( float  fc,
float  q,
float  gain 
)
inlineinherited

Field Documentation

float* BiquadFilter::state
protectedinherited

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