Functions
tBiQuad

BiQuad filter, reimplemented from STK (Cook and Scavone). More...

Functions

void tBiQuad_init (tBiQuad *const, LEAF *const leaf)
 Initialize a tBiQuad to the default mempool of a LEAF instance. More...
 
void tBiQuad_initToPool (tBiQuad *const, tMempool *const)
 Initialize a tBiQuad to a specified mempool. More...
 
void tBiQuad_free (tBiQuad *const)
 Free a tBiQuad from its mempool. More...
 
float tBiQuad_tick (tBiQuad *const, float input)
 
void tBiQuad_setB0 (tBiQuad *const, float b0)
 
void tBiQuad_setB1 (tBiQuad *const, float b1)
 
void tBiQuad_setB2 (tBiQuad *const, float b2)
 
void tBiQuad_setA1 (tBiQuad *const, float a1)
 
void tBiQuad_setA2 (tBiQuad *const, float a2)
 
void tBiQuad_setNotch (tBiQuad *const, float freq, float radius)
 
void tBiQuad_setResonance (tBiQuad *const, float freq, float radius, int normalize)
 
void tBiQuad_setCoefficients (tBiQuad *const, float b0, float b1, float b2, float a1, float a2)
 
void tBiQuad_setGain (tBiQuad *const, float gain)
 

Detailed Description

BiQuad filter, reimplemented from STK (Cook and Scavone).

Function Documentation

◆ tBiQuad_init()

void tBiQuad_init ( tBiQuad * const  ,
LEAF *const  leaf 
)

Initialize a tBiQuad to the default mempool of a LEAF instance.

Parameters
filterA pointer to the tBiQuad to initialize.
leafA pointer to the leaf instance.

◆ tBiQuad_initToPool()

void tBiQuad_initToPool ( tBiQuad * const  ,
tMempool * const   
)

Initialize a tBiQuad to a specified mempool.

Parameters
filterA pointer to the tBiQuad to initialize.
mempoolA pointer to the tMempool to use.

◆ tBiQuad_free()

void tBiQuad_free ( tBiQuad * const  )

Free a tBiQuad from its mempool.

Parameters
filterA pointer to the tBiQuad to free.

◆ tBiQuad_tick()

float tBiQuad_tick ( tBiQuad * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setB0()

void tBiQuad_setB0 ( tBiQuad * const  ,
float  b0 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setB1()

void tBiQuad_setB1 ( tBiQuad * const  ,
float  b1 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setB2()

void tBiQuad_setB2 ( tBiQuad * const  ,
float  b2 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setA1()

void tBiQuad_setA1 ( tBiQuad * const  ,
float  a1 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setA2()

void tBiQuad_setA2 ( tBiQuad * const  ,
float  a2 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setNotch()

void tBiQuad_setNotch ( tBiQuad * const  ,
float  freq,
float  radius 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setResonance()

void tBiQuad_setResonance ( tBiQuad * const  ,
float  freq,
float  radius,
int  normalize 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setCoefficients()

void tBiQuad_setCoefficients ( tBiQuad * const  ,
float  b0,
float  b1,
float  b2,
float  a1,
float  a2 
)
Parameters
filterA pointer to the relevant tBiQuad.

◆ tBiQuad_setGain()

void tBiQuad_setGain ( tBiQuad * const  ,
float  gain 
)
Parameters
filterA pointer to the relevant tBiQuad.