Usage of MFCC method in MATLAB

Status
Not open for further replies.

septendesilyon

Newbie level 4
Joined
Jul 29, 2011
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,321
Hi,

I want to learn how can i use the MFCC with voice signal(.wav), Is anybody can write small code for it? Assume that I want to take mel frequency cepstral coefficients of example.wav.

First of all,

s = wavread('directory of example');

After that,

what should i write to get mel coefficients ?

Thanks a lot =)

by the way, I use the Malcolm Slaney's MFCC method for that which is:

mfcc - Mel frequency cepstrum coefficient analysis.
[ceps,freqresp,fb,fbrecon,freqrecon] = ...
mfcc(input, samplingRate, [frameRate])
Find the cepstral coefficients (ceps) corresponding to the
input. Four other quantities are optionally returned that
represent:
the detailed fft magnitude (freqresp) used in MFCC calculation,
the mel-scale filter bank output (fb)
the filter bank output by inverting the cepstrals with a cosine
transform (fbrecon),
the smooth frequency response by interpolating the fb reconstruction
(freqrecon)
-- Malcolm Slaney, August 1993
Modified a bit to make testing an algorithm easier... 4/15/94
Fixed Cosine Transform (indices of cos() were swapped) - 5/26/95
Added optional frameRate argument - 6/8/95
Added proper filterbank reconstruction using inverse DCT - 10/27/95
Added filterbank inversion to reconstruct spectrum - 11/1/95
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…