Liking cljdoc? Tell your friends :D

casa.squid.midi.javax

javax.sound.midi based backend for casa.squid.midi

javax.sound.midi based backend for casa.squid.midi
raw docstring

add-receiver-implclj

(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.
sourceraw docstring

can-receive?clj

(can-receive? d)
source

can-transmit?clj

(can-transmit? d)
source

Coercionscljprotocol

receiverclj

(receiver _)

transmitterclj

(transmitter _)
source

connectclj

(connect from to)
source

device-nameclj

(device-name d)
source

disconnectclj

(disconnect from)
source

find-input-deviceclj

(find-input-device name)
source

find-output-deviceclj

(find-output-device name)
source

java-midi-messageclj

(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
sourceraw docstring

query-devicesclj

(query-devices)
source

receiver-callbackclj

(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.
sourceraw docstring

receiversclj

(receivers d)
source

remove-receiver-implclj

(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.
sourceraw docstring

sendclj

(send to msg timestamp)
source

transmittersclj

(transmitters d)
source

write-implclj

(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).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close