diff options
Diffstat (limited to 'src/unheard/instrument')
| -rw-r--r-- | src/unheard/instrument/minilab3.clj | 48 | ||||
| -rw-r--r-- | src/unheard/instrument/omx_27.clj | 11 |
2 files changed, 27 insertions, 32 deletions
diff --git a/src/unheard/instrument/minilab3.clj b/src/unheard/instrument/minilab3.clj index 65ca2ae..de78f22 100644 --- a/src/unheard/instrument/minilab3.clj +++ b/src/unheard/instrument/minilab3.clj @@ -1,31 +1,27 @@ (ns unheard.instrument.minilab3 (:require [unheard.instrument.util :refer [matching-control]])) -(def device-name - "CoreMIDI4J - Minilab3 MIDI") +(def device-name "CoreMIDI4J - Minilab3 MIDI") (def config - {:knob - {1 (matching-control 0 0 74) - 2 (matching-control 0 0 71) - 3 (matching-control 0 0 76) - 4 (matching-control 0 0 77) - 5 (matching-control 0 0 93) - 6 (matching-control 0 0 18) - 7 (matching-control 0 0 19) - 8 (matching-control 0 0 16)} - :fader - {1 (matching-control 0 0 82) - 2 (matching-control 0 0 83) - 3 (matching-control 0 0 85) - 4 (matching-control 0 0 17)} - ;; TODO: git-bug fdf0f83 - :pad - {1 (matching-control 0 9 36) - 2 (matching-control 0 9 37) - 3 (matching-control 0 9 38) - 4 (matching-control 0 9 39) - 5 (matching-control 0 9 40) - 6 (matching-control 0 9 41) - 7 (matching-control 0 9 42) - 8 (matching-control 0 9 43)}}) + {:knob {1 (matching-control 0 0 74), + 2 (matching-control 0 0 71), + 3 (matching-control 0 0 76), + 4 (matching-control 0 0 77), + 5 (matching-control 0 0 93), + 6 (matching-control 0 0 18), + 7 (matching-control 0 0 19), + 8 (matching-control 0 0 16)}, + :fader {1 (matching-control 0 0 82), + 2 (matching-control 0 0 83), + 3 (matching-control 0 0 85), + 4 (matching-control 0 0 17)}, + ;; TODO: git-bug fdf0f83 + :pad {1 (matching-control 0 9 36), + 2 (matching-control 0 9 37), + 3 (matching-control 0 9 38), + 4 (matching-control 0 9 39), + 5 (matching-control 0 9 40), + 6 (matching-control 0 9 41), + 7 (matching-control 0 9 42), + 8 (matching-control 0 9 43)}}) diff --git a/src/unheard/instrument/omx_27.clj b/src/unheard/instrument/omx_27.clj index ab3f28d..35f0ff8 100644 --- a/src/unheard/instrument/omx_27.clj +++ b/src/unheard/instrument/omx_27.clj @@ -4,9 +4,8 @@ (def device-name "CoreMIDI4J - omx-27") (def config - {:knob - {1 (matching-control 0 0 21) - 2 (matching-control 0 0 22) - 3 (matching-control 0 0 23) - 4 (matching-control 0 0 24) - 5 (matching-control 0 0 61)}}) + {:knob {1 (matching-control 0 0 21), + 2 (matching-control 0 0 22), + 3 (matching-control 0 0 23), + 4 (matching-control 0 0 24), + 5 (matching-control 0 0 61)}}) |
