overtone

telekid 2020-05-04T01:00:36.002400Z

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)

telekid 2020-05-04T01:02:07.003200Z

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.

telekid 2020-05-04T01:30:35.004700Z

Update: https://groups.google.com/forum/#!topic/overtone/wGyCV-J39VU gave me the idea that I should try using https://github.com/Deep-Symmetry/beat-link-trigger/blob/v0.1.2/src/beat_link_trigger/triggers.clj#L21, and that did indeed fix my problem. Weird.