Function Reference


Beep

Plays back a beep to the user.

Beep ( [Frequency = 500 [, Duration = 1000]] )

Parameters

Frequency [optional] The frequency of the beep in hertz. Can be anywhere from 37 through 32,767 (0x25 through 0x7FFF). Default is 500 Hz.
Duration [optional] The length of the beep in milliseconds. Default = 1000 ms.

Return Value

None. (Always returns 1 regardless of success.)

Related

SoundPlay

Example

; plays back a beep noise, at the frequency 500 for 1 second

Beep(500, 1000)