Functions
tDiodeFilter

Diode filter. More...

Functions

void tDiodeFilter_init (tDiodeFilter *const, float freq, float Q, LEAF *const leaf)
 Initialize a tDiodeFilter to the default mempool of a LEAF instance. More...
 
void tDiodeFilter_initToPool (tDiodeFilter *const, float freq, float Q, tMempool *const)
 Initialize a tDiodeFilter to a specified mempool. More...
 
void tDiodeFilter_free (tDiodeFilter *const)
 Free a tDiodeFilter from its mempool. More...
 
float tDiodeFilter_tick (tDiodeFilter *const, float input)
 
void tDiodeFilter_setFreq (tDiodeFilter *const vf, float cutoff)
 
void tDiodeFilter_setQ (tDiodeFilter *const vf, float resonance)
 

Detailed Description

Diode filter.

Function Documentation

◆ tDiodeFilter_init()

void tDiodeFilter_init ( tDiodeFilter * const  ,
float  freq,
float  Q,
LEAF *const  leaf 
)

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

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

◆ tDiodeFilter_initToPool()

void tDiodeFilter_initToPool ( tDiodeFilter * const  ,
float  freq,
float  Q,
tMempool * const   
)

Initialize a tDiodeFilter to a specified mempool.

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

◆ tDiodeFilter_free()

void tDiodeFilter_free ( tDiodeFilter * const  )

Free a tDiodeFilter from its mempool.

Parameters
filterA pointer to the tDiodeFilter to free.

◆ tDiodeFilter_tick()

float tDiodeFilter_tick ( tDiodeFilter * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tDiodeFilter.

◆ tDiodeFilter_setFreq()

void tDiodeFilter_setFreq ( tDiodeFilter *const  vf,
float  cutoff 
)
Parameters
filterA pointer to the relevant tDiodeFilter.

◆ tDiodeFilter_setQ()

void tDiodeFilter_setQ ( tDiodeFilter *const  vf,
float  resonance 
)
Parameters
filterA pointer to the relevant tDiodeFilter.