Mercurial > hg > vamp-aubio-plugins
diff plugins/Tempo.h @ 30:7fd8f7a0b088
Start overhaul for (current git, presumably later v0.4.0) aubio API
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 09 Jul 2012 15:10:35 +0100 |
parents | 1169d00391d8 |
children | 8a20f3488d88 |
line wrap: on
line diff
--- a/plugins/Tempo.h Wed Jul 04 10:26:11 2012 +0000 +++ b/plugins/Tempo.h Mon Jul 09 15:10:35 2012 +0100 @@ -20,6 +20,8 @@ #include <vamp-sdk/Plugin.h> #include <aubio/aubio.h> +#include "Types.h" + class Tempo : public Vamp::Plugin { public: @@ -56,10 +58,10 @@ cvec_t *m_fftgrain; fvec_t *m_onset; aubio_pvoc_t *m_pv; - aubio_pickpeak_t *m_peakpick; - aubio_onsetdetection_t *m_onsetdet; - aubio_onsetdetection_type m_onsettype; - aubio_beattracking_t *m_beattracking; + aubio_peakpicker_t *m_peakpick; + aubio_onset_t *m_onsetdet; + OnsetType m_onsettype; + aubio_tempo_t *m_tempo; fvec_t *m_dfframe; fvec_t *m_btout; uint_t m_winlen;