Disable Error beep

  • Follow


Is it possible to disable that error beep from Matlab R2010a? It's quite annoying cause it's coming from the mac itself and not through the speakers... Help much appreciated.
0
Reply EriK 4/12/2010 4:11:04 PM

Dear EriK!

> Is it possible to disable that error beep from Matlab R2010a? It's quite annoying cause it's coming from the mac itself and not through the speakers... Help much appreciated.

The sound is comming from the Mac itself without taking the way through the speakers?! That's purely magic. How do you think that the Mac creates the sound?

Although you could disable the error beep of the operating system, another simple solution would be to avoid errors.  ;-)

Jan
0
Reply Jan 4/12/2010 4:42:04 PM


In article <hpvigs$aaf$1@fred.mathworks.com>,
 "Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote:

> Dear EriK!
> 
> > Is it possible to disable that error beep from Matlab R2010a? It's quite 
> > annoying cause it's coming from the mac itself and not through the 
> > speakers... Help much appreciated.
> 
> The sound is comming from the Mac itself without taking the way through the 
> speakers?! That's purely magic. How do you think that the Mac creates the 
> sound?
> 
> Although you could disable the error beep of the operating system, another 
> simple solution would be to avoid errors.  ;-)
> 
> Jan


He means that the sound is coming from the internal speakers and not the 
external speakers that he has connected.

Erik, use

  beep off

to disable the error beep.

-- 
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.
0
Reply Doug 4/12/2010 4:59:05 PM

Dear Doug!

> He means that the sound is coming from the internal speakers and not the 
> external speakers that he has connected.

I've never seen a computer, which uses the internal speaker, if external speakers are connected. It is not getting clear to me, why beeps from the internal speaker are more annoying.
However, your suggestion of "beep off" hits the point.

Jan
0
Reply Jan 4/12/2010 7:44:04 PM

In article <hpvt64$7a1$1@fred.mathworks.com>,
 "Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote:

> Dear Doug!
> 
> > He means that the sound is coming from the internal speakers and not the 
> > external speakers that he has connected.
> 
> I've never seen a computer, which uses the internal speaker, if external 
> speakers are connected. It is not getting clear to me, why beeps from the 
> internal speaker are more annoying.
> However, your suggestion of "beep off" hits the point.
> 
> Jan

Lieber Jan,

On the Mac it is possible to have multiple audio channels and direct 
them to different devices such as the internal speakers or the Line Out 
jack.  I have mine set up so that routine computer beeps (mail 
notifications, errors, etc.) are directed to the internal speakers and 
sounds for which I desire higher fidelity (music, etc.) are directed to 
the line out jack which is connected to my stereo.  That way if I'm 
listening to music (especially if the volume is high) I don't get 
interrupted by a loud ping if I happen to get mail.

-- 
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.
0
Reply Doug 4/12/2010 8:41:35 PM

Dear Doug!

> Lieber Jan,
Without any doubt, my spelling errors identify my as German. Thanks, news group, to sepdnign the time to decipher my message!
 
> On the Mac it is possible to have multiple audio channels and direct 
> them to different devices such as the internal speakers or the Line Out 
> jack.

I've worked on 7 Macs in the past, but the older ones run MacOS 6, 7 and 8, MacOS9 ran on a Umax-Pulsar clone (simple audio interface) and the newer ones with MacOS X were laptops, which have never been connected to external speakers. So this marvelous feature (which is surely a standard feature on high-tech PC-audio today also) was concealed to my curious eyes. 
Thanks Doug! I'll buy a Mac as soon as possible -- buying a new Matlab license will be the bigger financial part. But after reading so many postings about problems with Mac/Java/Matlab, I should think of running Matlab in a virtual PC.

So beside "beep off" (and avoiding errors), the OP can reduce the level of the internal speakers also or redirect the warnings to the external speakers.

Kind regards, Jan
0
Reply Jan 4/13/2010 11:59:09 AM

In article <hq1mad$j3a$1@fred.mathworks.com>,
 "Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote:

> Dear Doug!
> 
> > Lieber Jan,
> Without any doubt, my spelling errors identify my as German. Thanks, news 
> group, to sepdnign the time to decipher my message!

Not so much any spelling errors as the .de at the end of your email 
address!

 
> > On the Mac it is possible to have multiple audio channels and direct 
> > them to different devices such as the internal speakers or the Line Out 
> > jack.
> 
> I've worked on 7 Macs in the past, but the older ones run MacOS 6, 7 and 8, 
> MacOS9 ran on a Umax-Pulsar clone (simple audio interface) and the newer ones 
> with MacOS X were laptops, which have never been connected to external 
> speakers. So this marvelous feature (which is surely a standard feature on 
> high-tech PC-audio today also) was concealed to my curious eyes. 
> Thanks Doug! I'll buy a Mac as soon as possible -- buying a new Matlab 
> license will be the bigger financial part. But after reading so many postings 
> about problems with Mac/Java/Matlab, I should think of running Matlab in a 
> virtual PC.
> 
> So beside "beep off" (and avoiding errors), the OP can reduce the level of 
> the internal speakers also or redirect the warnings to the external speakers.
> 
> Kind regards, Jan

What can be done certainly depends on what software you have installed.  
I use a utility called SoundSource,

  <http://rogueamoeba.com/freebies/>

that allows me to direct so-called "Output" to one channel and the 
"System" sounds to another.  I happen to have three channels: the 
internal speakers, the line out jack and a USB sound device.  This 
utility only lets you control Output and System sounds, but I believe 
there are other utilities (perhaps not free) that allow controlling the 
sound on an application basis.

I am still using OS X 10.5.8 (not the latest Snow Leopard) and MATLAB 
2009a and, interestingly, the MATLAB error beep is considered an 
"Output" and not a "System" sound and is directed to my stereo.  I would 
guess that the sound comes from the Java side of MATLAB as it sounds 
different from the error beep produced by the Terminal application 
(which is a System sound).  I don't know what software Erik is using 
such that his MATLAB error beep comes from the built-in speakers.

I'm sure many of these features are available in Windows, though you 
might need additional sound cards or USB devices -- I have little 
experience with PC sound.

-- 
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.
0
Reply Doug 4/13/2010 12:54:20 PM

Perhaps you can try my SoundVolume utility from the Matlab File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/25584-soundvolume-set-or-get-the-system-speaker-sound-volume

Yair Altman
http://UndocumentedMatlab.com
0
Reply Yair 4/13/2010 6:39:23 PM

> Erik, use
> 
>   beep off
> 
> to disable the error beep.
> 

I'm not sure if I could in any way misunderstand your unambiguous post but for some reason entering "beep off" in the command window doesn't disable the error alert I get from, say, pressing backspace one too many times in command window or entering right parenthesis before the left one in the script editor. What was I supposed to do with "beep off"?

Huge thanks for any help, the alert is driving me nuts!
0
Reply Sauli 8/19/2010 8:04:07 AM

Hi Erik,

I had the same annoying problem.  It even does it when you are just scrolling through recently-used commands and reach the end.  'beep off' at the Matlab command line was supposed to fix it, I thought, but it didn't.  I shut it off through the system audio preferences.  It's different on a mac, but still basically the same idea: http://support.apple.com/kb/ht2490
0
Reply Reid 10/26/2010 8:31:03 PM

"Sauli" wrote in message <i4iohn$ia6$1@fred.mathworks.com>...
> > Erik, use
> > 
> >   beep off
> > 
> > to disable the error beep.
> > 
> 
> I'm not sure if I could in any way misunderstand your unambiguous post but for some reason entering "beep off" in the command window doesn't disable the error alert I get from, say, pressing backspace one too many times in command window or entering right parenthesis before the left one in the script editor. What was I supposed to do with "beep off"?
> 
> Huge thanks for any help, the alert is driving me nuts!

Hi Sauli,

this has been driving me crazy too, but I just figured it out. "beep off" only works for syntax errors. However, the system will still make a "ding" noise if you type a mismatched parenthesis, for example.

Go to Matlab/Preferences/Keyboard/Delimiter Matching and under "Show mismatch with" select "strikethrough", then hit apply. This will get rid of the "ding", in addition to the beep. Note this is for R2007a on Mac, it might be different now.

Enjoy the peace and quiet!

Jessica 
0
Reply jrylan (3) 2/17/2011 5:53:03 AM

Thanks, Jessica!

With R2010a pn PC it seems to matter to restart Matlab after entering "beep off". I've now been able to enjoy my work more, hmm.. comprehensively.

Sauli

"Jessica Piper" <jrylan@stanford.remove.edu> wrote in message <ijid3v$i01$1@fred.mathworks.com>...
> "Sauli" wrote in message <i4iohn$ia6$1@fred.mathworks.com>...
> > > Erik, use
> > > 
> > >   beep off
> > > 
> > > to disable the error beep.
> > > 
> > 
> > I'm not sure if I could in any way misunderstand your unambiguous post but for some reason entering "beep off" in the command window doesn't disable the error alert I get from, say, pressing backspace one too many times in command window or entering right parenthesis before the left one in the script editor. What was I supposed to do with "beep off"?
> > 
> > Huge thanks for any help, the alert is driving me nuts!
> 
> Hi Sauli,
> 
> this has been driving me crazy too, but I just figured it out. "beep off" only works for syntax errors. However, the system will still make a "ding" noise if you type a mismatched parenthesis, for example.
> 
> Go to Matlab/Preferences/Keyboard/Delimiter Matching and under "Show mismatch with" select "strikethrough", then hit apply. This will get rid of the "ding", in addition to the beep. Note this is for R2007a on Mac, it might be different now.
> 
> Enjoy the peace and quiet!
> 
> Jessica 
0
Reply sauli.jarvenpaa (1) 2/17/2011 6:50:04 AM

Ok now I'm using Matlab R2011a on a pc. I have to enter the "beep off" command every time I run Matlab - Matlab isn't saving my beep off preference between sessions.

This is weird behavior, because R2011a on the Mac (despite many other problems I won't get into here) saves the "beep off" command between sessions. So I typed the command the day I upgraded, and haven't had to since.

So, could somebody please tell me how to permanently turn the beeping off in Windows? Thanks!

Jessica

"Sauli" wrote in message <ijiges$ost$1@fred.mathworks.com>...
> Thanks, Jessica!
> 
> With R2010a pn PC it seems to matter to restart Matlab after entering "beep off". I've now been able to enjoy my work more, hmm.. comprehensively.
> 
> Sauli
> 
> "Jessica Piper" <jrylan@stanford.remove.edu> wrote in message <ijid3v$i01$1@fred.mathworks.com>...
> > "Sauli" wrote in message <i4iohn$ia6$1@fred.mathworks.com>...
> > > > Erik, use
> > > > 
> > > >   beep off
> > > > 
> > > > to disable the error beep.
> > > > 
> > > 
> > > I'm not sure if I could in any way misunderstand your unambiguous post but for some reason entering "beep off" in the command window doesn't disable the error alert I get from, say, pressing backspace one too many times in command window or entering right parenthesis before the left one in the script editor. What was I supposed to do with "beep off"?
> > > 
> > > Huge thanks for any help, the alert is driving me nuts!
> > 
> > Hi Sauli,
> > 
> > this has been driving me crazy too, but I just figured it out. "beep off" only works for syntax errors. However, the system will still make a "ding" noise if you type a mismatched parenthesis, for example.
> > 
> > Go to Matlab/Preferences/Keyboard/Delimiter Matching and under "Show mismatch with" select "strikethrough", then hit apply. This will get rid of the "ding", in addition to the beep. Note this is for R2007a on Mac, it might be different now.
> > 
> > Enjoy the peace and quiet!
> > 
> > Jessica 
0
Reply jrylan (3) 7/11/2011 10:20:24 PM

On 7/11/2011 5:20 PM, Jessica Piper wrote:
> Ok now I'm using Matlab R2011a on a pc. I have to enter the "beep off"
> command every time I run Matlab - Matlab isn't saving my beep off
> preference between sessions.
....

Whether that's a bug or not I don't have a clue but...

Put any customization(s) desired in your startup.m file

--
0
Reply none1568 (6639) 7/11/2011 10:37:34 PM

dpb <none@non.net> wrote in message <ivftvc$5a8$1@speranza.aioe.org>...
> On 7/11/2011 5:20 PM, Jessica Piper wrote:
> > Ok now I'm using Matlab R2011a on a pc. I have to enter the "beep off"
> > command every time I run Matlab - Matlab isn't saving my beep off
> > preference between sessions.
> ...
> 
> Whether that's a bug or not I don't have a clue but...
> 
> Put any customization(s) desired in your startup.m file
> 
> --

Ok I just found another annoyance in R2011a for Windows 7, which I don't remember from older versions. Even after doing "beep off" and setting the "indicate mismatch with strikethrough" preference, Matlab STILL beeps if you press the down arrow in the command window, and there are no more commands in the history.

At this point, I've given up, so I just disabled system sounds. 

I have to say I'm surprised this is a total non-priority for the Mathworks. It bothers me so much that if I worked there, I would have fixed this myself, probably on my first day!
0
Reply jrylan (3) 9/6/2011 7:18:11 PM

In case you are running MatLab on Vista, this is how you can disable the annoying beep coming from the system speakers: 

http://weyland.be/wrdprss/index.php/2007/02/08/disable-system-beep-in-windows-vista/


"Jessica Piper" <jrylan@stanford.remove.edu> wrote in message <j45rlj$4ji$1@newscl01ah.mathworks.com>...
> dpb <none@non.net> wrote in message <ivftvc$5a8$1@speranza.aioe.org>...
> > On 7/11/2011 5:20 PM, Jessica Piper wrote:
> > > Ok now I'm using Matlab R2011a on a pc. I have to enter the "beep off"
> > > command every time I run Matlab - Matlab isn't saving my beep off
> > > preference between sessions.
> > ...
> > 
> > Whether that's a bug or not I don't have a clue but...
> > 
> > Put any customization(s) desired in your startup.m file
> > 
> > --
> 
> Ok I just found another annoyance in R2011a for Windows 7, which I don't remember from older versions. Even after doing "beep off" and setting the "indicate mismatch with strikethrough" preference, Matlab STILL beeps if you press the down arrow in the command window, and there are no more commands in the history.
> 
> At this point, I've given up, so I just disabled system sounds. 
> 
> I have to say I'm surprised this is a total non-priority for the Mathworks. It bothers me so much that if I worked there, I would have fixed this myself, probably on my first day!
0
Reply a.semechko (1) 1/15/2013 4:47:08 PM

I AM NOR SURE WHAT EXACTLY YOU WANT BUT stop unwantes error warnnings you can use 



"warning off" command 


hope it works.

@k.j.@
0
Reply jagtapk (3) 1/16/2013 11:17:08 AM


"Kishore Jagtap" <jagtapk@yahoo.com> wrote in message 
news:kd627k$osj$1@newscl01ah.mathworks.com...
> I AM NOR SURE WHAT EXACTLY YOU WANT BUT stop unwantes error warnnings you 
> can use
> "warning off" command

1) WARNING OFF only suppress warnings. It has no effect on errors.

2) Turning off ALL warnings is a BIG hammer. Warnings, like pain, can be a 
good thing that alert you to problems when they're small, before they turn 
into bigger problems that cause errors.

If you want to suppress ONE warning or a few warnings, then use WARNING OFF 
with the identifiers for the warnings you want to suppress.

-- 
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 

0
Reply slord (13267) 1/16/2013 2:38:23 PM

"Jan Simon" wrote in message <hpvigs$aaf$1@fred.mathworks.com>...
> Dear EriK!
> 
> > Is it possible to disable that error beep from Matlab R2010a? It's quite annoying cause it's coming from the mac itself and not through the speakers... Help much appreciated.
> 
> The sound is comming from the Mac itself without taking the way through the speakers?! That's purely magic. How do you think that the Mac creates the sound?
> 
> Although you could disable the error beep of the operating system, another simple solution would be to avoid errors.  ;-)
> 
> Jan

Nobody is perfect and errors come and go, your code is always without errors? yeah right
0
Reply rafael.alvarez.berrios (1) 2/14/2013 2:22:05 PM

On Thu, 14 Feb 2013 14:22:05 +0000, Rafael  wrote:

> "Jan Simon" wrote in message <hpvigs$aaf$1@fred.mathworks.com>...
>> Dear EriK!
>> 
>> > Is it possible to disable that error beep from Matlab R2010a? It's
>> > quite annoying cause it's coming from the mac itself and not through
>> > the speakers... Help much appreciated.
>> 
>> The sound is comming from the Mac itself without taking the way through
>> the speakers?! That's purely magic. How do you think that the Mac
>> creates the sound?
>> 
>> Although you could disable the error beep of the operating system,
>> another simple solution would be to avoid errors.  ;-)
>> 
>> Jan
> 
> Nobody is perfect and errors come and go, your code is always without
> errors? yeah right

probably not, but I'd bet it has a better sense of humor than you.
0
Reply anyone 2/14/2013 2:41:23 PM

Dear Rafael,

> > Although you could disable the error beep of the operating system, another simple solution would be to avoid errors.  ;-)

> Nobody is perfect and errors come and go, your code is always without errors? yeah right

While I am aware that for other programmer errors come, I've never seen them going voluntarily. My code is in fact free of errors, because I've installed the not officially supported DEBUGGER2 from TMW. In case of errors, warning and crashes the screen goes blank, the speaker is disabled (important for this thread), and an efficient solution is suggested (usually "turn off the computer"). Et voila, I haven't seen any bug for years.

Kind regards, Jan
0
Reply matlab.THIS_YEAR1 (1195) 2/21/2013 10:37:10 PM

20 Replies
781 Views

(page loaded in 0.309 seconds)

Similiar Articles:


















7/24/2012 10:31:15 AM


Reply: