Clamps Packages
MIDI Output
Once the ports have been opened and an external program or hardware device has been connected to Incudine's JACK ports, issuing any MIDI output command will send the MIDI events to the program/device:
;; Send a midi note with keynum 60 and duration 0.5 seconds to Incudine's Midi Output (in-package :clamps) (output (new midi)) ; => ; No values ;; Send 10 midi events with random keynums: (loop repeat 10 for time from 0 by 0.1 do (sprout (new midi :time time :keynum (between 49 82))))