audiorecorderで音声が録音できない
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
mac book pro の内蔵マイクを入力としてaudiorecorderを使って5秒間録音してその波形を描画するプログラミングを組んだのですが、何回やっても波形が0の物しか描画されません。どうしてでしょうか?
audiodevinfoではちゃんと認識しており、コードもエラーが出ていないです。また、macのシステム設定も確認しましたがそれらしい問題がみつかりませんでした。
以下が利用したコードです。
rec0bj = audiorecorder(44100,16,1,0);
disp('Start recording');
recordblocking(rec0bj, 5);
disp('End of recording');
% play(rec0bj);
y = getaudiodata(rec0bj);
plot(y);
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Atsushi Matsumoto
am 27 Nov. 2019
この問題、R2019b Update2で修正されたようです。
MATLABデスクトップ右上にあるベルのアイコンからUpdateパッチをインストールして下さい。
Siehe auch
Kategorien
Mehr zu オーディオとビデオ finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!