SOUND

Format

SOUND number1,number2

Description

This statement will generate a sound on your computer speaker with a frequency of number1, and a duration of number2. Frequency should be in the range of 0 to 32767. ASIC, however, only checks to see that it is non- negative.

Example

SOUND 400,20
Execution of the above statement will produce a short beep.

Comments

ASIC "frequencies" values go from high to low. That is, a frequency of 0 is the highest, and 32767 is the lowest.