|
|
|
Tone pitch duration
makes the PC speaker output a tone of pitch lasting duration seconds. The pitch is a number, normally an integer, representing a musical note. 0 means A. Its frequency is computed by 440*2^(pitch/12).
Examples:
tone 3 1000 ;outputs a C on the PC speaker tone -12 1000 ;outputs a A (220Hz) on the PC speaker |
|
|
|