Functions
tReedTable

Reed Table - borrowed from STK. More...

Functions

void tReedTable_init (tReedTable *const, float offset, float slope, LEAF *const leaf)
 Initialize a tReedTable to the default mempool of a LEAF instance. More...
 
void tReedTable_initToPool (tReedTable *const, float offset, float slope, tMempool *const)
 Initialize a tReedTable to a specified mempool. More...
 
void tReedTable_free (tReedTable *const)
 Free a tReedTable from its mempool. More...
 
float tReedTable_tick (tReedTable *const, float input)
 
float tReedTable_tanh_tick (tReedTable *const, float input)
 
void tReedTable_setOffset (tReedTable *const, float offset)
 
void tReedTable_setSlope (tReedTable *const, float slope)
 

Detailed Description

Reed Table - borrowed from STK.

Function Documentation

◆ tReedTable_init()

void tReedTable_init ( tReedTable *const  pm,
float  offset,
float  slope,
LEAF *const  leaf 
)

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

Parameters
reedA pointer to the tReedTable to initialize.
leafA pointer to the leaf instance.

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

◆ tReedTable_initToPool()

void tReedTable_initToPool ( tReedTable * const  ,
float  offset,
float  slope,
tMempool * const   
)

Initialize a tReedTable to a specified mempool.

Parameters
reedA pointer to the tReedTable to initialize.
mempoolA pointer to the tMempool to use.

◆ tReedTable_free()

void tReedTable_free ( tReedTable * const  )

Free a tReedTable from its mempool.

Parameters
reedA pointer to the tReedTable to free.

◆ tReedTable_tick()

float tReedTable_tick ( tReedTable * const  ,
float  input 
)
Parameters
reedA pointer to the relevant tReedTable.

◆ tReedTable_tanh_tick()

float tReedTable_tanh_tick ( tReedTable * const  ,
float  input 
)
Parameters
reedA pointer to the relevant tReedTable.

◆ tReedTable_setOffset()

void tReedTable_setOffset ( tReedTable * const  ,
float  offset 
)
Parameters
reedA pointer to the relevant tReedTable.

◆ tReedTable_setSlope()

void tReedTable_setSlope ( tReedTable * const  ,
float  slope 
)
Parameters
reedA pointer to the relevant tReedTable.