Functions

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

Functions

void tPBSaw_init (tPBSaw *const osc, LEAF *const leaf)
 Initialize a tPBSaw to the default mempool of a LEAF instance. More...
 
void tPBSaw_initToPool (tPBSaw *const osc, tMempool *const mempool)
 Initialize a tPBSaw to a specified mempool. More...
 
void tPBSaw_free (tPBSaw *const osc)
 Free a tPBSaw from its mempool. More...
 
float tPBSaw_tick (tPBSaw *const osc)
 
void tPBSaw_setFreq (tPBSaw *const osc, float freq)
 

Detailed Description

Saw wave oscillator with polyBLEP anti-aliasing.

Function Documentation

◆ tPBSaw_init()

void tPBSaw_init ( tPBSaw *const  osc,
LEAF *const  leaf 
)

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

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

◆ tPBSaw_initToPool()

void tPBSaw_initToPool ( tPBSaw *const  osc,
tMempool *const  mempool 
)

Initialize a tPBSaw to a specified mempool.

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

◆ tPBSaw_free()

void tPBSaw_free ( tPBSaw *const  osc)

Free a tPBSaw from its mempool.

Parameters
oscA pointer to the tPBSaw to free.

◆ tPBSaw_tick()

float tPBSaw_tick ( tPBSaw *const  osc)
Parameters
oscA pointer to the relevant tPBSaw.

◆ tPBSaw_setFreq()

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