Functions

Triangle wave oscillator with polyBLEP anti-aliasing. More...

Functions

void tTri_init (tTri *const osc, LEAF *const leaf)
 Initialize a tTri to the default mempool of a LEAF instance. More...
 
void tTri_initToPool (tTri *const osc, tMempool *const mempool)
 Initialize a tTri to a specified mempool. More...
 
void tTri_free (tTri *const osc)
 Free a tTri from its mempool. More...
 
float tTri_tick (tTri *const osc)
 
void tTri_setFreq (tTri *const osc, float freq)
 
void tTri_setSkew (tTri *const osc, float skew)
 

Detailed Description

Triangle wave oscillator with polyBLEP anti-aliasing.

Function Documentation

◆ tTri_init()

void tTri_init ( tTri *const  osc,
LEAF *const  leaf 
)

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

Parameters
oscA pointer to the tTri to initialize.
leafA pointer to the leaf instance.

◆ tTri_initToPool()

void tTri_initToPool ( tTri *const  osc,
tMempool *const  mempool 
)

Initialize a tTri to a specified mempool.

Parameters
oscA pointer to the tTri to initialize.
mempoolA pointer to the tMempool to use.

◆ tTri_free()

void tTri_free ( tTri *const  osc)

Free a tTri from its mempool.

Parameters
oscA pointer to the tTri to free.

◆ tTri_tick()

float tTri_tick ( tTri *const  osc)
Parameters
oscA pointer to the relevant tTri.

◆ tTri_setFreq()

void tTri_setFreq ( tTri *const  osc,
float  freq 
)
Parameters
oscA pointer to the relevant tTri.

◆ tTri_setSkew()

void tTri_setSkew ( tTri *const  osc,
float  skew 
)
Parameters
oscA pointer to the relevant tTri.