Error no longer produces beep

7 Ansichten (letzte 30 Tage)
Giovanni Mottola
Giovanni Mottola am 30 Aug. 2021
Kommentiert: Adam Danz am 8 Okt. 2021
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 Kommentare
Jeremy Hughes
Jeremy Hughes am 8 Okt. 2021
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 am 8 Okt. 2021
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by