Fork me on GitHub
#overtone
<
2020-05-04
>
telekid01:05:36

I’m having trouble sending a ShortMessage/TIMING_CLOCK message with overtone.midi. I’m using MIDI Monitor (https://www.snoize.com/MIDIMonitor/) to troubleshoot. When I run this code, MIDI Monitor captures a “Tune Request” message:

(def d (midi/midi-out))
(midi/midi-send-msg (:receiver d) (ShortMessage. ShortMessage/TUNE_REQUEST) -1)
However, when I run this code, it doesn’t receive anything:
(midi/midi-send-msg (:receiver d) (ShortMessage. ShortMessage/TIMING_CLOCK) -1)

telekid01:05:07

I don’t see any special treatment of F8 in (what I believe to be) the send impl that I’m using: https://github.com/frohoff/jdk8u-jdk/blob/master/src/share/classes/com/sun/media/sound/MidiOutDevice.java#L109 It’s very mysterious. I’m not even sure where to look.