MIDI message parsing and construction logic.
Interpreting and constructing of midi message as byte arrays (signed) or long arrays (unsigned).
(def msg (byte-array 3 [130 64 100])) ;; Middle C on channel 2 with velocity 100
(channel msg) ;; => 2
(event-type msg) ;; => :note-on
(note msg) ;; => 64
(velocity msg) ;; => 100
(event msg) ;; => [2 :note-on 64 100]
MIDI message parsing and construction logic. Interpreting and constructing of midi message as byte arrays (signed) or long arrays (unsigned). ``` clojure (def msg (byte-array 3 [130 64 100])) ;; Middle C on channel 2 with velocity 100 (channel msg) ;; => 2 (event-type msg) ;; => :note-on (note msg) ;; => 64 (velocity msg) ;; => 100 (event msg) ;; => [2 :note-on 64 100] ```
javax.sound.midi based backend for casa.squid.midi
javax.sound.midi based backend for casa.squid.midi
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |