Equinox Online Help - Language Reference - A to Z

Home

Beep

Applies to
SyntaxBeep [frequency(Hertz)],[duration(milliseconds)]
ActionGenerates a simple tone using the system sound facilities, if available. The method does not continue until the sound has finished.
ScopeUsable anywhere
Notes

Frequency may be one of the following (if ommitted it defaults to 1)

  • 0 Make a short blip
  • 1 Make a slightly longer beep
  • 2 A two-tone sound, used by Equinox for locking
  • 3 A three tone sound, used by Equinox on completion of a task
  • 4 - 32767 The frequency of the desired tone in hertz. For example the A above middle C is 440
CategoryUser dialogs
See Also Alert, AlertBitmaps, AlertButtons, Edit, HelpAbout, Input, InputPassword, Message, PopupColour_PopupColor, PopupFlags, PopupFont, PopupJustification, PopupSize, PopupTitle, StatusLine
Example
Beep |sound the system beep

Beep 440, 500 | play A above middle C for half a second

Beep 880,1 | Make a very short blip

Beep ,10000 | annoy the neighbours

Note that the Beep command is synchronous. It's extremely useful as an alternative to the print command for debugging.