MATLAB Answers

Stop audio from playing using sound()

조회 수: 358(최근 30일)
YT
YT 12 Feb 2019
답변: Joe V 27 Jun 2019
Matlab Online (ver R2018b)
I'm playing some audio using sound(y,Fs) but I can't find a way to stop the audio from playing. You can guess that it gets even worse when you (accidentally) execute the command twice (yes it plays the music over eachother instead of replacing it). Refreshing the page is the only option for now.
p.s.
I know you can use audioplayer(y,Fs) for offline versions but it won't work online.

  댓글 수: 0

로그인 to comment.

채택된 답변

Walter Roberson
Walter Roberson 12 Feb 2019
sound() can only be interrupted by killing matlab .

  댓글 수: 0

로그인 to comment.

추가 답변(1개)

Joe V
Joe V 27 Jun 2019

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.

제품


릴리스

R2018b

Translated by