- 4.8.2.18. -
Table of Contents
4. Standard Units
4.8. CRT - Keyboard and monitor control routines
4.8.2. CRT Unit Procedures and Functions
4.8.2.18. Sound procedure
4.8.2.18. Sound procedure
Targets: MS-DOS, OS/2, Win32
CRT Unit, WinCRT Unit
Starts the internal speaker.
Declaration:
procedure Sound(Hz: DWord);
Remarks:
Hz specifies the frequency of the emitted sound in hertz.
The sound continues until explicitly turned off by a call to
NoSound.
Windows'95, Windows'98:
The Sound function ignores the Hz parameters.
On computers with a sound card, the function plays the default
sound event. On computers without a sound card, the function plays
the standard system beep.
- 4.8.2.18. -