Functions

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

Functions

void tSaw_init (tSaw *const osc, LEAF *const leaf)
 Initialize a tSaw to the default mempool of a LEAF instance. More...
 
void tSaw_initToPool (tSaw *const osc, tMempool *const mempool)
 Initialize a tSaw to a specified mempool. More...
 
void tSaw_free (tSaw *const osc)
 Free a tSaw from its mempool. More...
 
float tSaw_tick (tSaw *const osc)
 
void tSaw_setFreq (tSaw *const osc, float freq)
 

Detailed Description

Saw wave oscillator with polyBLEP anti-aliasing.

Function Documentation

◆ tSaw_init()

void tSaw_init ( tSaw *const  osc,
LEAF *const  leaf 
)

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

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

◆ tSaw_initToPool()

void tSaw_initToPool ( tSaw *const  osc,
tMempool *const  mempool 
)

Initialize a tSaw to a specified mempool.

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

◆ tSaw_free()

void tSaw_free ( tSaw *const  osc)

Free a tSaw from its mempool.

Parameters
oscA pointer to the tSaw to free.

◆ tSaw_tick()

float tSaw_tick ( tSaw *const  osc)
Parameters
oscA pointer to the relevant tSaw.

◆ tSaw_setFreq()

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