matlab 录音并显示波形

fs=16000; %取样频率 duration=2; %录音时间 fprintf('Press any key to start %g seconds of recording...\n',duration); pause; fprintf('Recording...\n'); y=wavrecord(duration*fs,fs, 'int16');
相关文章
相关标签/搜索