SOUND soundlist
Plays a sequence of tones on the PC speaker.
The soundlist
input must be a list of pairs.
Each pair specifies a frequency (in hertz) and duration (in milliseconds).
The larger the frequency the higher the pitch.
The larger the duration the longer the sound plays for.
FMSLogo is unresponsive to user control while it plays a sound vector.
Play a single frequency/duration pair:
SOUND [1000 200]
Play a sequence of descending tones [500 100 490 100 ... 10 100]:
MAKE "zing []
REPEAT 50 [ MAKE "zing FPUT REPCOUNT*10 FPUT 100 :zing ]
SOUND :zing