MULTIBOXING COMMANDS

Beep

The old version of this command which generated music has been renamed Synth. The new version of Beep only beeps.

Makes the computer beep.

Syntax

Beep ()
or
Beep ( frequency duration )

Parameters

Duration is the length of the beep in milliseconds. If you omit this, the default is 250 ms.

Frequency is the pitch of the beep. You can write a number (Hz) or the name of a note. If you omit this, the default is 523 Hz (C above middle C).

Examples

The first example beeps for a short time at a medium pitch, using the defaults:

Hotkey ( F1 )
{
   Beep ()
}

The next example emits a 300 Hz beep for a full second.

Hotkey ( F3 )
{
   Beep ( 300 1000 )
}

Related

PlaySound

Synth

This page was first published on January 17, 2018 and last modified on January 19, 2018