Mercurial > hg > qm-dsp
diff dsp/tempotracking/DownBeat.h @ 289:befe5aa6b450
* Refactor FFT a little bit so as to separate construction and processing
rather than have a single static method -- will make it easier to use a
different implementation
* pull in KissFFT implementation (not hooked up yet)
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 13 May 2009 09:19:12 +0000 |
parents | 33e03341d541 |
children | e5907ae6de17 |
line wrap: on
line diff
--- a/dsp/tempotracking/DownBeat.h Tue May 12 21:04:25 2009 +0000 +++ b/dsp/tempotracking/DownBeat.h Wed May 13 09:19:12 2009 +0000 @@ -17,6 +17,8 @@ using std::vector; +class FFTReal; + /** * This class takes an input audio signal and a sequence of beat * locations (calculated e.g. by TempoTrackV2) and estimates which of @@ -119,6 +121,7 @@ size_t m_buffill; size_t m_beatframesize; double *m_beatframe; + FFTReal *m_fft; double *m_fftRealOut; double *m_fftImagOut; d_vec_t m_beatsd;