Functions
tTapeDelay

Linear interpolating delay with fixed read and write pointers, variable rate. More...

Functions

void tTapeDelay_init (tTapeDelay *const, float delay, uint32_t maxDelay, LEAF *const leaf)
 Initialize a tTapeDelay to the default mempool of a LEAF instance. More...
 
void tTapeDelay_initToPool (tTapeDelay *const, float delay, uint32_t maxDelay, tMempool *const)
 Initialize a tTapeDelay to a specified mempool. More...
 
void tTapeDelay_free (tTapeDelay *const)
 Free a tTapeDelay from its mempool. More...
 
void tTapeDelay_clear (tTapeDelay *const)
 
void tTapeDelay_setDelay (tTapeDelay *const, float delay)
 
float tTapeDelay_getDelay (tTapeDelay *const)
 
void tTapeDelay_tapIn (tTapeDelay *const, float in, uint32_t tapDelay)
 
float tTapeDelay_tapOut (tTapeDelay *const d, float tapDelay)
 
float tTapeDelay_addTo (tTapeDelay *const, float value, uint32_t tapDelay)
 
float tTapeDelay_tick (tTapeDelay *const, float sample)
 
void tTapeDelay_incrementInPoint (tTapeDelay *const dl)
 
float tTapeDelay_getLastOut (tTapeDelay *const)
 
float tTapeDelay_getLastIn (tTapeDelay *const)
 

Detailed Description

Linear interpolating delay with fixed read and write pointers, variable rate.

Function Documentation

◆ tTapeDelay_init()

void tTapeDelay_init ( tTapeDelay * const  ,
float  delay,
uint32_t  maxDelay,
LEAF *const  leaf 
)

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

Parameters
delayA pointer to the tTapeDelay to initialize.
initialLength
maxLength
leafA pointer to the leaf instance.

◆ tTapeDelay_initToPool()

void tTapeDelay_initToPool ( tTapeDelay * const  ,
float  delay,
uint32_t  maxDelay,
tMempool * const   
)

Initialize a tTapeDelay to a specified mempool.

Parameters
delayA pointer to the tTapeDelay to initialize.
initialLength
maxLength
mempoolA pointer to the tMempool to use.

◆ tTapeDelay_free()

void tTapeDelay_free ( tTapeDelay * const  )

Free a tTapeDelay from its mempool.

Parameters
delayA pointer to the tTapeDelay to free.

◆ tTapeDelay_clear()

void tTapeDelay_clear ( tTapeDelay * const  )
Parameters
delayA pointer to the relevant tTapeDelay.

◆ tTapeDelay_setDelay()

void tTapeDelay_setDelay ( tTapeDelay * const  ,
float  delay 
)
Parameters
delayA pointer to the relevant tTapeDelay.
delayLengthThe new delay length in samples. Cannot be greater than the max delay length given on initialization.

◆ tTapeDelay_getDelay()

float tTapeDelay_getDelay ( tTapeDelay * const  )
Parameters
delayA pointer to the relevant tTapeDelay.
Returns

◆ tTapeDelay_tapIn()

void tTapeDelay_tapIn ( tTapeDelay * const  ,
float  in,
uint32_t  tapDelay 
)
Parameters
delayA pointer to the relevant tTapeDelay.
input
position

◆ tTapeDelay_tapOut()

float tTapeDelay_tapOut ( tTapeDelay *const  d,
float  tapDelay 
)
Parameters
delayA pointer to the relevant tTapeDelay.
position
Returns

◆ tTapeDelay_addTo()

float tTapeDelay_addTo ( tTapeDelay * const  ,
float  value,
uint32_t  tapDelay 
)
Parameters
delayA pointer to the relevant tTapeDelay.
input
position
Returns

◆ tTapeDelay_tick()

float tTapeDelay_tick ( tTapeDelay * const  ,
float  sample 
)
Parameters
delayA pointer to the relevant tTapeDelay.
input
Returns

◆ tTapeDelay_incrementInPoint()

void tTapeDelay_incrementInPoint ( tTapeDelay *const  dl)
Parameters
delayA pointer to the relevant tTapeDelay.

◆ tTapeDelay_getLastOut()

float tTapeDelay_getLastOut ( tTapeDelay * const  )
Parameters
delayA pointer to the relevant tTapeDelay.
Returns

◆ tTapeDelay_getLastIn()

float tTapeDelay_getLastIn ( tTapeDelay * const  )
Parameters
delayA pointer to the relevant tTapeDelay.
Returns