33 #ifndef _AUBIO_TEMPO_H
34 #define _AUBIO_TEMPO_H
uint_t aubio_tempo_set_silence(aubio_tempo_t *o, smpl_t silence)
set tempo detection silence threshold
void del_aubio_tempo(aubio_tempo_t *o)
delete tempo detection object
float smpl_t
short sample format (32 or 64 bits)
smpl_t aubio_tempo_get_bpm(aubio_tempo_t *o)
get current tempo
smpl_t aubio_tempo_get_last_s(aubio_tempo_t *o)
get the time of the latest beat detected, in seconds
uint_t aubio_tempo_get_last(aubio_tempo_t *o)
get the time of the latest beat detected, in samples
unsigned int uint_t
unsigned integer
void aubio_tempo_do(aubio_tempo_t *o, fvec_t *input, fvec_t *tempo)
execute tempo detection
smpl_t aubio_tempo_get_last_ms(aubio_tempo_t *o)
get the time of the latest beat detected, in milliseconds
smpl_t aubio_tempo_get_confidence(aubio_tempo_t *o)
get current tempo confidence
uint_t aubio_tempo_set_threshold(aubio_tempo_t *o, smpl_t threshold)
set tempo detection peak picking threshold
struct _aubio_tempo_t aubio_tempo_t
tempo detection structure
aubio_tempo_t * new_aubio_tempo(char_t *method, uint_t buf_size, uint_t hop_size, uint_t samplerate)
create tempo detection object