-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnotes.txt
More file actions
373 lines (356 loc) · 8.47 KB
/
notes.txt
File metadata and controls
373 lines (356 loc) · 8.47 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
Button Map:
+---+---+---+---+---+---+---+---+
| 91| 92| 93| 94| 95| 96| 97| 98|
+---+---+---+---+---+---+---+---+---+---+
| 80| 81| 82| 83| 84| 85| 86| 87| 88| 89+
+---+---+---+---+---+---+---+---+---+---+
| 70| 71| 72| 73| 74| 75| 76| 77| 78| 79+
+---+---+---+---+---+---+---+---+---+---+
| 60| 61| 62| 63| 64| 65| 66| 67| 68| 69+
+---+---+---+---+---+---+---+---+---+---+
| 50| 51| 52| 53| 54| 55| 56| 57| 58| 59+
+---+---+---+---+---+---+---+---+---+---+
| 40| 42| 42| 43| 44| 45| 46| 47| 48| 49+
+---+---+---+---+---+---+---+---+---+---+
| 30| 31| 32| 33| 34| 35| 36| 37| 38| 39+
+---+---+---+---+---+---+---+---+---+---+
| 20| 21| 22| 23| 24| 25| 26| 27| 28| 29+
+---+---+---+---+---+---+---+---+---+---+
| 10| 11| 12| 13| 14| 15| 16| 17| 18| 19+
+---+---+---+---+---+---+---+---+---+---+
| 01| 02| 03| 04| 05| 06| 07| 08|
+---+---+---+---+---+---+---+---+
CC Map:
000
001
002 [RESERVED FOR BREATH CONTROL]
003
004
005
006
007
008
009
010 Stop
011 [RESERVED FOR EXPRESSION]
012 Record
013 Loop
014 FF
015 RW
016 Play
017
018
019
020 Prev Track
021 Next Track
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040 Mixer Channel 1
041 Mixer Channel 2
042 Mixer Channel 3
043 Mixer Channel 4
044 Mixer Channel 5 / Combinator Fader 1 / X
045 Mixer Channel 6 / Combinator Fader 2 / Y
046 Mixer Channel 7 / Combinator Fader 3
047 Mixer Channel 8 / Combinator Fader 4
048
049
050 Mixer Toggle 1
051 Mixer Toggle 2
052 Mixer Toggle 3
053 Mixer Toggle 4
054 Mixer Toggle 5 / Combinator Toggle 1
055 Mixer Toggle 6 / Combinator Toggle 2
056 Mixer Toggle 7 / Combinator Toggle 3
057 Mixer Toggle 8 / Combinator Toggle 4
058
059
060
061
062
063
064
065
066
067
068
069
070
071
072
073
074
075
076
077
078
079
080
081
082
083
084
085
086
087
088
089
090
091
092
093
094
095
096
097
098
099
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
PAD MAPS:
NM: Note Mode
MS: Mode Switch
COMBINATOR:
+---+---+---+---+---+---+---+---+
| UP|DWN|LFT|RGT| | NM| | MS|
+---+---+---+---+---+---+---+---+---+---+
|SHF| E3| F3|F#3| G3| F1| F2| F3| F4| |
+---+---+---+---+---+---+---+---+---+---+
| | C3|C#3| D3|D#3| F1| F2| F3| F4| |
+---+---+---+---+---+---+---+---+---+---+
| |G#2| A2|A#2| B2| F1| F2| F3| F4| |
+---+---+---+---+---+---+---+---+---+---+
| | E2| F2|F#2| G2| F1| F2| F3| F4| |
+---+---+---+---+---+---+---+---+---+---+
| | C2|C#2| D2|D#2| F1| F2| F3| F4| |
+---+---+---+---+---+---+---+---+---+---+
| |G#1| A1|A#1| B1| F1| F2| F3| F4| |
+---+---+---+---+---+---+---+---+---+---+
| | E1| F1|F#1| G1| F1| F2| F3| F4| |
+---+---+---+---+---+---+---+---+---+---+
| | C1|C#1| D1|D#1| T1| T2| T3| T4| |
+---+---+---+---+---+---+---+---+---+---+
|VEL| | LP| RW| FF|STP|PLY|REC|
+---+---+---+---+---+---+---+---+
NOTE:
+---+---+---+---+---+---+---+---+
| UP|DWN|LFT|RGT| | NM| | MS|
+---+---+---+---+---+---+---+---+---+---+
|SHF| E3| F3|F#3| G3| E5| F5|F#5| G5| |
+---+---+---+---+---+---+---+---+---+---+
| | C3|C#3| D3|D#3| C5|C#5| D5|D#5| |
+---+---+---+---+---+---+---+---+---+---+
| |G#2| A2|A#2| B2|G#4| A4|A#4| B4| |
+---+---+---+---+---+---+---+---+---+---+
| | E2| F2|F#2| G2| E4| F4|F#4| G4| |
+---+---+---+---+---+---+---+---+---+---+
| | C2|C#2| D2|D#2| C4|C#4| D4|D#4| |
+---+---+---+---+---+---+---+---+---+---+
| |G#1| A1|A#1| B1|G#3| A3|A#3| B3| |
+---+---+---+---+---+---+---+---+---+---+
| | E1| F1|F#1| G1| E3| F3|F#3| G3| |
+---+---+---+---+---+---+---+---+---+---+
| | C1|C#1| D1|D#1| C3|C#3| D3|D#3| |
+---+---+---+---+---+---+---+---+---+---+
|VEL| | LP| RW| FF|STP|PLY|REC|
+---+---+---+---+---+---+---+---+
X/Y:
+---+---+---+---+---+---+---+---+
| UP|DWN|LFT|RGT| | NM| | MS|
+---+---+---+---+---+---+---+---+---+---+
|SHF| | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | |
+---+---+---+---+---+---+---+---+---+---+
|VEL| | LP| RW| FF|STP|PLY|REC|
+---+---+---+---+---+---+---+---+
4KONG:
+---+---+---+---+---+---+---+---+
| UP|DWN|LFT|RGT| | NM| | MS|
+---+---+---+---+---+---+---+---+---+---+
|SHF| E3| F3|F#3| G3| C6|C#6| D6|D#6| |
+---+---+---+---+---+---+---+---+---+---+
| | C3|C#3| D3|D#3|G#5| A5|A#5| B5| |
+---+---+---+---+---+---+---+---+---+---+
| |G#2| A2|A#2| B2| E5| F5|F#5| G5| |
+---+---+---+---+---+---+---+---+---+---+
| | E2| F2|F#2| G2| C5|C#5| D5|D#5| |
+---+---+---+---+---+---+---+---+---+---+
| | C2|C#2| D2|D#2|G#4| A4|A#4| B4| |
+---+---+---+---+---+---+---+---+---+---+
| |G#1| A1|A#1| B1| E4| F4|F#4| G4| |
+---+---+---+---+---+---+---+---+---+---+
| | E1| F1|F#1| G1| C4|C#4| D4|D#4| |
+---+---+---+---+---+---+---+---+---+---+
| | C1|C#1| D1|D#1|G#3| A3|A#3| B3| |
+---+---+---+---+---+---+---+---+---+---+
|VEL| | LP| RW| FF|STP|PLY|REC|
+---+---+---+---+---+---+---+---+
Midi note map:
C-2: 0 0x00 (Min Axiom)
C-1: 12 0x0C
C 0: 24 0x18
C 1: 36 0x24 (Kong Pad 1)
C 2: 48 0x30
C 3: 60 0x3C
C 4: 72 0x48
C 5: 84 0x54
C 6: 96 0x60
C 7: 108 0x6C
C 8: 120 0x78 (Max Axiom)
GLOBAL CC
STOP: 10
PLAY: 11
REC: 12
LOOP: 13
FF: 14
RW: 15
PREV TRACK: 20
NEXT TRACK: 21
PREV PATCH: 22
NEXT PATCH: 23
GLOBAL VARS
Note mode
Kong or Keyboard
Current transpose offset (default 36, always positive)
Octave Up = Transpose + 12
Octave Down = Transpose - 12
Transpose Up = Transpose + 1
Transpose Down = Transpose - 1
Global midi channel
Color defs
Pressed: White
Util: Purple
Notes: Yellow - Orange - Red
Faders: Blue (Dark when lower than)
Toggles: Green
Transport:
Play: White
Stop: Grey (Black)
Record: Red (Dark when not recording)
Loop: ???
FF: ???
RW: ???
X/Y map:
Not selected: Blue
Selected: White
Color map per mode and note mode (array of arrays)
Is shift pressed
Is full velocity on
Is recording
CC values (array of current values of CC controls)
Pressed keys (array of pressed pads to be highlighted while pressed)
Helper Methods
Toggle full velocity
Toggle recording
Press once: On
Press twice: Off
Stop
Stop playback
Is recording = false
Toggle shift
"On" on press, "Off" on release
Toggle note mode
Notes or Kongs
Get pad note
Returns MIDI note number from pad position, mode, note mode, octave offset, and transpose offset
Pad is Note
Returns whether the pressed pad should be interpreted as a note (based on mode)
Pad is fader
Returns whether the pressed pad should be interpreted as a fader (based on mode)
Pad is toggle
Returns whether the pressed pad should be interpreted as a toggle (based on mode)
Get fader value
Returns the CC value for the pressed pad based on y coordinate
Get X/Y value
Returns the CC value for the pressed pad's x or y coordinate (18 * pos - 0 -> 126)
Transpose Up
Transpose Offset + 1
Transpose Down
Transpose Offset - 1
Octave Up
Octave offset + 1
Octave Down
Octave offset - 1
Prev Track
Next Track
MODES
1. NOTES
1.a. Keyboard - C1 -> G5
1.b. 4 Kongs - C1 -> G3
2. COMBINATOR
2.a. Keyboard
32 Notes - C1 -> G3 (Split colors in three octaves)
4 faders - CC 44 - 47
4 toggles - CC 54 - 57
2.b. 2 Kongs
32 Notes - C1 -> G3 (Split colors in two sections/kongs)
4 faders - CC 44 - 47
4 toggles - CC 54 - 57
3. X/Y CV
64 X/Y values for two CCs (X: 60, Y: 61)
Pad 0 = CC value 0
Pad 1 = CC value 18
Pad 2 = CC value 36
Pad 3 = CC value 54
Pad 4 = CC value 72
Pad 5 = CC value 90
Pad 6 = CC value 108
Pad 7 = CC value 126
4. Mixer
8 Faders (CC 40 - 47)
8 Toggles (CC 50 - 57)