javax.sound.midi based backend for casa.squid.midi
javax.sound.midi based backend for casa.squid.midi
(add-receiver-impl port callback)Register a MIDI receiver callback on a transmitting device/transmitter.
Callback signature is [message millis], with message a byte-array, and millis an epoch-based timestamp.
Register a MIDI receiver callback on a transmitting device/transmitter. Callback signature is [message millis], with message a byte-array, and millis an epoch-based timestamp.
(java-midi-message msg)Convert a midi message (byte or long array) into a MidiMessage
Convert a midi message (byte or long array) into a MidiMessage
(receiver-callback f)Create a javax.sound.midi.Receiver that delegates to a callback function.
Callback receives [message millis] where message is a byte-array and millis is epoch-based timestamp.
Create a javax.sound.midi.Receiver that delegates to a callback function. Callback receives [message millis] where message is a byte-array and millis is epoch-based timestamp.
(remove-receiver-impl port callback)Remove a MIDI receiver callback, relies on object identity of the callback.
Remove a MIDI receiver callback, relies on object identity of the callback.
(write-impl port message offset)Write (send) a MIDI message to the given port.
Offset is ignored for javax.sound.midi (messages are sent immediately).
Write (send) a MIDI message to the given port. Offset is ignored for javax.sound.midi (messages are sent immediately).
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 |