MATLABでの音声の停止方法 How can I stop music using matlab?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tatsuya
am 3 Jan. 2014
Beantwortet: Atsushi Matsumoto
am 21 Okt. 2016
MATLAB上で音声を再生、停止する手段として、audioplayerクラスを使用しています。
一時停止、停止する場合にはpause(obj)、stop(obj)を用いるのですが、これにはo.2秒ほどの処理時間を要します。
できれば、長くとも0.05秒ほどで音声の停止処理を行いたいのですが、他の音声停止方法、もしくは停止に要する処理時間を短くする方法はないでしょうか。 お知恵をお貸しください。
よろしくおねがいします。
1 Kommentar
Akzeptierte Antwort
Atsushi Matsumoto
am 21 Okt. 2016
DSP System Toolboxをお持ちであれば、dsp.AudioFileReaderとdsp.AudioPlayerを使ってみてはいかがでしょうか?
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data 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!