audio
I need to extract a features for audio files in folder and save the features in one file. For the 1st row contains all the features for 1st file, 2nd row contains all the features for 2 file and so on. But I have the problem "Unable to perform assignment because the size of the left side is 32769-by-1 and the size of the right side is 32769-by-2." how can solve that. This is my 1st time using matlab
file = dir ('C:\Users\User\Desktop\GP\Audio_Speech_Actors_01-24\8\*.wav');M= length (file)for k = 1:M %pitch extraction
[speech,Fs]= audioread(fullfile('C:\Users\User\Desktop\GP\Audio_Speech_Actors_01-24\8\',file(k).name)); ptch = pwelch(speech,Fs); signalpitch(k,:) = ptch; extractpitch = signalpitch (:,:); %cepstral extraction
%[coeffs,delta,deltaDelta] = mfcc(speech,Fs)
%csvwrite ('cepstral_extraction08.csv',coeffs);
csvwrite('pitch_features08.csv',extractpitch); end
Best Answer