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