Mercurial > hg > qm-dsp
comparison dsp/mfcc/MFCC.cpp @ 347:e3dedded9c4d
Merge from pvoc branch
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 04 Oct 2013 16:43:44 +0100 |
parents | 9c8ee77db9de |
children | cbe668c7d724 |
comparison
equal
deleted
inserted
replaced
336:f665f9ce2fd1 | 347:e3dedded9c4d |
---|---|
208 for (int i = 0; i < fftSize; ++i) inputData[i] = inframe[i]; | 208 for (int i = 0; i < fftSize; ++i) inputData[i] = inframe[i]; |
209 | 209 |
210 window->cut(inputData); | 210 window->cut(inputData); |
211 | 211 |
212 /* Calculate the fft on the input frame */ | 212 /* Calculate the fft on the input frame */ |
213 fft->process(0, inputData, realOut, imagOut); | 213 fft->forward(inputData, realOut, imagOut); |
214 | 214 |
215 free(inputData); | 215 free(inputData); |
216 | 216 |
217 return process(realOut, imagOut, outceps); | 217 return process(realOut, imagOut, outceps); |
218 } | 218 } |