From: Jan Simon on
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
From: Doug Schwarz on
In article <hq1mad$j3a$1(a)fred.mathworks.com>,
"Jan Simon" <matlab.THIS_YEAR(a)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.
From: Yair Altman on
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