State Variable Filter, algorithm from Andy Simper.
More...
|
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) |
|
State Variable Filter, algorithm from Andy Simper.
◆ 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
-
filter | A pointer to the tSVF to initialize. |
leaf | A 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
-
filter | A pointer to the tSVF to initialize. |
mempool | A pointer to the tMempool to use. |
◆ tSVF_free()
void tSVF_free |
( |
tSVF * const |
| ) |
|
Free a tSVF from its mempool.
- Parameters
-
filter | A pointer to the tSVF to free. |
◆ tSVF_tick()
float tSVF_tick |
( |
tSVF * const |
, |
|
|
float |
v0 |
|
) |
| |
- Parameters
-
filter | A pointer to the relevant tSVF. |
◆ tSVF_setFreq()
void tSVF_setFreq |
( |
tSVF * const |
, |
|
|
float |
freq |
|
) |
| |
- Parameters
-
filter | A pointer to the relevant tSVF. |
◆ tSVF_setQ()
void tSVF_setQ |
( |
tSVF * const |
, |
|
|
float |
Q |
|
) |
| |
- Parameters
-
filter | A pointer to the relevant tSVF. |
◆ tSVF_setFreqAndQ()
void tSVF_setFreqAndQ |
( |
tSVF *const |
svff, |
|
|
float |
freq, |
|
|
float |
Q |
|
) |
| |
- Parameters
-
filter | A pointer to the relevant tSVF.  |