Clear Filters
Clear Filters

problem regarding audio signal

1 view (last 30 days)
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

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 21 Aug 2012
Edited: Azzi Abdelmalek on 21 Aug 2012
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);
  7 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 21 Aug 2012
configure your micro to your windows system. matlab will recognize it.
k.v.swamy
k.v.swamy on 21 Aug 2012
thank you very much sir.

Sign in to comment.

More Answers (0)

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!