Functions
tLivingString

String model. More...

Functions

void tLivingString_init (tLivingString *const, float freq, float pickPos, float prepIndex, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, LEAF *const leaf)
 Initialize a tLivingString to the default mempool of a LEAF instance. More...
 
void tLivingString_initToPool (tLivingString *const, float freq, float pickPos, float prepIndex, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, tMempool *const)
 Initialize a tLivingString to a specified mempool. More...
 
void tLivingString_free (tLivingString *const)
 Free a tLivingString from its mempool. More...
 
float tLivingString_tick (tLivingString *const, float input)
 
float tLivingString_sample (tLivingString *const)
 
void tLivingString_setFreq (tLivingString *const, float freq)
 
void tLivingString_setWaveLength (tLivingString *const, float waveLength)
 
void tLivingString_setPickPos (tLivingString *const, float pickPos)
 
void tLivingString_setPrepIndex (tLivingString *const, float prepIndex)
 
void tLivingString_setDampFreq (tLivingString *const, float dampFreq)
 
void tLivingString_setDecay (tLivingString *const, float decay)
 
void tLivingString_setTargetLev (tLivingString *const, float targetLev)
 
void tLivingString_setLevSmoothFactor (tLivingString *const, float levSmoothFactor)
 
void tLivingString_setLevStrength (tLivingString *const, float levStrength)
 
void tLivingString_setLevMode (tLivingString *const, int levMode)
 

Detailed Description

String model.

Function Documentation

◆ tLivingString_init()

void tLivingString_init ( tLivingString * const  ,
float  freq,
float  pickPos,
float  prepIndex,
float  dampFreq,
float  decay,
float  targetLev,
float  levSmoothFactor,
float  levStrength,
int  levMode,
LEAF *const  leaf 
)

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

Parameters
stringA pointer to the tLivingString to initialize.
leafA pointer to the leaf instance.

◆ tLivingString_initToPool()

void tLivingString_initToPool ( tLivingString * const  ,
float  freq,
float  pickPos,
float  prepIndex,
float  dampFreq,
float  decay,
float  targetLev,
float  levSmoothFactor,
float  levStrength,
int  levMode,
tMempool * const   
)

Initialize a tLivingString to a specified mempool.

Parameters
stringA pointer to the tLivingString to initialize.
mempoolA pointer to the tMempool to use.

◆ tLivingString_free()

void tLivingString_free ( tLivingString * const  )

Free a tLivingString from its mempool.

Parameters
stringA pointer to the tLivingString to free.

◆ tLivingString_tick()

float tLivingString_tick ( tLivingString * const  ,
float  input 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_sample()

float tLivingString_sample ( tLivingString * const  )
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setFreq()

void tLivingString_setFreq ( tLivingString * const  ,
float  freq 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setWaveLength()

void tLivingString_setWaveLength ( tLivingString * const  ,
float  waveLength 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setPickPos()

void tLivingString_setPickPos ( tLivingString * const  ,
float  pickPos 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setPrepIndex()

void tLivingString_setPrepIndex ( tLivingString * const  ,
float  prepIndex 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setDampFreq()

void tLivingString_setDampFreq ( tLivingString * const  ,
float  dampFreq 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setDecay()

void tLivingString_setDecay ( tLivingString * const  ,
float  decay 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setTargetLev()

void tLivingString_setTargetLev ( tLivingString * const  ,
float  targetLev 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setLevSmoothFactor()

void tLivingString_setLevSmoothFactor ( tLivingString * const  ,
float  levSmoothFactor 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setLevStrength()

void tLivingString_setLevStrength ( tLivingString * const  ,
float  levStrength 
)
Parameters
stringA pointer to the relevant tLivingString.

◆ tLivingString_setLevMode()

void tLivingString_setLevMode ( tLivingString * const  ,
int  levMode 
)
Parameters
stringA pointer to the relevant tLivingString.