Functions
tSimpleLivingString

Simplified string model. More...

Functions

void tSimpleLivingString_init (tSimpleLivingString *const, float freq, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, LEAF *const leaf)
 Initialize a tSimpleLivingString to the default mempool of a LEAF instance. More...
 
void tSimpleLivingString_initToPool (tSimpleLivingString *const, float freq, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, tMempool *const)
 Initialize a tSimpleLivingString to a specified mempool. More...
 
void tSimpleLivingString_free (tSimpleLivingString *const)
 Free a tSimpleLivingString from its mempool. More...
 
float tSimpleLivingString_tick (tSimpleLivingString *const, float input)
 
float tSimpleLivingString_sample (tSimpleLivingString *const)
 
void tSimpleLivingString_setFreq (tSimpleLivingString *const, float freq)
 
void tSimpleLivingString_setWaveLength (tSimpleLivingString *const, float waveLength)
 
void tSimpleLivingString_setDampFreq (tSimpleLivingString *const, float dampFreq)
 
void tSimpleLivingString_setDecay (tSimpleLivingString *const, float decay)
 
void tSimpleLivingString_setTargetLev (tSimpleLivingString *const, float targetLev)
 
void tSimpleLivingString_setLevSmoothFactor (tSimpleLivingString *const, float levSmoothFactor)
 
void tSimpleLivingString_setLevStrength (tSimpleLivingString *const, float levStrength)
 
void tSimpleLivingString_setLevMode (tSimpleLivingString *const, int levMode)
 

Detailed Description

Simplified string model.

Function Documentation

◆ tSimpleLivingString_init()

void tSimpleLivingString_init ( tSimpleLivingString * const  ,
float  freq,
float  dampFreq,
float  decay,
float  targetLev,
float  levSmoothFactor,
float  levStrength,
int  levMode,
LEAF *const  leaf 
)

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

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

◆ tSimpleLivingString_initToPool()

void tSimpleLivingString_initToPool ( tSimpleLivingString * const  ,
float  freq,
float  dampFreq,
float  decay,
float  targetLev,
float  levSmoothFactor,
float  levStrength,
int  levMode,
tMempool * const   
)

Initialize a tSimpleLivingString to a specified mempool.

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

◆ tSimpleLivingString_free()

void tSimpleLivingString_free ( tSimpleLivingString * const  )

Free a tSimpleLivingString from its mempool.

Parameters
stringA pointer to the tSimpleLivingString to free.

◆ tSimpleLivingString_tick()

float tSimpleLivingString_tick ( tSimpleLivingString * const  ,
float  input 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_sample()

float tSimpleLivingString_sample ( tSimpleLivingString * const  )
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setFreq()

void tSimpleLivingString_setFreq ( tSimpleLivingString * const  ,
float  freq 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setWaveLength()

void tSimpleLivingString_setWaveLength ( tSimpleLivingString * const  ,
float  waveLength 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setDampFreq()

void tSimpleLivingString_setDampFreq ( tSimpleLivingString * const  ,
float  dampFreq 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setDecay()

void tSimpleLivingString_setDecay ( tSimpleLivingString * const  ,
float  decay 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setTargetLev()

void tSimpleLivingString_setTargetLev ( tSimpleLivingString * const  ,
float  targetLev 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setLevSmoothFactor()

void tSimpleLivingString_setLevSmoothFactor ( tSimpleLivingString * const  ,
float  levSmoothFactor 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setLevStrength()

void tSimpleLivingString_setLevStrength ( tSimpleLivingString * const  ,
float  levStrength 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.

◆ tSimpleLivingString_setLevMode()

void tSimpleLivingString_setLevMode ( tSimpleLivingString * const  ,
int  levMode 
)
Parameters
stringA pointer to the relevant tSimpleLivingString.