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');
相關文章
相關標籤/搜索