Automatic sampler based on power of input.
More...
Automatic sampler based on power of input.
◆ tAutoSampler_init()
void tAutoSampler_init |
( |
tAutoSampler * const |
, |
|
|
tBuffer * const |
, |
|
|
LEAF *const |
leaf |
|
) |
| |
Initialize a tAutoSampler to the default mempool of a LEAF instance.
- Parameters
-
sampler | A pointer to the tAutoSampler to initialize. |
leaf | A pointer to the leaf instance. |
◆ tAutoSampler_free()
void tAutoSampler_free |
( |
tAutoSampler * const |
| ) |
|
Free a tAutoSampler from its mempool.
- Parameters
-
sampler | A pointer to the tAutoSampler to free. |
◆ tAutoSampler_tick()
float tAutoSampler_tick |
( |
tAutoSampler * const |
, |
|
|
float |
input |
|
) |
| |
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_setBuffer()
void tAutoSampler_setBuffer |
( |
tAutoSampler * const |
, |
|
|
tBuffer * const |
|
|
) |
| |
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_setMode()
void tAutoSampler_setMode |
( |
tAutoSampler * const |
, |
|
|
PlayMode |
mode |
|
) |
| |
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_play()
void tAutoSampler_play |
( |
tAutoSampler * const |
| ) |
|
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_stop()
void tAutoSampler_stop |
( |
tAutoSampler * const |
| ) |
|
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_setThreshold()
void tAutoSampler_setThreshold |
( |
tAutoSampler * const |
, |
|
|
float |
thresh |
|
) |
| |
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_setWindowSize()
void tAutoSampler_setWindowSize |
( |
tAutoSampler * const |
, |
|
|
uint32_t |
size |
|
) |
| |
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_setCrossfadeLength()
void tAutoSampler_setCrossfadeLength |
( |
tAutoSampler * const |
, |
|
|
uint32_t |
length |
|
) |
| |
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |
◆ tAutoSampler_setRate()
void tAutoSampler_setRate |
( |
tAutoSampler * const |
, |
|
|
float |
rate |
|
) |
| |
- Parameters
-
sampler | A pointer to the relevant tAutoSampler. |