diff dsp/mfcc/MFCC.cpp @ 114:f6ccde089491 pvoc

Tidy real-to-complex FFT -- forward and inverse have different arguments, so make them separate functions; document
author Chris Cannam
date Wed, 02 Oct 2013 15:04:38 +0100
parents e5907ae6de17
children
line wrap: on
line diff
--- a/dsp/mfcc/MFCC.cpp	Tue Oct 01 15:38:56 2013 +0100
+++ b/dsp/mfcc/MFCC.cpp	Wed Oct 02 15:04:38 2013 +0100
@@ -210,7 +210,7 @@
     window->cut(inputData);
   
     /* Calculate the fft on the input frame */
-    fft->process(0, inputData, realOut, imagOut);
+    fft->forward(inputData, realOut, imagOut);
 
     free(inputData);