Functions
tTwoZero

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

Functions

void tTwoZero_init (tTwoZero *const, LEAF *const leaf)
 Initialize a tTwoZero to the default mempool of a LEAF instance. More...
 
void tTwoZero_initToPool (tTwoZero *const, tMempool *const)
 Initialize a tTwoZero to a specified mempool. More...
 
void tTwoZero_free (tTwoZero *const)
 Free a tTwoZero from its mempool. More...
 
float tTwoZero_tick (tTwoZero *const, float input)
 
void tTwoZero_setB0 (tTwoZero *const, float b0)
 
void tTwoZero_setB1 (tTwoZero *const, float b1)
 
void tTwoZero_setB2 (tTwoZero *const, float b2)
 
void tTwoZero_setNotch (tTwoZero *const, float frequency, float radius)
 
void tTwoZero_setCoefficients (tTwoZero *const, float b0, float b1, float b2)
 
void tTwoZero_setGain (tTwoZero *const, float gain)
 

Detailed Description

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

Function Documentation

◆ tTwoZero_init()

void tTwoZero_init ( tTwoZero * const  ,
LEAF *const  leaf 
)

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

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

◆ tTwoZero_initToPool()

void tTwoZero_initToPool ( tTwoZero * const  ,
tMempool * const   
)

Initialize a tTwoZero to a specified mempool.

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

◆ tTwoZero_free()

void tTwoZero_free ( tTwoZero * const  )

Free a tTwoZero from its mempool.

Parameters
filterA pointer to the tTwoZero to free.

◆ tTwoZero_tick()

float tTwoZero_tick ( tTwoZero * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tTwoZero.

◆ tTwoZero_setB0()

void tTwoZero_setB0 ( tTwoZero * const  ,
float  b0 
)
Parameters
filterA pointer to the relevant tTwoZero.

◆ tTwoZero_setB1()

void tTwoZero_setB1 ( tTwoZero * const  ,
float  b1 
)
Parameters
filterA pointer to the relevant tTwoZero.

◆ tTwoZero_setB2()

void tTwoZero_setB2 ( tTwoZero * const  ,
float  b2 
)
Parameters
filterA pointer to the relevant tTwoZero.

◆ tTwoZero_setNotch()

void tTwoZero_setNotch ( tTwoZero * const  ,
float  frequency,
float  radius 
)
Parameters
filterA pointer to the relevant tTwoZero.

◆ tTwoZero_setCoefficients()

void tTwoZero_setCoefficients ( tTwoZero * const  ,
float  b0,
float  b1,
float  b2 
)
Parameters
filterA pointer to the relevant tTwoZero.

◆ tTwoZero_setGain()

void tTwoZero_setGain ( tTwoZero * const  ,
float  gain 
)
Parameters
filterA pointer to the relevant tTwoZero.