Functions
tOnePole

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

Functions

void tOnePole_init (tOnePole *const, float thePole, LEAF *const leaf)
 Initialize a tOnePole to the default mempool of a LEAF instance. More...
 
void tOnePole_initToPool (tOnePole *const, float thePole, tMempool *const)
 Initialize a tOnePole to a specified mempool. More...
 
void tOnePole_free (tOnePole *const)
 Free a tOnePole from its mempool. More...
 
float tOnePole_tick (tOnePole *const, float input)
 
void tOnePole_setB0 (tOnePole *const, float b0)
 
void tOnePole_setA1 (tOnePole *const, float a1)
 
void tOnePole_setPole (tOnePole *const, float thePole)
 
void tOnePole_setFreq (tOnePole *const, float freq)
 
void tOnePole_setCoefficients (tOnePole *const, float b0, float a1)
 
void tOnePole_setGain (tOnePole *const, float gain)
 

Detailed Description

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

Function Documentation

◆ tOnePole_init()

void tOnePole_init ( tOnePole * const  ,
float  thePole,
LEAF *const  leaf 
)

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

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

◆ tOnePole_initToPool()

void tOnePole_initToPool ( tOnePole * const  ,
float  thePole,
tMempool * const   
)

Initialize a tOnePole to a specified mempool.

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

◆ tOnePole_free()

void tOnePole_free ( tOnePole * const  )

Free a tOnePole from its mempool.

Parameters
filterA pointer to the tOnePole to free.

◆ tOnePole_tick()

float tOnePole_tick ( tOnePole * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tOnePole.

◆ tOnePole_setB0()

void tOnePole_setB0 ( tOnePole * const  ,
float  b0 
)
Parameters
filterA pointer to the relevant tOnePole.

◆ tOnePole_setA1()

void tOnePole_setA1 ( tOnePole * const  ,
float  a1 
)
Parameters
filterA pointer to the relevant tOnePole.

◆ tOnePole_setPole()

void tOnePole_setPole ( tOnePole * const  ,
float  thePole 
)
Parameters
filterA pointer to the relevant tOnePole.

◆ tOnePole_setFreq()

void tOnePole_setFreq ( tOnePole * const  ,
float  freq 
)
Parameters
filterA pointer to the relevant tOnePole.

◆ tOnePole_setCoefficients()

void tOnePole_setCoefficients ( tOnePole * const  ,
float  b0,
float  a1 
)
Parameters
filterA pointer to the relevant tOnePole.

◆ tOnePole_setGain()

void tOnePole_setGain ( tOnePole * const  ,
float  gain 
)
Parameters
filterA pointer to the relevant tOnePole.