Sign in Join
FPDoc Onlineexperiment

sound procedure

In unit WinCRT

Sound PC speaker.

Declaration

pascal
procedure sound(hz: Word)

Arguments

hz

Frequency of sound.

Description

Sound sounds the PC speaker. It emits a tone with frequency Hz for 500 milliseconds. (the time argument is required by the windows API)

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.