the
sound
sound
()
put the sound
wait until the sound is "done"
The sound
function returns the name of the instrument currently playing on the current soundChannel
, or the string "done"
if no instrument is currently playing.
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.