"audiorecorder" によるオブジェクトで長時間、リアルタイムに音声データを取り込むことは可能ですか?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 28 Mär. 2022
Beantwortet: MathWorks Support Team
am 28 Mär. 2022
長時間(数時間~数日)の音声データを取り込み、擬似的なリアルタイム(1 m秒以内の遅延)で処理したいのですが、"audiorecorder" によるオブジェクトで可能ですか?
Akzeptierte Antwort
MathWorks Support Team
am 28 Mär. 2022
"audiorecorder" オブジェクトと timer オブジェクトを使って "getaudiodata" メソッドで指定時間ごとにデータを読み込むこともできますが、"audiorecorder" オブジェクトはこのような長時間の使用を想定したものではなく、時間とともにバッファ内の音声データのサイズが大きくなり、最終的にはオーバーフローとなります。
長時間の音声データ取り込みの場合は "audiorecorder" オブジェクトの代わりに、Audio System Toolbox の "audioDeviceReader" オブジェクトを使用して、音声をキャプチャすることができます。
詳しくは、以下のドキュメントページを参照してください。
https://www.mathworks.com/help/audio/ref/audiodevicereader-system-object.html
0 Kommentare
Weitere Antworten (0)
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!