Skip to content
Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Miscellaneous Keywords › Beep

Beep

Produces a beep sound.

Syntax

Declare Sub 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.

Remarks

Usage

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

Examples

Beep


Category: Miscellaneous Keywords
Kind: sub


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally