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

1 次查看(过去 30 天)
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 个评论
Steven Lord
Steven Lord 2016-2-29
Show the EXACT and FULL text of the error message, not a paraphrased version of that message.
Dhines
Dhines 2016-2-29
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by