Error no longer produces beep

7 ビュー (過去 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 Center および File ExchangeAudio 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