problem regarding audio signal

1 vue (au cours des 30 derniers jours)
k.v.swamy
k.v.swamy le 21 Août 2012
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

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 21 Août 2012
Modifié(e) : Azzi Abdelmalek le 21 Août 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 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 21 Août 2012
configure your micro to your windows system. matlab will recognize it.
k.v.swamy
k.v.swamy le 21 Août 2012
thank you very much sir.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by