TONE

Synopsis
TONE frequency duration
Description

Plays a tone on the PC speaker.

The frequency input must be a number and is measured in hertz (cycles per second). The larger the frequency the higher the pitch.

The duration input must be a number and is measured in milliseconds. The larger the duration the longer the tone plays for.

FMSLogo cannot respond to user control while it plays a tone.

Example
TONE 1000 200
REPEAT 50 [ TONE REPCOUNT * 10 50 ]

SourceForge.net Logo