Functions
tHermiteDelay

Hermite-interpolating delay, created by adapting STK linear delay with Hermite interpolation. More...

Functions

void tHermiteDelay_init (tHermiteDelay *const dl, float delay, uint32_t maxDelay, LEAF *const leaf)
 Initialize a tHermiteDelay to the default mempool of a LEAF instance. More...
 
void tHermiteDelay_initToPool (tHermiteDelay *const dl, float delay, uint32_t maxDelay, tMempool *const mp)
 Initialize a tHermiteDelay to a specified mempool. More...
 
void tHermiteDelay_free (tHermiteDelay *const dl)
 Free a tHermiteDelay from its mempool. More...
 
void tHermiteDelay_clear (tHermiteDelay *const dl)
 
float tHermiteDelay_tick (tHermiteDelay *const dl, float input)
 
void tHermiteDelay_tickIn (tHermiteDelay *const dl, float input)
 
float tHermiteDelay_tickOut (tHermiteDelay *const dl)
 
void tHermiteDelay_setDelay (tHermiteDelay *const dl, float delay)
 
float tHermiteDelay_tapOut (tHermiteDelay *const dl, uint32_t tapDelay)
 
void tHermiteDelay_tapIn (tHermiteDelay *const dl, float value, uint32_t tapDelay)
 
float tHermiteDelay_addTo (tHermiteDelay *const dl, float value, uint32_t tapDelay)
 
float tHermiteDelay_getDelay (tHermiteDelay *const dl)
 
float tHermiteDelay_getLastOut (tHermiteDelay *const dl)
 
float tHermiteDelay_getLastIn (tHermiteDelay *const dl)
 
void tHermiteDelay_setGain (tHermiteDelay *const dl, float gain)
 
float tHermiteDelay_getGain (tHermiteDelay *const dl)
 

Detailed Description

Hermite-interpolating delay, created by adapting STK linear delay with Hermite interpolation.

Function Documentation

◆ tHermiteDelay_init()

void tHermiteDelay_init ( tHermiteDelay *const  dl,
float  delay,
uint32_t  maxDelay,
LEAF *const  leaf 
)

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

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

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

◆ tHermiteDelay_initToPool()

void tHermiteDelay_initToPool ( tHermiteDelay *const  dl,
float  delay,
uint32_t  maxDelay,
tMempool *const  mp 
)

Initialize a tHermiteDelay to a specified mempool.

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

◆ tHermiteDelay_free()

void tHermiteDelay_free ( tHermiteDelay *const  dl)

Free a tHermiteDelay from its mempool.

Parameters
delayA pointer to the tHermiteDelay to free.

◆ tHermiteDelay_clear()

void tHermiteDelay_clear ( tHermiteDelay *const  dl)
Parameters
delayA pointer to the relevant tHermiteDelay.

◆ tHermiteDelay_tick()

float tHermiteDelay_tick ( tHermiteDelay *const  dl,
float  input 
)
Parameters
delayA pointer to the relevant tHermiteDelay.
input
Returns

◆ tHermiteDelay_tickIn()

void tHermiteDelay_tickIn ( tHermiteDelay *const  dl,
float  input 
)
Parameters
delayA pointer to the relevant tHermiteDelay.
input

◆ tHermiteDelay_tickOut()

float tHermiteDelay_tickOut ( tHermiteDelay *const  dl)
Parameters
delayA pointer to the relevant tHermiteDelay.
Returns

◆ tHermiteDelay_setDelay()

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

◆ tHermiteDelay_tapOut()

float tHermiteDelay_tapOut ( tHermiteDelay *const  dl,
uint32_t  tapDelay 
)
Parameters
delayA pointer to the relevant tHermiteDelay.
position
Returns

◆ tHermiteDelay_tapIn()

void tHermiteDelay_tapIn ( tHermiteDelay *const  dl,
float  value,
uint32_t  tapDelay 
)
Parameters
delayA pointer to the relevant tHermiteDelay.
input
position

◆ tHermiteDelay_addTo()

float tHermiteDelay_addTo ( tHermiteDelay *const  dl,
float  value,
uint32_t  tapDelay 
)
Parameters
delayA pointer to the relevant tHermiteDelay.
input
position
Returns

◆ tHermiteDelay_getDelay()

float tHermiteDelay_getDelay ( tHermiteDelay *const  dl)
Parameters
delayA pointer to the relevant tHermiteDelay.
Returns

◆ tHermiteDelay_getLastOut()

float tHermiteDelay_getLastOut ( tHermiteDelay *const  dl)
Parameters
delayA pointer to the relevant tHermiteDelay.
Returns

◆ tHermiteDelay_getLastIn()

float tHermiteDelay_getLastIn ( tHermiteDelay *const  dl)
Parameters
delayA pointer to the relevant tHermiteDelay.
Returns

◆ tHermiteDelay_setGain()

void tHermiteDelay_setGain ( tHermiteDelay *const  dl,
float  gain 
)
Parameters
delayA pointer to the relevant tHermiteDelay.
gain

◆ tHermiteDelay_getGain()

float tHermiteDelay_getGain ( tHermiteDelay *const  dl)
Parameters
delayA pointer to the relevant tHermiteDelay.
Returns