Functions

tone

Supported By

Syntax

the tone

tone ()

Examples

put the tone
wait until the tone is "done"

Description

The tone function returns the frequency of the tone currently being generated by the tone command, or the string "done" if no tone is currently playing.

Note

The "done" string is a literal; it is not a constant like zero or true. In HyperTalk code, the "done" literal is often left unquoted, but in XION this is highly discouraged.

See Also

tone