aubio  0.3.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
beattracking.h File Reference

Beat tracking using a context dependant model. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct
_aubio_beattracking_t 
aubio_beattracking_t
 beat tracking object

Functions

aubio_beattracking_tnew_aubio_beattracking (uint_t winlen, uint_t channels)
 create beat tracking object
void aubio_beattracking_do (aubio_beattracking_t *bt, fvec_t *dfframes, fvec_t *out)
 track the beat
void del_aubio_beattracking (aubio_beattracking_t *p)
 delete beat tracking object

Detailed Description

Beat tracking using a context dependant model.

This file implement the causal beat tracking algorithm designed by Matthew Davies and described in the following articles:

Matthew E. P. Davies and Mark D. Plumbley. Causal tempo tracking of audio. In Proceedings of the International Symposium on Music Information Retrieval (ISMIR), pages 164­169, Barcelona, Spain, 2004.

Matthew E. P. Davies, Paul Brossier, and Mark D. Plumbley. Beat tracking towards automatic musical accompaniment. In Proceedings of the Audio Engeeniring Society 118th Convention, Barcelona, Spain, May 2005.

Function Documentation

void aubio_beattracking_do ( aubio_beattracking_t bt,
fvec_t dfframes,
fvec_t out 
)

track the beat

Parameters
btbeat tracking object
dfframescurrent input detection function frame, smoothed by adaptive median threshold.
outstored detected beat locations
void del_aubio_beattracking ( aubio_beattracking_t p)

delete beat tracking object

Parameters
pbeat tracking object
aubio_beattracking_t* new_aubio_beattracking ( uint_t  winlen,
uint_t  channels 
)

create beat tracking object

Parameters
winlen,:frame size [512]
channelsnumber (not functionnal) [1]