How to stop sound function from Audio toolbox?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Arkadiusz Pawelek
le 14 Déc 2019
Commenté : Sujas
le 29 Nov 2022
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.
0 commentaires
Réponse acceptée
Brian Hemmat
le 15 Déc 2019
Calling "clear sound" will stop the playback.
>> [audio,fs] = audioread('Counting-16-44p1-mono-15secs.wav');
>> sound(audio,fs)
>> clear sound
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Audio I/O and Waveform Generation 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!