Functions
tWavetable

Anti-aliased wavetable oscillator. More...

Functions

void tWavetable_free (tWavetable *const osc)
 Free a tWavetable from its mempool. More...
 
float tWavetable_tick (tWavetable *const osc)
 Tick a tWavetable oscillator. More...
 
void tWavetable_setFreq (tWavetable *const osc, float freq)
 Set the frequency of a tWavetable oscillator. More...
 

Detailed Description

Anti-aliased wavetable oscillator.

Function Documentation

◆ tWavetable_free()

void tWavetable_free ( tWavetable *const  osc)

Free a tWavetable from its mempool.

Parameters
oscA pointer to the tWavetable to free.

◆ tWavetable_tick()

float tWavetable_tick ( tWavetable *const  osc)

Tick a tWavetable oscillator.

Parameters
oscA pointer to the relevant tWavetable.
Returns
The ticked sample as a float from -1 to 1.

◆ tWavetable_setFreq()

void tWavetable_setFreq ( tWavetable *const  osc,
float  freq 
)

Set the frequency of a tWavetable oscillator.

Parameters
oscA pointer to the relevant tWavetable.
freqThe frequency to set the oscillator to.