Mercurial > hg > qm-dsp
diff dsp/mfcc/MFCC.h @ 64:6cb2b3cd5356
* 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 | cannam |
---|---|
date | Wed, 13 May 2009 09:19:12 +0000 |
parents | 8bb764969d50 |
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;