Functions
tMBSampler

Loopable input sampler using minBLEP to remove discontinuities. More...

Functions

void tMBSampler_init (tMBSampler *const, tBuffer *const, LEAF *const leaf)
 Initialize a tMBSampler to the default mempool of a LEAF instance. More...
 
void tMBSampler_initToPool (tMBSampler *const, tBuffer *const, tMempool *const)
 Initialize a tMBSampler to a specified mempool. More...
 
void tMBSampler_free (tMBSampler *const)
 Free a tMBSampler from its mempool. More...
 
float tMBSampler_tick (tMBSampler *const)
 
void tMBSampler_setSample (tMBSampler *const, tBuffer *const)
 
void tMBSampler_setMode (tMBSampler *const, PlayMode mode)
 
void tMBSampler_play (tMBSampler *const)
 
void tMBSampler_stop (tMBSampler *const)
 
void tMBSampler_setStart (tMBSampler *const, int32_t start)
 
void tMBSampler_setEnd (tMBSampler *const, int32_t end)
 
void tMBSampler_setLength (tMBSampler *const, int32_t length)
 
void tMBSampler_setRate (tMBSampler *const, float rate)
 

Detailed Description

Loopable input sampler using minBLEP to remove discontinuities.

Function Documentation

◆ tMBSampler_init()

void tMBSampler_init ( tMBSampler * const  ,
tBuffer * const  ,
LEAF *const  leaf 
)

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

Parameters
samplerA pointer to the tMBSampler to initialize.
leafA pointer to the leaf instance.

◆ tMBSampler_initToPool()

void tMBSampler_initToPool ( tMBSampler * const  ,
tBuffer * const  ,
tMempool * const   
)

Initialize a tMBSampler to a specified mempool.

Parameters
samplerA pointer to the tMBSampler to initialize.
mempoolA pointer to the tMempool to use.

◆ tMBSampler_free()

void tMBSampler_free ( tMBSampler * const  )

Free a tMBSampler from its mempool.

Parameters
samplerA pointer to the tMBSampler to free.

◆ tMBSampler_tick()

float tMBSampler_tick ( tMBSampler * const  )
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_setSample()

void tMBSampler_setSample ( tMBSampler * const  ,
tBuffer * const   
)
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_setMode()

void tMBSampler_setMode ( tMBSampler * const  ,
PlayMode  mode 
)
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_play()

void tMBSampler_play ( tMBSampler * const  )
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_stop()

void tMBSampler_stop ( tMBSampler * const  )
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_setStart()

void tMBSampler_setStart ( tMBSampler * const  ,
int32_t  start 
)
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_setEnd()

void tMBSampler_setEnd ( tMBSampler * const  ,
int32_t  end 
)
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_setLength()

void tMBSampler_setLength ( tMBSampler * const  ,
int32_t  length 
)
Parameters
samplerA pointer to the relevant tMBSampler.

◆ tMBSampler_setRate()

void tMBSampler_setRate ( tMBSampler * const  ,
float  rate 
)
Parameters
samplerA pointer to the relevant tMBSampler.