MATLABでの音声の停止方法 How can I stop music using matlab?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tatsuya
le 3 Jan 2014
Réponse apportée : Atsushi Matsumoto
le 21 Oct 2016
MATLAB上で音声を再生、停止する手段として、audioplayerクラスを使用しています。
一時停止、停止する場合にはpause(obj)、stop(obj)を用いるのですが、これにはo.2秒ほどの処理時間を要します。
できれば、長くとも0.05秒ほどで音声の停止処理を行いたいのですが、他の音声停止方法、もしくは停止に要する処理時間を短くする方法はないでしょうか。 お知恵をお貸しください。
よろしくおねがいします。
1 commentaire
Réponse acceptée
Atsushi Matsumoto
le 21 Oct 2016
DSP System Toolboxをお持ちであれば、dsp.AudioFileReaderとdsp.AudioPlayerを使ってみてはいかがでしょうか?
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Filtering and Enhancement 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!