Mercurial > hg > vamp-aubio-plugins
diff plugins/Onset.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/Onset.h Wed Jul 04 10:26:11 2012 +0000 +++ b/plugins/Onset.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 Onset : public Vamp::Plugin { public: @@ -57,9 +59,9 @@ 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_peakpicker_t *m_peakpick; + aubio_specdesc_t *m_onsetdet; + OnsetType m_onsettype; float m_threshold; float m_silence; size_t m_stepSize;