Error no longer produces beep

조회 수: 6 (최근 30일)
Giovanni Mottola
Giovanni Mottola 2021년 8월 30일
댓글: Adam Danz 2021년 10월 8일
On my PC, any error in the code (either while running a script or in the Command Window) will produce an error message, but no "beep" sound. Notice that MATLAB can correctly output sounds (as verified with the soundsc function, for instance). The beep function does not work either, even with beep on. I have already tried closing and relaunching the computer. I am running MATLAB R2020a on a Windows 10 PC.
Is there any way I can get the error sound back? I prefer it that way.
Thanks in advance to anyone who can help!
  댓글 수: 8
Jeremy Hughes
Jeremy Hughes 2021년 10월 8일
I looked at https://app.soundgrail.com/audio-music-visualizer/ and I noticed that when I call BEEP in MATLAB with the volume turned down, I don't see any reaction. It was just picking up sounds the computer could hear, like my dog whining, keys clicking on the keyboard, and the diswasher in the next room. The beep sound shows a relatively dramatic two-seconds of sound when it's working. I don't think this is a sufficient diagnostic tool. There coould be other reasons that a microphone device could pick up a signal even when the volume of speakers is turned down, especially if the mic and speaker signals are going through the same physical device. If this tool picks up a BEEP when none makes it to the speaker could show that there's a speaker malfunction of some kind, but the absense of a signal doesn't mean the sound isn't issued. (although for this specific case, I don't think that's what's happening.)
Adam Danz
Adam Danz 2021년 10월 8일
Hmmm, I just tested it again with my speakers on mute, no external microphone, and the beep still appears, though looks different than the GIF I made a month or so ago. They must have updated their visualizations. Even when I play youtube while my speakers are turned off, it registeres iin the website.
A while ago I installed virtual audio-video cables to route audio/vid from Zoom through Discord and they may be the culprit even thought they aren't currently selected in my device manager.
If anyone finds a diagnostic tool that shows evidence of audio output from the sound card (or to the sound card), I'd be happy to learn about it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by