21 #ifndef _AUBIO_SAMPLER_H
22 #define _AUBIO_SAMPLER_H
struct _aubio_sampler_t aubio_sampler_t
sampler object
uint_t aubio_sampler_load(aubio_sampler_t *o, char_t *uri)
load source in sampler
aubio_sampler_t * new_aubio_sampler(uint_t samplerate, uint_t hop_size)
create new sampler object
uint_t aubio_sampler_stop(aubio_sampler_t *o)
stop sample
uint_t aubio_sampler_set_playing(aubio_sampler_t *o, uint_t playing)
set current playing state
uint_t aubio_sampler_get_playing(aubio_sampler_t *o)
get current playing state
void aubio_sampler_do(aubio_sampler_t *o, fvec_t *input, fvec_t *output)
process sampler function
void aubio_sampler_do_multi(aubio_sampler_t *o, fmat_t *input, fmat_t *output)
process sampler function, multiple channels
unsigned int uint_t
unsigned integer
uint_t aubio_sampler_play(aubio_sampler_t *o)
play sample from start
void del_aubio_sampler(aubio_sampler_t *o)
destroy aubio_sampler_t object