summaryrefslogtreecommitdiff
path: root/src/unheard/instrument/minilab3.clj
blob: de78f22ab71330b372685772e5064374d590a2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(ns unheard.instrument.minilab3
  (:require [unheard.instrument.util :refer [matching-control]]))

(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)}})