Functions
tCrusher

Bit depth and sampler rate degrader. More...

Functions

void tCrusher_init (tCrusher *const, LEAF *const leaf)
 Initialize a tCrusher to the default mempool of a LEAF instance. More...
 
void tCrusher_initToPool (tCrusher *const, tMempool *const)
 Initialize a tCrusher to a specified mempool. More...
 
void tCrusher_free (tCrusher *const)
 Free a tCrusher from its mempool. More...
 
float tCrusher_tick (tCrusher *const, float input)
 
void tCrusher_setOperation (tCrusher *const, float op)
 
void tCrusher_setQuality (tCrusher *const, float val)
 
void tCrusher_setRound (tCrusher *const, float rnd)
 
void tCrusher_setSamplingRatio (tCrusher *const, float ratio)
 

Detailed Description

Bit depth and sampler rate degrader.

Function Documentation

◆ tCrusher_init()

void tCrusher_init ( tCrusher * const  ,
LEAF *const  leaf 
)

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

Parameters
crusherA pointer to the tCrusher to initialize.
leafA pointer to the leaf instance.f

◆ tCrusher_initToPool()

void tCrusher_initToPool ( tCrusher * const  ,
tMempool * const   
)

Initialize a tCrusher to a specified mempool.

Parameters
crusherA pointer to the tCrusher to initialize.
mempoolA pointer to the tMempool to use.

◆ tCrusher_free()

void tCrusher_free ( tCrusher * const  )

Free a tCrusher from its mempool.

Parameters
crusherA pointer to the tCrusher to free.

◆ tCrusher_tick()

float tCrusher_tick ( tCrusher * const  ,
float  input 
)
Parameters
crusherA pointer to the relevant tCrusher.

◆ tCrusher_setOperation()

void tCrusher_setOperation ( tCrusher * const  ,
float  op 
)
Parameters
crusherA pointer to the relevant tCrusher.
operation0.0 - 1.0

◆ tCrusher_setQuality()

void tCrusher_setQuality ( tCrusher * const  ,
float  val 
)
Parameters
crusherA pointer to the relevant tCrusher.
quality0.0 - 1.0

◆ tCrusher_setRound()

void tCrusher_setRound ( tCrusher * const  ,
float  rnd 
)
Parameters
crusherA pointer to the relevant tCrusher.
whatdivision to round to

◆ tCrusher_setSamplingRatio()

void tCrusher_setSamplingRatio ( tCrusher * const  ,
float  ratio 
)
Parameters
crusherA pointer to the relevant tCrusher.
samplingratio