Subversion Repositories svn.mios32

Rev

Rev 2623 | Rev 2629 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2598 tk 1
##################################################
2604 hawkeye 2
# Setup File for midiphy left handed JA Frontpanel
2598 tk 3
# $Id: MBSEQ_HW.V4 2542 2017-11-04 22:41:11Z tk $
4
##################################################
5
 
6
 
7
##################################################
8
# Shift Register Setup
9
##################################################
10
 
11
# maximum number of connected shift registers in a DIN or DOUT chain (1..23)
12
SRIO_NUM_SR    16
13
 
14
# number of first and second DOUT shift register used for GP LEDs
15
GP_DOUT_L_SR    0
16
GP_DOUT_R_SR    0
17
 
18
# DOUTs for Dual Color option:
19
GP_DOUT_L2_SR  0
20
GP_DOUT_R2_SR  0
21
 
22
# OPTIONAL: individual track LEDs can optionally be assigned to SRs:
23
# they correspond with the BUTTON_DIRECT_TRACK* buttons
24
TRACKS_DOUT_L_SR 0
25
TRACKS_DOUT_R_SR 0
26
 
27
# sets the debounce delay for low-quality buttons in mS
28
# use low values for high quality buttons - this ensures best latency.
29
# use higher values for lower quality buttons.
30
# Recommended values:
31
#   - 0   for high quality buttons (we used it many months w/o complaints)
32
#   - 5  is the default
33
#   - 20 for low-quality buttons
34
DEBOUNCE_DELAY 5
35
 
36
 
37
##################################################
38
# Optional BLM Matrix
39
##################################################
40
 
41
# set this value to 1 if each track has its own set of 16 LEDs to display unmuted steps and current sequencer position
42
# or if you are using a button/led matrix for misc. button/LED functions
43
BLM_ENABLED     1
44
 
45
# define the shift registers to which the anodes of these LEDs are connected
46
# Note: they can be equal to GP_DOUT_[LH]_SR, this saves two shift registers, but doesn't allow a separate view of UI selections
47
BLM_DOUT_L1_SR	0
48
BLM_DOUT_R1_SR	0
49
 
50
# define the shift register to which the cathodes of these LEDs are connected
51
# Note that the whole shift register (8 pins) will be allocated! The 4 select lines are duplicated (4 for LED matrix, 4 for button matrix)
52
# The second DOUT_CATHODES2 selection is optional if LEDs with high power consumption are used - set this to 0 if not used
53
BLM_DOUT_CATHODES_SR1  0
54
BLM_DOUT_CATHODES_SR2  0
55
 
56
# set an inversion mask for the DOUT shift registers if sink drivers (transistors)
57
# have been added to the cathode lines
58
# Settings: 0x00 - no sink drivers
59
#           0xf0 - sink drivers connected to D0..D3
60
#           0x0f - sink drivers connected to D7..D4
61
BLM_DOUT_CATHODES_INV_MASK 0x00
62
 
63
# 0: no DUO colour LEDs are connected to the LED matrix (position marker inverts step LED)
64
# 1: DUO colour LEDs are connected to the LED matrix, second LED displays position marker
65
# 2: Like option 1, but the first LED is turned off when the position marker activates the second LED
66
BLM_DOUT_DUOCOLOUR  0
67
 
68
# define the shift registers to which the anodes of the "second colour" (red) LEDs are connected
69
BLM_DOUT_L2_SR  0
70
BLM_DOUT_R2_SR  0
71
 
72
# set this to 1 if a button matrix is connected
73
BLM_BUTTONS_ENABLED 1
74
 
75
# set this to 1 if these buttons should only control the "step triggers" (gate, and other assigned triggers) - and no UI functions
76
BLM_BUTTONS_NO_UI   1
77
 
78
# optional (only useful in conjunction with the BLM):
79
# if 0: the GP buttons/LEDs are working as usual
80
# if 1: the GP buttons/LEDs always select the page items like if the MENU button is pressed,
81
#       the GP LEDs show the selected page (if matching with any of these items)
82
BLM_GP_ALWAYS_SELECT_MENU_PAGE 0
83
 
84
# define the DIN shift registers to which the button matrix is connected
85
BLM_DIN_L_SR  0
86
BLM_DIN_R_SR  0
87
 
88
 
89
##################################################
2604 hawkeye 90
# Additional 8x8 BLM as used for midiphy Frontpanel
2598 tk 91
##################################################
92
 
93
# set to 1 to enable 8x8 BLM driver
94
BLM8X8_ENABLED  1
95
 
96
# first "A" Matrix: left LeMEC
97
# to which shift register are the select lines connected?
98
# Allowed values: 0 to disable, 1..16 to assign shift register
99
BLM8X8_DOUT_CATHODES_SR  3
100
 
101
# set an inversion mask for the DOUT shift registers if sink drivers (transistors)
102
# have been added to the cathode lines
103
BLM8X8_DOUT_CATHODES_INV_MASK 0xff
104
 
105
# set an inversion mask for the DOUT shift registers if source drivers (transistors)
106
# have been added to the anode lines
107
BLM8X8_DOUT_ANODES_INV_MASK 0xff
108
 
109
# to which shift register are the LED anode lines connected?
110
# Allowed values: 0 to disable, 1..16 to assign shift register
111
BLM8X8_DOUT_LED_SR      4
112
 
113
# 0: no mapping of 8x8 LEDs
114
# 1: select GP LED -> 8x8 matrix mapping for Wilba's MB-SEQ PCB
115
# 2: select LED mapping for MBSEQ V4L SRIO board
2604 hawkeye 116
# 3: select GP LED -> matrix mapping for midiphy PCB
2598 tk 117
BLM8X8_DOUT_GP_MAPPING  3
118
 
119
# 8x8 matrix for misc. button functions
120
BLM8X8_DIN_SR  3
121
 
122
 
123
# second "B" Matrix: right LeMEC
124
BLM8X8B_DOUT_CATHODES_SR        8
125
BLM8X8B_DOUT_CATHODES_INV_MASK  0xff
126
BLM8X8B_DOUT_ANODES_INV_MASK    0xff
127
BLM8X8B_DOUT_LED_SR             9
128
BLM8X8B_DIN_SR                  6
129
 
130
# third "C" Matrix, JA PCB
131
BLM8X8C_DOUT_CATHODES_SR        1
132
BLM8X8C_DOUT_CATHODES_INV_MASK  0x00
133
BLM8X8C_DOUT_ANODES_INV_MASK    0x00
134
BLM8X8C_DOUT_LED_SR             2
135
BLM8X8C_DIN_SR                  1
136
 
137
 
138
##################################################
139
# Optional BPM digits
140
##################################################
141
 
142
# set to 1 or 2 to enable the 3 optional BPM digits
143
# 0: BPM digits disabled
144
# 1: BPM digits with common cathode
145
# 2: BPM digits with common anode
146
BPM_DIGITS_ENABLED 0
147
 
148
# define the DOUT shift register to which the segments are connected (0=disabled)
149
BPM_DIGITS_SEGMENTS_SR 0
150
 
151
# define the DOUT SR and pin to which the common pins are connected
152
# we are counting from right to left
153
# Example: 140.5 BPM: (COMMON1 = .5, COMMON2=0., COMMON3=4, COMMON4=1)
154
#                       SR  Pin
155
BPM_DIGITS_COMMON1_PIN   0   0
156
BPM_DIGITS_COMMON2_PIN   0   0
157
BPM_DIGITS_COMMON3_PIN   0   0
158
BPM_DIGITS_COMMON4_PIN   0   0
159
 
160
 
161
##################################################
162
# Optional Step digits
163
##################################################
164
 
165
# set to 1 or 2 to enable the 3 optional STEP digits
166
# 0: STEP digits disabled
167
# 1: STEP digits with common cathode
168
# 2: STEP digits with common anode
169
STEP_DIGITS_ENABLED 0
170
 
171
# define the DOUT shift register to which the segments are connected (0=disabled)
172
STEP_DIGITS_SEGMENTS_SR 0
173
 
174
# define the DOUT SR and pin to which the common pins are connected
175
# we are counting from right to left
176
# Example: Step 123: (COMMON1 = 3, COMMON2=2, COMMON3=1)
177
#                       SR  Pin
178
STEP_DIGITS_COMMON1_PIN   0   0
179
STEP_DIGITS_COMMON2_PIN   0   0
180
STEP_DIGITS_COMMON3_PIN   0   0
181
 
182
 
183
##################################################
184
# Optional LED Track Position Display
185
# See also http://www.midibox.org/dokuwiki/doku.php?id=tpd_pcb
186
##################################################
187
 
188
# set to 1 or 2 to enable the relative track position display
189
# 0: TPD disabled
190
# 1: TPD enabled - columns are cathodes, rows are anodes
191
# 2: TPD enabled - columns are anodes, rows are cathodes
192
# 3: TPD for midiphy frontpanel enabled - columns are anodes, rows are cathodes, inversion
193
TPD_ENABLED 3
194
 
195
# define the DOUT shift register to which the columns are connected (0=disabled)
196
TPD_COLUMNS_SR_L 5
197
 
198
# for a 16x16 TPD: define the SR to which the right columns are connected (0=disabled, use only 8x8 TPD)
199
TPD_COLUMNS_SR_R 0
200
 
201
# define the DOUT shift register to which the green LED rows are connected (0=disabled)
202
TPD_ROWS_SR_GREEN_L 6
203
 
204
# define the DOUT shift register to which the right green LED rows are connected (0=disabled, use only 8x8 TPD)
205
TPD_ROWS_SR_GREEN_R 7
206
 
207
# define the DOUT shift register to which the red LED rows are connected (0=disabled)
208
TPD_ROWS_SR_RED_L 0
209
 
210
# define the DOUT shift register to which the right red LED rows are connected (0=disabled, use only 8x8 TPD)
211
TPD_ROWS_SR_RED_R 0
212
 
213
 
214
##################################################
215
# CV and Gate/Trigger/Sync Setup
216
##################################################
217
 
218
# AOUT interface now selected in CV Configuration Menu and stored in MBSEQ_GC.V4 file
219
# please scroll through the menu to find this page!
220
 
221
# the 8 CV gates can be assigned to a shift register (0=off, 1-32: number of shift register):
222
# - 1st CV Gate available at DOUT SR output D7
223
# - 2nd CV Gate available at DOUT SR output D6
224
# - 3rd CV Gate available at DOUT SR output D5
225
# - ...
226
# - 8th CV Gate available at DOUT SR output D0
227
CV_GATE_SR1   0
228
 
229
# and DIN Clock Outputs can be assigned to a shift register as well (0=off, 1-32: number of shift register):
230
# D7..D0 will output individual clock or start/stop signals which can be configured in the CV configuration page
231
CLK_SR        0
232
 
233
# additional gate triggers are available on common digital output pins of the
234
# DOUT shift register chain - they are assigned to AOUT channel #16 (Note C-1, C#1, D-1, ...)
235
# define the shift registers which should be used here (each provides 8 gates)
236
# Note that SRs assigned to this function cannot be used as LED outputs (exclusive function)
237
# Allowed values: 1-32, 0 disables the function, all other values invalid and not allowed
238
DOUT_GATE_SR1   0
239
DOUT_GATE_SR2   0
240
DOUT_GATE_SR3   0
241
DOUT_GATE_SR4   0
242
DOUT_GATE_SR5   0
243
DOUT_GATE_SR6   0
244
DOUT_GATE_SR7   0
245
DOUT_GATE_SR8   0
246
 
247
# if set to 1, the additional DOUT "gates" will send 1mS pulses
248
# useful for analog drums
249
DOUT_1MS_TRIGGER 0
250
 
251
# should J5A/B/C outputs be enabled (0: no, 1: yes, 2: yes, but in open drain mode)?
252
#  - the 6 first AOUT gates will be forwarded to J5A/B
253
#  - the remaining last 2 AOUT gates are available at J5C.A10 and J5C.A11 (LPC17: J28.WS and J28.MCLK)
254
#  - DIN sync clock will be forwarded to J5C:A0 (LPC17: J28.SDA)
255
#  - DIN sync start/stop will be forwarded to J5C:A1 (LPC17: J28.SC)
256
#  - if open drain mode enabled (option 2), external pull-ups have to be connected to J5 pins
257
#    (advantage: pin levels can be pulled to 5V)
258
#
259
# NEVER USE THIS TOGETHER WITH ANALOG POTS - IT WILL CAUSE A SHORT CIRCUIT!
260
J5_ENABLED 1
261
 
262
 
263
##################################################
264
# LED assignments to DOUT pins
265
# SR = 0: LED disabled
266
# SR = 1..23:  directly forwarded to DOUT pin
267
# SR = M1..M8: forwarded to a 8x8 LED matrix
268
#
269
# Please note: due to historical reasons, pin 0-7
270
# are mirrored!
271
# Pin 0 = DOUT Pin D7
272
# Pin 1 = DOUT Pin D6
273
# Pin 2 = DOUT Pin D5
274
# ...
275
# Pin 7 = DOUT Pin D0
276
##################################################
277
 
2624 tk 278
# Andies RGB selections requires to assign LED functions to pins 0/2/4/6
279
# TK RGB selections requires to assign LED functions to pins     0/3/5/7
280
 
2598 tk 281
#           SR  Pin
282
LED_TRACK1   0   0
283
LED_TRACK2   0   0
284
LED_TRACK3   0   0
285
LED_TRACK4   0   0
286
 
287
#                SR  Pin
288
LED_PAR_LAYER_A   0   0
289
LED_PAR_LAYER_B   0   0
290
LED_PAR_LAYER_C   0   0
291
 
292
#           SR  Pin
2608 hawkeye 293
LED_BEAT    M5B  0
294
LED_MEASURE M5B  1
2598 tk 295
 
296
#                    SR  Pin
297
LED_MIDI_IN_COMBINED  0   0
298
LED_MIDI_OUT_COMBINED 0   0
299
 
300
#           SR  Pin
301
LED_EDIT    M8B  0
302
LED_MUTE    M7C  3
2624 tk 303
LED_PATTERN M8B  2
304
LED_SONG    M8B  4
2623 tk 305
#LED_PATTERN M8B  3
306
#LED_SONG    M8B  5
2598 tk 307
LED_PHRASE  M7C  2
308
 
309
#           SR  Pin
2604 hawkeye 310
LED_SOLO    M2C  1
2624 tk 311
LED_FAST    M8A  2
2622 tk 312
#LED_FAST    M8A  3
2598 tk 313
LED_FAST2    0   0
2624 tk 314
LED_ALL     M8A  4
2622 tk 315
#LED_ALL     M8A  5
2598 tk 316
 
317
#           SR  Pin
318
LED_GROUP1   0   0
319
LED_GROUP2   0   0
320
LED_GROUP3   0   0
321
LED_GROUP4   0   0
322
 
323
#                SR  Pin
324
LED_TRG_LAYER_A   0   0
325
LED_TRG_LAYER_B   0   0
326
LED_TRG_LAYER_C   0   0
327
 
328
#          SR  Pin
329
LED_PLAY   M5C  0
330
LED_STOP   M4C  0
331
LED_PAUSE  M6C  0
332
LED_REW    M2C  0
333
LED_FWD    M3C  0
334
LED_LOOP   M4C  1
335
LED_FOLLOW  0   0
336
 
337
#              SR  Pin
2608 hawkeye 338
LED_EXIT       M4B  4
2624 tk 339
#LED_EXIT       M4B  5
340
LED_SELECT     M8A  6
2608 hawkeye 341
LED_MENU       M4B  6
2624 tk 342
#LED_SELECT     M8A  7
343
#LED_MENU       M4B  7
2598 tk 344
LED_BOOKMARK   M1C  2
345
LED_SCRUB       0   0
346
LED_METRONOME  M3C  1
347
LED_RECORD     M5C  1
348
LED_JAM_LIVE    0   0
349
LED_JAM_STEP    0   0
350
LED_LIVE       M6C  1
2608 hawkeye 351
LED_UTILITY    M8B  6
2624 tk 352
#LED_UTILITY    M8B  7
2598 tk 353
LED_COPY       M4A  0
2608 hawkeye 354
LED_PASTE      M4A  2
355
LED_CLEAR      M4A  4
2624 tk 356
#LED_PASTE      M4A  3
357
#LED_CLEAR      M4A  5
2598 tk 358
LED_UNDO        0   0
2608 hawkeye 359
LED_MOVE       M4A  6
2624 tk 360
#LED_MOVE       M4A  7
2598 tk 361
LED_SCROLL     M8A  0
362
 
363
#                  SR  Pin
364
LED_STEP_VIEW      M1C  3
365
LED_PAR_LAYER_SEL  M1C  5
366
LED_TRG_LAYER_SEL  M7C  5
367
LED_INS_SEL        M7C  4
368
LED_TRACK_SEL      M1C  4
369
 
370
#                  SR  Pin
371
LED_TAP_TEMPO       0   0
372
LED_TEMPO_PRESET    0   0
373
LED_EXT_RESTART     0   0
374
 
375
#         SR  Pin
376
LED_DOWN  M4B  0
2608 hawkeye 377
LED_UP    M4B  2
2624 tk 378
#LED_UP    M4B  3
2598 tk 379
 
380
#             SR  Pin
381
LED_MIXER      0   0
382
 
383
#                   SR  Pin
384
LED_TRACK_MODE       0   0
385
LED_TRACK_GROOVE     0   0
386
LED_TRACK_LENGTH     0   0
387
LED_TRACK_DIRECTION  0   0
388
LED_TRACK_MORPH      0   0
389
LED_TRACK_TRANSPOSE  0   0
390
LED_FX               0   0
391
 
392
#                                SR  Pin
393
LED_MUTE_ALL_TRACKS               0   0
394
LED_MUTE_TRACK_LAYERS             0   0
395
LED_MUTE_ALL_TRACKS_AND_LAYERS    0   0
396
LED_UNMUTE_ALL_TRACKS             0   0
397
LED_UNMUTE_TRACK_LAYERS           0   0
398
LED_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
399
 
400
 
401
##################################################
402
# Button assignments to DIN pins
403
# SR = 0: Button disabled
404
# SR = 1..32:  directly triggered from DIN pin
405
# SR = M1A..M8A: triggered from the first 8x8 button matrix
406
# SR = M1B..M8B: triggered from the second 8x8 button matrix
407
# SR = M1B..M8B: triggered from the third 8x8 button matrix
408
##################################################
409
 
410
#            SR  Pin
411
BUTTON_DOWN  M4B  0
412
BUTTON_UP    M4B  1
413
BUTTON_LEFT   0   0
414
BUTTON_RIGHT  0   0
415
 
416
#                SR  Pin
417
BUTTON_SCRUB      0   0
418
BUTTON_METRONOME M3C  1
419
BUTTON_TAP_TEMPO  0   0
420
BUTTON_JAM_LIVE   0   0
421
BUTTON_JAM_STEP   0   0
422
 
423
#             SR  Pin
424
BUTTON_STOP   M4C  0
425
BUTTON_PAUSE  M6C  0
426
BUTTON_PLAY   M5C  0
427
BUTTON_REW    M2C  0
428
BUTTON_FWD    M3C  0
429
BUTTON_LOOP   M4C  1
430
BUTTON_FOLLOW  0   0
431
 
432
#              SR  Pin
433
BUTTON_MENU    M4B  3
434
BUTTON_SELECT  M8A  7
435
BUTTON_EXIT    M4B  2
436
 
437
#              SR  Pin
438
BUTTON_TRACK1   0   0
439
BUTTON_TRACK2   0   0
440
BUTTON_TRACK3   0   0
441
BUTTON_TRACK4   0   0
442
 
443
#                  SR  Pin
444
BUTTON_PAR_LAYER_A  0   0
445
BUTTON_PAR_LAYER_B  0   0
446
BUTTON_PAR_LAYER_C  0   0
447
 
448
#               SR  Pin
449
BUTTON_EDIT     M8B  4
450
BUTTON_MUTE     M7C  1
451
BUTTON_PATTERN  M8B  5
452
BUTTON_SONG     M8B  6
453
BUTTON_PHRASE   M7C  0
454
 
455
#            SR  Pin
456
BUTTON_SOLO  M2C  1
457
BUTTON_FAST  M8A  5
458
BUTTON_FAST2  0   0
459
BUTTON_ALL   M8A  6
460
 
461
#            SR  Pin
462
BUTTON_GP1   M2A  0
463
BUTTON_GP2   M2A  1
464
BUTTON_GP3   M2A  2
465
BUTTON_GP4   M2A  3
466
BUTTON_GP5   M6A  4
467
BUTTON_GP6   M6A  5
468
BUTTON_GP7   M6A  6
469
BUTTON_GP8   M6A  7
470
BUTTON_GP9   M2B  0
471
BUTTON_GP10  M2B  1
472
BUTTON_GP11  M2B  2
473
BUTTON_GP12  M2B  3
474
BUTTON_GP13  M6B  4
475
BUTTON_GP14  M6B  5
476
BUTTON_GP15  M6B  6
477
BUTTON_GP16  M6B  7
478
 
479
#              SR  Pin
480
BUTTON_GROUP1   0   0
481
BUTTON_GROUP2   0   0
482
BUTTON_GROUP3   0   0
483
BUTTON_GROUP4   0   0
484
 
485
# alternative (individual) track selection buttons
486
# LEDs have to be assigned to TRACKS_DOUT_L_SR and TRACKS_DOUT_R_SR
2604 hawkeye 487
# For midiphy design: these are the selection buttons, TRACKS_DOUT_* ignored (we use predefined BLM8X8_DOUT_GP_MAPPING 3)
2598 tk 488
#                     SR  Pin
489
BUTTON_DIRECT_TRACK1  M3A  0
490
BUTTON_DIRECT_TRACK2  M3A  1
491
BUTTON_DIRECT_TRACK3  M3A  2
492
BUTTON_DIRECT_TRACK4  M3A  3
493
BUTTON_DIRECT_TRACK5  M7A  4
494
BUTTON_DIRECT_TRACK6  M7A  5
495
BUTTON_DIRECT_TRACK7  M7A  6
496
BUTTON_DIRECT_TRACK8  M7A  7
497
BUTTON_DIRECT_TRACK9  M3B  0
498
BUTTON_DIRECT_TRACK10 M3B  1
499
BUTTON_DIRECT_TRACK11 M3B  2
500
BUTTON_DIRECT_TRACK12 M3B  3
501
BUTTON_DIRECT_TRACK13 M7B  4
502
BUTTON_DIRECT_TRACK14 M7B  5
503
BUTTON_DIRECT_TRACK15 M7B  6
504
BUTTON_DIRECT_TRACK16 M7B  7
505
 
506
#                   SR  Pin
507
BUTTON_TRG_LAYER_A   0   0
508
BUTTON_TRG_LAYER_B   0   0
509
BUTTON_TRG_LAYER_C   0   0
510
 
511
#                    SR  Pin
512
BUTTON_TRACK_SEL     M1C  2
513
BUTTON_LIVE          M6C  1
514
BUTTON_RECORD        M5C  1
515
BUTTON_SAVE_ALL      0    0
516
 
517
#                    SR  Pin
518
BUTTON_PAR_LAYER_SEL M1C  3
519
BUTTON_TRG_LAYER_SEL M7C  3
520
BUTTON_INS_SEL       M7C  2
521
 
522
#               SR  Pin
523
BUTTON_UTILITY  M8B  7
524
BUTTON_COPY     M4A  0
525
BUTTON_PASTE    M4A  1
526
BUTTON_CLEAR    M4A  2
527
BUTTON_UNDO      0   0
528
BUTTON_MOVE     M4A  3
529
BUTTON_SCROLL   M8A  4
530
BUTTON_BOOKMARK M1C  0
531
 
532
#                 SR  Pin
533
BUTTON_STEP_VIEW  M1C  1
534
 
535
#                 SR  Pin
536
BUTTON_EXT_RESTART 0   0
537
 
538
#                SR  Pin
539
BUTTON_MIXER      0   0
540
 
541
#                SR  Pin
542
BUTTON_SAVE       0   0
543
 
544
#                   SR  Pin
545
BUTTON_PATTERN_RMX   0   0
546
 
547
#                 SR  Pin
548
BUTTON_FOOTSWITCH  0   0
549
 
550
#                 SR  Pin
551
BUTTON_ENC_BTN_FWD 0   0
552
 
553
#                      SR  Pin
554
BUTTON_TRACK_MODE       0   0
555
BUTTON_TRACK_GROOVE     0   0
556
BUTTON_TRACK_LENGTH     0   0
557
BUTTON_TRACK_DIRECTION  0   0
558
BUTTON_TRACK_MORPH      0   0
559
BUTTON_TRACK_TRANSPOSE  0   0
560
BUTTON_FX               0   0
561
BUTTON_TEMPO_PRESET     0   0
562
 
563
 
564
#                                   SR  Pin
565
BUTTON_MUTE_ALL_TRACKS               0   0
566
BUTTON_MUTE_TRACK_LAYERS             0   0
567
BUTTON_MUTE_ALL_TRACKS_AND_LAYERS    0   0
568
BUTTON_UNMUTE_ALL_TRACKS             0   0
569
BUTTON_UNMUTE_TRACK_LAYERS           0   0
570
BUTTON_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
571
 
572
 
573
# alternative (individual) bookmark buttons
574
# no LEDs available!
575
#                        SR  Pin
576
BUTTON_DIRECT_BOOKMARK1   0   0
577
BUTTON_DIRECT_BOOKMARK2   0   0
578
BUTTON_DIRECT_BOOKMARK3   0   0
579
BUTTON_DIRECT_BOOKMARK4   0   0
580
BUTTON_DIRECT_BOOKMARK5   0   0
581
BUTTON_DIRECT_BOOKMARK6   0   0
582
BUTTON_DIRECT_BOOKMARK7   0   0
583
BUTTON_DIRECT_BOOKMARK8   0   0
584
BUTTON_DIRECT_BOOKMARK9   0   0
585
BUTTON_DIRECT_BOOKMARK10  0   0
586
BUTTON_DIRECT_BOOKMARK11  0   0
587
BUTTON_DIRECT_BOOKMARK12  0   0
588
BUTTON_DIRECT_BOOKMARK13  0   0
589
BUTTON_DIRECT_BOOKMARK14  0   0
590
BUTTON_DIRECT_BOOKMARK15  0   0
591
BUTTON_DIRECT_BOOKMARK16  0   0
592
 
593
 
2607 tk 594
# Encoder buttons (currently hard-coded to FAST function)
2598 tk 595
 
2607 tk 596
#                    SR  Pin
597
BUTTON_ENC_DATAWHEEL M8C  2
598
BUTTON_ENC_BPM        0   0
599
 
600
BUTTON_ENC1          M1A  0
601
BUTTON_ENC2          M1A  1
602
BUTTON_ENC3          M1A  2
603
BUTTON_ENC4          M1A  3
604
BUTTON_ENC5          M5A  4
605
BUTTON_ENC6          M5A  5
606
BUTTON_ENC7          M5A  6
607
BUTTON_ENC8          M5A  7
608
BUTTON_ENC9          M1B  0
609
BUTTON_ENC10         M1B  1
610
BUTTON_ENC11         M1B  2
611
BUTTON_ENC12         M1B  3
612
BUTTON_ENC13         M5B  4
613
BUTTON_ENC14         M5B  5
614
BUTTON_ENC15         M5B  6
615
BUTTON_ENC16         M5B  7
616
 
617
 
2598 tk 618
##################################################
619
# Button behaviour
620
# 0: active mode as long as button pressed
621
# 1: pressing button toggles the mode
622
##################################################
623
 
624
BUTTON_BEH_FAST         1
625
BUTTON_BEH_FAST2        0
626
BUTTON_BEH_ALL          1
627
BUTTON_BEH_SOLO         1
628
BUTTON_BEH_METRONOME    1
629
BUTTON_BEH_LOOP         1
630
BUTTON_BEH_FOLLOW       1
631
BUTTON_BEH_SCRUB        0
632
BUTTON_BEH_MENU         0
633
BUTTON_BEH_MUTE         0
634
BUTTON_BEH_BOOKMARK     0
635
BUTTON_BEH_STEP_VIEW    0
636
BUTTON_BEH_TRG_LAYER    0
637
BUTTON_BEH_PAR_LAYER    0
638
BUTTON_BEH_INS_SEL      0
639
BUTTON_BEH_TRACK_SEL    0
640
BUTTON_BEH_TEMPO_PRESET 0
641
 
642
 
643
##################################################
644
# Special Behaviour of ALL button
645
# 0: only parameter layers are modified by ALL function
646
# 1: trigger and parameter layers are modified by ALL function
647
##################################################
648
BUTTON_BEH_ALL_WITH_TRIGGERS 0
649
 
650
 
651
##################################################
652
# Encoder Functions
653
# SR = 0: encoder disabled
654
# SR = 1..16: DIN assignment
655
# Types: NON_DETENTED, DETENTED1, DETENTED2, DETENTED3, DETENTED4, DETENTED5
656
##################################################
657
 
658
#              SR  Pin  Type
659
ENC_DATAWHEEL   1   7   DETENTED3
660
 
661
# the speed value for the datawheel which is used when the "FAST" button is activated:
662
ENC_DATAWHEEL_FAST_SPEED 3
663
 
664
#        SR  Pin  Type
665
ENC_GP1   2   1   DETENTED3
666
ENC_GP2   2   3   DETENTED3
667
ENC_GP3   2   5   DETENTED3
668
ENC_GP4   2   7   DETENTED3
669
ENC_GP5   4   1   DETENTED3
670
ENC_GP6   4   3   DETENTED3
671
ENC_GP7   4   5   DETENTED3
672
ENC_GP8   4   7   DETENTED3
673
ENC_GP9   5   1   DETENTED3
674
ENC_GP10  5   3   DETENTED3
675
ENC_GP11  5   5   DETENTED3
676
ENC_GP12  5   7   DETENTED3
677
ENC_GP13  7   1   DETENTED3
678
ENC_GP14  7   3   DETENTED3
679
ENC_GP15  7   5   DETENTED3
680
ENC_GP16  7   7   DETENTED3
681
 
682
# the speed value for GP encoders which is used when the "FAST" button is activated:
683
ENC_GP_FAST_SPEED 3
684
 
685
# Auto FAST mode: if a layer is assigned to velocity or CC, the fast button will be automatically
686
# enabled - in other cases (e.g. Note or Length), the fast button will be automatically disabled
687
ENC_AUTO_FAST        1
688
 
689
# optional BPM encoder
690
#              SR  Pin  Type
691
ENC_BPM         0   0   DETENTED3
692
 
693
# the speed value for the BPM encoder which is used when the "FAST" function is activated
2607 tk 694
ENC_BPM_FAST_SPEED 3