system.beep

Syntax

v = system.beep(<i1><,i2>)

Emit a beep. If no arguments are provided, then a 750 Hz tone is emitted for 300 milliseconds.

Returns:

v - void return

Arguments:

i1 - Optional pitch of the tone in Hz with default value 750 Hz.

i2 - Optional duration in milliseconds with default value 300 milliseconds.