Produces a beep sound.
Syntax
Usage
Beep
Beep duration, pitch
Parameters
duration
Duration in seconds.
pitch
Pitch as semitones from middle C, matching the sfxlib pitch form.
Description
Beep tells the system to sound a beep noise. The no-argument form keeps the traditional console behavior. The two-argument form uses sfxlib and produces a generated note with an explicit duration and pitch.
For more control over generated sound, use the sfxlib commands such as
Sound,
Tone,
Note, and
Play.
Example
Differences from QB
- In QB, this was a single tone noise generated through the PC speaker. Now this might not be the case.
See also