Functions

State Variable Filter, algorithm from Andy Simper. More...

Functions

void tSVF_init (tSVF *const, SVFType type, float freq, float Q, LEAF *const leaf)
 Initialize a tSVF to the default mempool of a LEAF instance. More...
 
void tSVF_initToPool (tSVF *const, SVFType type, float freq, float Q, tMempool *const)
 Initialize a tSVF to a specified mempool. More...
 
void tSVF_free (tSVF *const)
 Free a tSVF from its mempool. More...
 
float tSVF_tick (tSVF *const, float v0)
 
void tSVF_setFreq (tSVF *const, float freq)
 
void tSVF_setQ (tSVF *const, float Q)
 
void tSVF_setFreqAndQ (tSVF *const svff, float freq, float Q)
 

Detailed Description

State Variable Filter, algorithm from Andy Simper.

Function Documentation

◆ tSVF_init()

void tSVF_init ( tSVF * const  ,
SVFType  type,
float  freq,
float  Q,
LEAF *const  leaf 
)

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

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

◆ tSVF_initToPool()

void tSVF_initToPool ( tSVF * const  ,
SVFType  type,
float  freq,
float  Q,
tMempool * const   
)

Initialize a tSVF to a specified mempool.

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

◆ tSVF_free()

void tSVF_free ( tSVF * const  )

Free a tSVF from its mempool.

Parameters
filterA pointer to the tSVF to free.

◆ tSVF_tick()

float tSVF_tick ( tSVF * const  ,
float  v0 
)
Parameters
filterA pointer to the relevant tSVF.

◆ tSVF_setFreq()

void tSVF_setFreq ( tSVF * const  ,
float  freq 
)
Parameters
filterA pointer to the relevant tSVF.

◆ tSVF_setQ()

void tSVF_setQ ( tSVF * const  ,
float  Q 
)
Parameters
filterA pointer to the relevant tSVF.

◆ tSVF_setFreqAndQ()

void tSVF_setFreqAndQ ( tSVF *const  svff,
float  freq,
float  Q 
)
Parameters
filterA pointer to the relevant tSVF.