How to simply record a string of sound from the computer microphone?
10 ビュー (過去 30 日間)
古いコメントを表示
There is an example of continuous fft, but what I want is simply record a string of sound wave from the microphone for future analysis, say one second or 2 seconds of sound.
Thanks.
0 件のコメント
採用された回答
Geoff Hayes
2022 年 1 月 11 日
recObj = audiorecorder; % create the object
recordblocking(recObj,5); % record for five seconds
play(recObj); % playback the recording
y = getaudiodata(recObj); % get the audio data
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Audio and Video Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!