Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compare two MFCC feature vector or similarity between the MFCC feature vector of two speech utterances

I have extracted 13 MFCC features of two utterances. Feature set for first utterance is of size 11*13 and other is 18*13. So, how to compare two feature sets to find the similarity between these two words?

I am not using any classifier, if someone know, which algorithm the standard tools follow for the comparison of MFCC feature vector. Please suggest me so that I can implement it.

like image 980
Pravin Ramteke Avatar asked Sep 20 '14 14:09

Pravin Ramteke


People also ask

How MFCC features are extracted for the speech recognition?

The MFCC feature extraction technique basically includes windowing the signal, applying the DFT, taking the log of the magnitude, and then warping the frequencies on a Mel scale, followed by applying the inverse DCT.

How many MFCC features are there?

MFCC has 39 features.

What is MFCC feature vector?

The mfcc function returns mel frequnecy cepstral coefficients (MFCC) over time. That is, it separates the audio into short windows and calculates the MFCC (aka feature vectors) for each window.


1 Answers

You can try this following code in matlab. after taking mfcc for 2 waves ,lets assume that for the first wave the mfcc1 and for the second is mfcc2. the code is :

mfcc1=mfcc1';
mfcc2=mfcc2';
M=simmx(mfcc1,mfcc2);
[p,q,c]=dp(1-M);
v=c(size(c,1),size(c,2))

copy past the code and run having the mfcc values as mfcc1 and mfcc2,


i used dtw logic ,i took inverse of the mfcc and then i took similarity matrix and i found the least cost path . the values will be 0 if it matches perfectly and if its near the match u will get near values to zero .i hope this will help . thank you....

like image 104
Sanjay Poongunran Avatar answered Sep 21 '22 08:09

Sanjay Poongunran