MATLAB: Problem regarding audio signal

problem regarding audio signal

hi all, can any one give me a solution,how to show that audio signal frequency lies between 20hz to 20khz.can i take the signal from any microphone and test the frequency in matlab.pl give me solution. regards k.v.swamy

Best Answer

here an example for recording your voice
% Record your voice for 5 seconds.
recObj = audiorecorder;
disp('Start speaking.')
recordblocking(recObj, 5);
disp('End of Recording.');
% Play back the recording.
play(recObj);
% Store data in double-precision array.
myRecording = getaudiodata(recObj);
% Plot the waveform.
plot(myRecording);
Related Question