sound:play-note-later
sound:play-note-later delay instrument keynumber velocity duration
Waits for the specified delay before playing the note for a specified duration, in seconds. The agent does not wait for the note to finish before continuing to next command.
Example:
;; in one second, play a trumpet at middle C for two seconds
sound:play-note-later 1 "TRUMPET" 60 64 2
Take me to the full Sound Extension Dictionary