The function play-sound
plays the loaded sound
sound
.
If
wait
is true then play-sound
will not return until
sound
has finished playing. That is, it plays the sound synchronously. The default value of
wait
is nil
.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017