求助贴,问题在哪?急死了
matlab吧
全部回复
仅看楼主
level 5
领跑儿者 楼主
fs=16000; %取样频率
duration=5; %录音时间
fprintf('Press any key to start %g seconds of recording...\n',duration);
pause;
fprintf('Recording...\n');
y=audio;
record(duration*fs,fs); %duration*fs 是总的采样点数
fprintf('Finished recording.\n');
fprintf('Press any key to play the recording...\n');
pause;
audioplay(y,fs);
运行后。。。
未定义函数或变量 'audioplay'。
出错 record01 (line 6)
y=audioplay;
2015年05月15日 01点05分 1
level 5
领跑儿者 楼主
求大神
2015年05月15日 01点05分 2
audio和audioplay都是自己定义的函数
2015年05月15日 02点05分
问一下,改如何改呢,
2015年05月15日 02点05分
回复
���ܶ���
:既然是自定义函数,就不是改的问题了哈。要你自己编那个函数哈
2015年05月15日 04点05分
哦哦
2015年05月15日 08点05分
1