audiorecorderで音声が録音できない
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Plus de réponses (1)
Atsushi Matsumoto
le 27 Nov 2019
この問題、R2019b Update2で修正されたようです。
MATLABデスクトップ右上にあるベルのアイコンからUpdateパッチをインストールして下さい。
Voir également
Catégories
En savoir plus sur オーディオとビデオ dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!