Beep

FreeBASIC

Beep
 
Produces a beep sound.

Syntax

Declare Sub Beep ( )

Usage

Beep

Description

Beep tells the system to sound a beep noise. Note that this might not work on some platforms. Since this command is not reliable and there is no way to specify the frequency and duration, you might want to avoid it in favor of other / better solutions, for example: http://www.freebasic.net/forum/viewtopic.php?p=20441#20441 by yetifoot.

Example

Beep


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

  • Out - producing sound using CPU ports