septendesilyon
Newbie level 4
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
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