Functions

Value ramp. More...

Functions

void tRamp_init (tRamp *const, float time, int samplesPerTick, LEAF *const leaf)
 Initialize a tRamp to the default mempool of a LEAF instance. More...
 
void tRamp_initToPool (tRamp *const, float time, int samplesPerTick, tMempool *const)
 Initialize a tRamp to a specified mempool. More...
 
void tRamp_free (tRamp *const)
 Free a tRamp from its mempool. More...
 
float tRamp_tick (tRamp *const)
 
float tRamp_sample (tRamp *const)
 
void tRamp_setTime (tRamp *const, float time)
 
void tRamp_setDest (tRamp *const, float dest)
 
void tRamp_setVal (tRamp *const, float val)
 

Detailed Description

Value ramp.

Function Documentation

◆ tRamp_init()

void tRamp_init ( tRamp * const  ,
float  time,
int  samplesPerTick,
LEAF *const  leaf 
)

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

Parameters
rampA pointer to the tRamp to initialize.
leafA pointer to the leaf instance.

◆ tRamp_initToPool()

void tRamp_initToPool ( tRamp * const  ,
float  time,
int  samplesPerTick,
tMempool * const   
)

Initialize a tRamp to a specified mempool.

Parameters
rampA pointer to the tRamp to initialize.
mempoolA pointer to the tMempool to use.

◆ tRamp_free()

void tRamp_free ( tRamp * const  )

Free a tRamp from its mempool.

Parameters
rampA pointer to the tRamp to free.

◆ tRamp_tick()

float tRamp_tick ( tRamp * const  )
Parameters
rampA pointer to the relevant tRamp.

◆ tRamp_sample()

float tRamp_sample ( tRamp * const  )
Parameters
rampA pointer to the relevant tRamp.

◆ tRamp_setTime()

void tRamp_setTime ( tRamp * const  ,
float  time 
)
Parameters
rampA pointer to the relevant tRamp.

◆ tRamp_setDest()

void tRamp_setDest ( tRamp * const  ,
float  dest 
)
Parameters
rampA pointer to the relevant tRamp.

◆ tRamp_setVal()

void tRamp_setVal ( tRamp * const  ,
float  val 
)
Parameters
rampA pointer to the relevant tRamp.