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.

 採用された回答

Brian Hemmat
Brian Hemmat 2019 年 12 月 15 日

1 投票

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

1 件のコメント

Sujas
Sujas 2022 年 11 月 29 日
Thanks a lot for this i used to close matlab everytime before knowing this.

サインインしてコメントする。

その他の回答 (0 件)

製品

リリース

R2019b

質問済み:

2019 年 12 月 14 日

コメント済み:

2022 年 11 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by