This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-04
Channels
- # announcements (25)
- # babashka (7)
- # beginners (52)
- # calva (29)
- # clara (1)
- # clj-kondo (4)
- # cljs-dev (55)
- # clojure (86)
- # clojure-europe (5)
- # clojure-finland (1)
- # clojure-france (1)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-uk (57)
- # clojurescript (33)
- # conjure (107)
- # cursive (20)
- # datomic (37)
- # emacs (23)
- # events (13)
- # fulcro (67)
- # helix (73)
- # jobs-discuss (22)
- # lambdaisland (1)
- # leiningen (32)
- # malli (2)
- # meander (9)
- # mid-cities-meetup (1)
- # observability (1)
- # off-topic (14)
- # overtone (3)
- # pathom (39)
- # re-frame (22)
- # reagent (13)
- # reitit (13)
- # shadow-cljs (52)
- # sql (15)
- # tools-deps (29)
- # vim (11)
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)
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.
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.