Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
SOUND Statement
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
SOUND frequency, duration%
■ frequency The frequency of the sound in cycles per second or
hertz. It must be a numeric expression with a value
between 37 and 32,767, inclusive.
■ duration% The number of system clock ticks the sound lasts.
It must be a numeric expression with an unsigned
integer value between 0 and 65,535, inclusive. There
are 18.2 clock ticks per second, regardless of CPU speed.
■ The SOUND statement is not available in OS/2 protected mode.
See Also ◄PLAY (Music)►