problem regarding audio signal
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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
on 21 Aug 2012
configure your micro to your windows system. matlab will recognize it.
More Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation 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!