summaryrefslogtreecommitdiff
path: root/src/unheard/midi.clj
diff options
context:
space:
mode:
authorJake Zerrer <him@jakezerrer.com>2025-11-12 14:20:57 -0500
committerJake Zerrer <him@jakezerrer.com>2025-11-12 14:37:54 -0500
commit2d751c6c89d6f95c568e4ce050ea63af0e1c3cc4 (patch)
tree3b524e1cd0e87ba97c4dad7f10591f9c8908ce76 /src/unheard/midi.clj
parent751a37a72c8d4e20b52f351c4562d84cc4d26e25 (diff)
Move test out of midi.clj
Diffstat (limited to 'src/unheard/midi.clj')
-rw-r--r--src/unheard/midi.clj17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/unheard/midi.clj b/src/unheard/midi.clj
index d47e5b1..a44c01b 100644
--- a/src/unheard/midi.clj
+++ b/src/unheard/midi.clj
@@ -279,23 +279,6 @@
:else
result)))))))
-(defn test-msg [cmd ch d1 d2]
- (ShortMessage. cmd ch d1 d2))
-
-(comment
- (into []
- (transduce
- short-message->notes
- conj
- []
- (conj
- (map (fn [[cmd d1]] (test-msg cmd 0 d1 9))
- [[ShortMessage/NOTE_ON 1]
- [ShortMessage/CONTROL_CHANGE 1]
- [ShortMessage/NOTE_ON 2]
- [ShortMessage/NOTE_OFF 2]
- [ShortMessage/NOTE_OFF 1]])))))
-
;; TODO: Move this logic into bus fn
(defn short-messages
[>device-name]