Functions
tAllpassDelay

Allpass-interpolating delay, reimplemented from STK (Cook and Scavone). More...

Functions

void tAllpassDelay_init (tAllpassDelay *const, float delay, uint32_t maxDelay, LEAF *const leaf)
 Initialize a tAllpassDelay to the default mempool of a LEAF instance. More...
 
void tAllpassDelay_initToPool (tAllpassDelay *const, float delay, uint32_t maxDelay, tMempool *const)
 Initialize a tAllpassDelay to a specified mempool. More...
 
void tAllpassDelay_free (tAllpassDelay *const)
 Free a tAllpassDelay from its mempool. More...
 
void tAllpassDelay_clear (tAllpassDelay *const)
 
void tAllpassDelay_setDelay (tAllpassDelay *const, float delay)
 
float tAllpassDelay_getDelay (tAllpassDelay *const)
 
void tAllpassDelay_tapIn (tAllpassDelay *const, float in, uint32_t tapDelay)
 
float tAllpassDelay_tapOut (tAllpassDelay *const, uint32_t tapDelay)
 
float tAllpassDelay_addTo (tAllpassDelay *const, float value, uint32_t tapDelay)
 
float tAllpassDelay_tick (tAllpassDelay *const, float sample)
 
float tAllpassDelay_getLastOut (tAllpassDelay *const)
 
float tAllpassDelay_getLastIn (tAllpassDelay *const)
 

Detailed Description

Allpass-interpolating delay, reimplemented from STK (Cook and Scavone).

Function Documentation

◆ tAllpassDelay_init()

void tAllpassDelay_init ( tAllpassDelay * const  ,
float  delay,
uint32_t  maxDelay,
LEAF *const  leaf 
)

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

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

◆ tAllpassDelay_initToPool()

void tAllpassDelay_initToPool ( tAllpassDelay * const  ,
float  delay,
uint32_t  maxDelay,
tMempool * const   
)

Initialize a tAllpassDelay to a specified mempool.

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

◆ tAllpassDelay_free()

void tAllpassDelay_free ( tAllpassDelay * const  )

Free a tAllpassDelay from its mempool.

Parameters
delayA pointer to the tAllpassDelay to free.

◆ tAllpassDelay_clear()

void tAllpassDelay_clear ( tAllpassDelay * const  )
Parameters
delayA pointer to the relevant tAllpassDelay.

◆ tAllpassDelay_setDelay()

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

◆ tAllpassDelay_getDelay()

float tAllpassDelay_getDelay ( tAllpassDelay * const  )
Parameters
delayA pointer to the relevant tAllpassDelay.
Returns
The current delay length in samples.

◆ tAllpassDelay_tapIn()

void tAllpassDelay_tapIn ( tAllpassDelay * const  ,
float  in,
uint32_t  tapDelay 
)
Parameters
delayA pointer to the relevant tAllpassDelay.
inptu
position

◆ tAllpassDelay_tapOut()

float tAllpassDelay_tapOut ( tAllpassDelay * const  ,
uint32_t  tapDelay 
)
Parameters
delayA pointer to the relevant tAllpassDelay.
position
Returns

◆ tAllpassDelay_addTo()

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

◆ tAllpassDelay_tick()

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

◆ tAllpassDelay_getLastOut()

float tAllpassDelay_getLastOut ( tAllpassDelay * const  )
Parameters
delayA pointer to the relevant tAllpassDelay.
Returns

◆ tAllpassDelay_getLastIn()

float tAllpassDelay_getLastIn ( tAllpassDelay * const  )
Parameters
delayA pointer to the relevant tAllpassDelay.
Returns