How to extract MFCC feature for audio files in the folder?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone, please below is the code that i am using to extract MFCC features. My expectation is to have each file with it mfcc numbers. The numbers of rows correspond to audio files and column to features dimension, or vice versa . But when i use this code, it gives me different result, for example if i try to extract the folder of 97 audio wav files, the result i get contains perhaps 171 rows and 14 columns. Please anyone can help with this issue by helping me to modify the code for it to work properly or by giving a similar code; which will help me too much. Please thank you again
- The code:
file = dir (''E:\M02_wav\*wav\*.wav');
M= length (file)
for k = 1:M
[speech,Fs]= audioread(fullfile('E:\M02_wav\*wav\',file(k).name));
% cepstral extraction
[coeffs,delta,deltaDelta] = mfcc(speech,Fs)
csvwrite ('cepstral_extraction08.csv',coeffs);
end
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!