beepLoudness

Klaus Major klaus at major-k.de
Thu May 24 13:02:37 CDT 2007


Hi Shari,

> Eons ago (pre- the Rev/Metacard merger) there was a bug, where  
> somehow the beepLoudness got balled up.  I think this was OSX  
> only.  The fix was to reset the beepLoudness and then make it  
> beep.  I don't remember how long ago this bug began, or if and when  
> it ended.  But the fix was simple:
>
> on fixSoundLevel
>   global gSoundLevel # the beepLoudness when the app was launched
>   set the beepLoudness to 10
>   beep
>   set the beepLoudness to gSoundLevel
> end fixSoundLevel
>
> This code has lived in my app for many years.  But I suspect it is  
> now causing difficulties.  Because almost every time I run the app,  
> my system beep level gets reset to the lowest possible setting  
> where I can't hear it.
> So it is time to re-evaluate this piece of code.  I searched both  
> the Metacard and Revolution archives, and there is no mention of  
> the probably long-squashed bug.  Not even a tidbit.
> Does anybody remember this issue?  I am assuming I no longer need  
> this workaround as I found no mention anywhere.
> Interestingly, if I get the beepLoudness from the msg box, it shows  
> as 16777472.  According to the docs, it should be 0-100 or not work  
> at all.

Hmmmm, recalling my memory form the good ol' MC days (and after a  
quick glance in the current Rev docs :-)
"beepLoudness" will ONLY work on SOME Unix machines!

So this may return some strange values on the Mac and Win if at all.

Maybe you mean "playloudness"?

> Shari
>
>
> --
> Gypsy King games for
> MAC and WlND0WS
> http://www.gypsyware.com

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the metacard mailing list