Functions
tRampUpDown

Value ramp with variable rate depending on direction. More...

Functions

void tRampUpDown_init (tRampUpDown *const, float upTime, float downTime, int samplesPerTick, LEAF *const leaf)
 Initialize a tRampUpDown to the default mempool of a LEAF instance. More...
 
void tRampUpDown_initToPool (tRampUpDown *const, float upTime, float downTime, int samplesPerTick, tMempool *const)
 Initialize a tRampUpDown to a specified mempool. More...
 
void tRampUpDown_free (tRampUpDown *const)
 Free a tRampUpDown from its mempool. More...
 
float tRampUpDown_tick (tRampUpDown *const)
 
float tRampUpDown_sample (tRampUpDown *const)
 
void tRampUpDown_setUpTime (tRampUpDown *const, float upTime)
 
void tRampUpDown_setDownTime (tRampUpDown *const, float downTime)
 
void tRampUpDown_setDest (tRampUpDown *const, float dest)
 
void tRampUpDown_setVal (tRampUpDown *const, float val)
 

Detailed Description

Value ramp with variable rate depending on direction.

Function Documentation

◆ tRampUpDown_init()

void tRampUpDown_init ( tRampUpDown * const  ,
float  upTime,
float  downTime,
int  samplesPerTick,
LEAF *const  leaf 
)

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

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

◆ tRampUpDown_initToPool()

void tRampUpDown_initToPool ( tRampUpDown * const  ,
float  upTime,
float  downTime,
int  samplesPerTick,
tMempool * const   
)

Initialize a tRampUpDown to a specified mempool.

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

◆ tRampUpDown_free()

void tRampUpDown_free ( tRampUpDown * const  )

Free a tRampUpDown from its mempool.

Parameters
rampA pointer to the tRampUpDown to free.

◆ tRampUpDown_tick()

float tRampUpDown_tick ( tRampUpDown * const  )
Parameters
rampA pointer to the relevant tRampUpDown.

◆ tRampUpDown_sample()

float tRampUpDown_sample ( tRampUpDown * const  )
Parameters
rampA pointer to the relevant tRampUpDown.

◆ tRampUpDown_setUpTime()

void tRampUpDown_setUpTime ( tRampUpDown * const  ,
float  upTime 
)
Parameters
rampA pointer to the relevant tRampUpDown.

◆ tRampUpDown_setDownTime()

void tRampUpDown_setDownTime ( tRampUpDown * const  ,
float  downTime 
)
Parameters
rampA pointer to the relevant tRampUpDown.

◆ tRampUpDown_setDest()

void tRampUpDown_setDest ( tRampUpDown * const  ,
float  dest 
)
Parameters
rampA pointer to the relevant tRampUpDown.

◆ tRampUpDown_setVal()

void tRampUpDown_setVal ( tRampUpDown * const  ,
float  val 
)
Parameters
rampA pointer to the relevant tRampUpDown.