How to stop sound function from Audio toolbox?

How can i turn off the audio sample loaded by audioread() and played by sound() function? Ctrl + C doesn't work. So far the only method I found is to close MatLAB.

 Respuesta aceptada

Brian Hemmat
Brian Hemmat el 15 de Dic. de 2019
Calling "clear sound" will stop the playback.
>> [audio,fs] = audioread('Counting-16-44p1-mono-15secs.wav');
>> sound(audio,fs)
>> clear sound

1 comentario

Sujas
Sujas el 29 de Nov. de 2022
Thanks a lot for this i used to close matlab everytime before knowing this.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Audio I/O and Waveform Generation en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Preguntada:

el 14 de Dic. de 2019

Comentada:

el 29 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by