MFCC - 13 Coefficients

Phorce picture Phorce · Dec 11, 2012 · Viewed 10.4k times · Source

I'm trying to compute a MFCC algorithm based upon this paper I found (http://arxiv.org/pdf/1003.4083.pdf) so what I have done so far is:

step 1) Pre–emphasis

step 2) Framing

step 3) Hamming windowing

step 4) Fast Fourier Transform

step 5) Mel Filter Bank Processing

step 6) : Discrete Cosine Transform

Basically, I took the Mel Bank filters and multiplied them the actual raw signal. I then performed the FFT on these results this looks like this:

FFT on Frame 1:

enter image description here

And then I computed the DCT of the FFT, which results look like this:

DCT on Frame 1:

enter image description here

Does this look correct so far? Is there even a way for me to check this, so that I know that I am going in the right direction?

Also, I need to get 13 Coefficients but I do not know how to determine which of these to get. I get 256 values, so do I take the first 13 of them? Or, do I get the total energy?

I hope someone can help me.

Answer

Ioanna picture Ioanna · Mar 13, 2013

After days of search for something similar, I stumbled upon a very usefull tutorial of how to get the MFC Coeficients: Mel Frequency Cepstral Coefficient (MFCC) tutorial

(although the thread is old, I hope the answer might help future readers)