Functions
tPBTriangle

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

Functions

void tPBTriangle_init (tPBTriangle *const osc, LEAF *const leaf)
 Initialize a tPBTriangle to the default mempool of a LEAF instance. More...
 
void tPBTriangle_initToPool (tPBTriangle *const osc, tMempool *const mempool)
 Initialize a tPBTriangle to a specified mempool. More...
 
void tPBTriangle_free (tPBTriangle *const osc)
 Free a tTri from its mempool. More...
 
float tPBTriangle_tick (tPBTriangle *const osc)
 
void tPBTriangle_setFreq (tPBTriangle *const osc, float freq)
 
void tPBTriangle_setSkew (tPBTriangle *const osc, float skew)
 

Detailed Description

Triangle wave oscillator with polyBLEP anti-aliasing.

Function Documentation

◆ tPBTriangle_init()

void tPBTriangle_init ( tPBTriangle *const  osc,
LEAF *const  leaf 
)

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

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

◆ tPBTriangle_initToPool()

void tPBTriangle_initToPool ( tPBTriangle *const  osc,
tMempool *const  mempool 
)

Initialize a tPBTriangle to a specified mempool.

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

◆ tPBTriangle_free()

void tPBTriangle_free ( tPBTriangle *const  osc)

Free a tTri from its mempool.

Parameters
oscA pointer to the tPBTriangle to free.

◆ tPBTriangle_tick()

float tPBTriangle_tick ( tPBTriangle *const  osc)
Parameters
oscA pointer to the relevant tPBTriangle.

◆ tPBTriangle_setFreq()

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

◆ tPBTriangle_setSkew()

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