any one help me how to write audio file in 2009???

am using... this command a=audiorecorder(8000,8,1); record(a,5); play(a); wavwrite(8,'a.wav');...
here my prob starts.. when i run first two lines in command window it works.. but when i completely run it shows error .. cant write file while recording process.. but i want to the same to make matlab R2009b.. any one.. give a slight modification....thanks

2 commentaires

Steven Lord
Steven Lord le 29 Fév 2016
Show the EXACT and FULL text of the error message, not a paraphrased version of that message.
sir my program..
a=audiorecorder(8000,8,1);
record(a,5);
b=getaudiodata(a);
plot(b);
play(a);
wavwrite(8,8000,'a.wav');
cannot retrieve audio data while recording is in progress.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Centre d'aide et File Exchange

Produits

Tags

Question posée :

le 29 Fév 2016

Commenté :

le 29 Fév 2016

Community Treasure Hunt

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

Start Hunting!

Translated by