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개)

카테고리

도움말 센터File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

제품

릴리스

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