Windows beep

Bill Marriott wjm at wjm.org
Fri Feb 24 16:02:37 EST 2006


This has no effect on the beep command.

You're changing the registry to select a different WAV file than the default 
for "SystemExclamation." You can set this value to anything you want and it 
still won't play.

As I stated before, beep doesn't play a WAV file (and doesn't use 
SystemExclamation). Rather, it activates the computer's internal speaker. 
This is not related to the audio card and it cannot (normally) play WAV 
files. (There used to be exciting utilities that would coax music and voice 
out of it.)

Some people hear this sound when they boot their computer as the POST 
completes. Over the years the internal speaker has atrophied from an actual 
speaker to a tiny piezoelectric buzzer, to none at all.

Bill

"Trevor DeVore" <lists at mangomultimedia.com> 
wrote in message 
news:E52C378E-35CE-4FF7-8CDC-B4368A1043ED at mangomultimedia.com...
> On Feb 24, 2006, at 11:03 AM, Bill Marriott wrote:
>
>> Rev's "beep" command on Windows sounds the internal PC speaker/ buzzer. 
>> It
>> does not issue a sound through the audio card. If a user does not  have 
>> an
>> internal speaker connected (many systems do not), they will not hear
>> anything when the beep command is issued.
>
> The beep that Rev plays on Windows isn't very pleasant.  A long time  ago 
> a client complained about it and so I implemented the beep sound  that 
> Windows apps usually play.  This worked on Win2000 and XP at the  time 
> though I haven't tested it in a while.
>
> put queryRegistry ("HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default 
> \SystemExclamation\.Default\") \
> into tWinBeepFile replace "%SystemRoot%" with specialFolderPath ("System") 
> in tWinBeepFile
> replace "/" with "\" in tWinBeepFile
> if there is a file tWinBeepFile then
>     play tWinBeepFile
> end if
>
> -- 
> Trevor DeVore
> Blue Mango Learning Systems - www.bluemangolearning.com
> trevor at bluemangolearning.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 






More information about the use-livecode mailing list