Functions
tExpSmooth

Exponential curve smoother. More...

Functions

void tExpSmooth_init (tExpSmooth *const, float val, float factor, LEAF *const leaf)
 Initialize a tExpSmooth to the default mempool of a LEAF instance. More...
 
void tExpSmooth_initToPool (tExpSmooth *const, float val, float factor, tMempool *const)
 Initialize a tExpSmooth to a specified mempool. More...
 
void tExpSmooth_free (tExpSmooth *const)
 Free a tExpSmooth from its mempool. More...
 
float tExpSmooth_tick (tExpSmooth *const)
 
float tExpSmooth_sample (tExpSmooth *const)
 
void tExpSmooth_setFactor (tExpSmooth *const, float factor)
 
void tExpSmooth_setDest (tExpSmooth *const, float dest)
 
void tExpSmooth_setVal (tExpSmooth *const, float val)
 
void tExpSmooth_setValAndDest (tExpSmooth *const expsmooth, float val)
 

Detailed Description

Exponential curve smoother.

Function Documentation

◆ tExpSmooth_init()

void tExpSmooth_init ( tExpSmooth * const  ,
float  val,
float  factor,
LEAF *const  leaf 
)

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

Parameters
smoothA pointer to the tExpSmooth to initialize.
leafA pointer to the leaf instance.

◆ tExpSmooth_initToPool()

void tExpSmooth_initToPool ( tExpSmooth * const  ,
float  val,
float  factor,
tMempool * const   
)

Initialize a tExpSmooth to a specified mempool.

Parameters
smoothA pointer to the tExpSmooth to initialize.
mempoolA pointer to the tMempool to use.

◆ tExpSmooth_free()

void tExpSmooth_free ( tExpSmooth * const  )

Free a tExpSmooth from its mempool.

Parameters
smoothA pointer to the tExpSmooth to free.

◆ tExpSmooth_tick()

float tExpSmooth_tick ( tExpSmooth * const  )
Parameters
smoothA pointer to the relevant tExpSmooth.

◆ tExpSmooth_sample()

float tExpSmooth_sample ( tExpSmooth * const  )
Parameters
smoothA pointer to the relevant tExpSmooth.

◆ tExpSmooth_setFactor()

void tExpSmooth_setFactor ( tExpSmooth * const  ,
float  factor 
)
Parameters
smoothA pointer to the relevant tExpSmooth.

◆ tExpSmooth_setDest()

void tExpSmooth_setDest ( tExpSmooth * const  ,
float  dest 
)
Parameters
smoothA pointer to the relevant tExpSmooth.

◆ tExpSmooth_setVal()

void tExpSmooth_setVal ( tExpSmooth * const  ,
float  val 
)
Parameters
smoothA pointer to the relevant tExpSmooth.

◆ tExpSmooth_setValAndDest()

void tExpSmooth_setValAndDest ( tExpSmooth *const  expsmooth,
float  val 
)
Parameters
smoothA pointer to the relevant tExpSmooth.