Mercurial > hg > qm-dsp
diff dsp/mfcc/MFCC.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 | 9619d6995b73 |
children | e5907ae6de17 |
line wrap: on
line diff
--- a/dsp/mfcc/MFCC.h Tue May 12 21:04:25 2009 +0000 +++ b/dsp/mfcc/MFCC.h Wed May 13 09:19:12 2009 +0000 @@ -13,6 +13,8 @@ #include "base/Window.h" +class FFTReal; + struct MFCCConfig { int FS; int fftsize; @@ -76,11 +78,11 @@ Window<double> *window; /* For the FFT */ - double *imagIn; // always zero double *realOut; double *imagOut; double *fftMag; double *earMag; + FFTReal *fft; /* Set if user want C0 */ int WANT_C0;