How can i import audio from a zip file into matlab to generate the autocorrelation, pitch, and linear prediction

4 次查看(过去 30 天)
I am working on gender and emotion classification:
%III. Combination of AMDF and ACF with weighting factor
function [f]= gender_det(x,fs)
f1=pitch(x,fs);
f2=PitchTimeAmdf(x,fs);
f=(0.9*f1)+(0.1*f2);
end

回答(3 个)

Walter Roberson
Walter Roberson 2015-7-16
Determining gender from voice is like trying to determine the colour of a picture by touching the picture. Gender is an intrinsic property that cannot be determined by measuring other properties.

Dinesh Iyer
Dinesh Iyer 2015-7-17
Shikarat,
I assume that when you mean "audio data in a ZIP file" you are saying that you have a ZIP file that contains audio files. If this is the case, you can use the UNZIP command to unzip the audio file that is stored in the ZIP file and then use the AUDIOREAD function to read audio data into MATLAB to do further processing.
Hope this helps.
Dinesh

Muthu Annamalai
Muthu Annamalai 2015-7-17
Try
  1. doc wavread
  2. doc audioread
  3. doc unzip

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by