"audiorecorder" によるオブジェクトで長時間、リアルタイムに音声データを取り込むことは可能ですか?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 28 Mar 2022
Réponse apportée : MathWorks Support Team
le 28 Mar 2022
長時間(数時間~数日)の音声データを取り込み、擬似的なリアルタイム(1 m秒以内の遅延)で処理したいのですが、"audiorecorder" によるオブジェクトで可能ですか?
Réponse acceptée
MathWorks Support Team
le 28 Mar 2022
"audiorecorder" オブジェクトと timer オブジェクトを使って "getaudiodata" メソッドで指定時間ごとにデータを読み込むこともできますが、"audiorecorder" オブジェクトはこのような長時間の使用を想定したものではなく、時間とともにバッファ内の音声データのサイズが大きくなり、最終的にはオーバーフローとなります。
長時間の音声データ取り込みの場合は "audiorecorder" オブジェクトの代わりに、Audio System Toolbox の "audioDeviceReader" オブジェクトを使用して、音声をキャプチャすることができます。
詳しくは、以下のドキュメントページを参照してください。
https://www.mathworks.com/help/audio/ref/audiodevicereader-system-object.html
0 commentaires
Plus de réponses (0)
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!