MATLABでの音声の停止方法 How can I stop music using matlab?

5 visualizaciones (últimos 30 días)
Tatsuya
Tatsuya el 3 de En. de 2014
Respondida: Atsushi Matsumoto el 21 de Oct. de 2016
MATLAB上で音声を再生、停止する手段として、audioplayerクラスを使用しています。
一時停止、停止する場合にはpause(obj)、stop(obj)を用いるのですが、これにはo.2秒ほどの処理時間を要します。
できれば、長くとも0.05秒ほどで音声の停止処理を行いたいのですが、他の音声停止方法、もしくは停止に要する処理時間を短くする方法はないでしょうか。 お知恵をお貸しください。
よろしくおねがいします。
  1 comentario
Atsushi Matsumoto
Atsushi Matsumoto el 21 de Oct. de 2016
audioplayerの処理時間の測定はどうやって行われているのでしょうか?

Iniciar sesión para comentar.

Respuesta aceptada

Atsushi Matsumoto
Atsushi Matsumoto el 21 de Oct. de 2016
DSP System Toolboxをお持ちであれば、dsp.AudioFileReaderとdsp.AudioPlayerを使ってみてはいかがでしょうか?

Más respuestas (0)

Categorías

Más información sobre Image Filtering and Enhancement en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by