Subversion Repositories svn.mios32

Rev

Rev 2622 | Rev 2624 | 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
 
278
#           SR  Pin
279
LED_TRACK1   0   0
280
LED_TRACK2   0   0
281
LED_TRACK3   0   0
282
LED_TRACK4   0   0
283
 
284
#                SR  Pin
285
LED_PAR_LAYER_A   0   0
286
LED_PAR_LAYER_B   0   0
287
LED_PAR_LAYER_C   0   0
288
 
289
#           SR  Pin
2608 hawkeye 290
LED_BEAT    M5B  0
291
LED_MEASURE M5B  1
2598 tk 292
 
293
#                    SR  Pin
294
LED_MIDI_IN_COMBINED  0   0
295
LED_MIDI_OUT_COMBINED 0   0
296
 
297
#           SR  Pin
298
LED_EDIT    M8B  0
299
LED_MUTE    M7C  3
2623 tk 300
#LED_PATTERN M8B  3
301
#LED_SONG    M8B  5
302
LED_PATTERN M8B  2
303
LED_SONG    M8B  4
2598 tk 304
LED_PHRASE  M7C  2
305
 
306
#           SR  Pin
2604 hawkeye 307
LED_SOLO    M2C  1
2622 tk 308
#LED_FAST    M8A  3
309
LED_FAST    M8A  2
2598 tk 310
LED_FAST2    0   0
2622 tk 311
#LED_ALL     M8A  5
312
LED_ALL     M8A  4
2598 tk 313
 
314
#           SR  Pin
315
LED_GROUP1   0   0
316
LED_GROUP2   0   0
317
LED_GROUP3   0   0
318
LED_GROUP4   0   0
319
 
320
#                SR  Pin
321
LED_TRG_LAYER_A   0   0
322
LED_TRG_LAYER_B   0   0
323
LED_TRG_LAYER_C   0   0
324
 
325
#          SR  Pin
326
LED_PLAY   M5C  0
327
LED_STOP   M4C  0
328
LED_PAUSE  M6C  0
329
LED_REW    M2C  0
330
LED_FWD    M3C  0
331
LED_LOOP   M4C  1
332
LED_FOLLOW  0   0
333
 
334
#              SR  Pin
2608 hawkeye 335
LED_EXIT       M4B  4
2598 tk 336
LED_SELECT     M8A  7
2608 hawkeye 337
LED_MENU       M4B  6
2598 tk 338
LED_BOOKMARK   M1C  2
339
LED_SCRUB       0   0
340
LED_METRONOME  M3C  1
341
LED_RECORD     M5C  1
342
LED_JAM_LIVE    0   0
343
LED_JAM_STEP    0   0
344
LED_LIVE       M6C  1
2608 hawkeye 345
LED_UTILITY    M8B  6
2598 tk 346
LED_COPY       M4A  0
2608 hawkeye 347
LED_PASTE      M4A  2
348
LED_CLEAR      M4A  4
2598 tk 349
LED_UNDO        0   0
2608 hawkeye 350
LED_MOVE       M4A  6
2598 tk 351
LED_SCROLL     M8A  0
352
 
353
#                  SR  Pin
354
LED_STEP_VIEW      M1C  3
355
LED_PAR_LAYER_SEL  M1C  5
356
LED_TRG_LAYER_SEL  M7C  5
357
LED_INS_SEL        M7C  4
358
LED_TRACK_SEL      M1C  4
359
 
360
#                  SR  Pin
361
LED_TAP_TEMPO       0   0
362
LED_TEMPO_PRESET    0   0
363
LED_EXT_RESTART     0   0
364
 
365
#         SR  Pin
366
LED_DOWN  M4B  0
2608 hawkeye 367
LED_UP    M4B  2
2598 tk 368
 
369
#             SR  Pin
370
LED_MIXER      0   0
371
 
372
#                   SR  Pin
373
LED_TRACK_MODE       0   0
374
LED_TRACK_GROOVE     0   0
375
LED_TRACK_LENGTH     0   0
376
LED_TRACK_DIRECTION  0   0
377
LED_TRACK_MORPH      0   0
378
LED_TRACK_TRANSPOSE  0   0
379
LED_FX               0   0
380
 
381
#                                SR  Pin
382
LED_MUTE_ALL_TRACKS               0   0
383
LED_MUTE_TRACK_LAYERS             0   0
384
LED_MUTE_ALL_TRACKS_AND_LAYERS    0   0
385
LED_UNMUTE_ALL_TRACKS             0   0
386
LED_UNMUTE_TRACK_LAYERS           0   0
387
LED_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
388
 
389
 
390
##################################################
391
# Button assignments to DIN pins
392
# SR = 0: Button disabled
393
# SR = 1..32:  directly triggered from DIN pin
394
# SR = M1A..M8A: triggered from the first 8x8 button matrix
395
# SR = M1B..M8B: triggered from the second 8x8 button matrix
396
# SR = M1B..M8B: triggered from the third 8x8 button matrix
397
##################################################
398
 
399
#            SR  Pin
400
BUTTON_DOWN  M4B  0
401
BUTTON_UP    M4B  1
402
BUTTON_LEFT   0   0
403
BUTTON_RIGHT  0   0
404
 
405
#                SR  Pin
406
BUTTON_SCRUB      0   0
407
BUTTON_METRONOME M3C  1
408
BUTTON_TAP_TEMPO  0   0
409
BUTTON_JAM_LIVE   0   0
410
BUTTON_JAM_STEP   0   0
411
 
412
#             SR  Pin
413
BUTTON_STOP   M4C  0
414
BUTTON_PAUSE  M6C  0
415
BUTTON_PLAY   M5C  0
416
BUTTON_REW    M2C  0
417
BUTTON_FWD    M3C  0
418
BUTTON_LOOP   M4C  1
419
BUTTON_FOLLOW  0   0
420
 
421
#              SR  Pin
422
BUTTON_MENU    M4B  3
423
BUTTON_SELECT  M8A  7
424
BUTTON_EXIT    M4B  2
425
 
426
#              SR  Pin
427
BUTTON_TRACK1   0   0
428
BUTTON_TRACK2   0   0
429
BUTTON_TRACK3   0   0
430
BUTTON_TRACK4   0   0
431
 
432
#                  SR  Pin
433
BUTTON_PAR_LAYER_A  0   0
434
BUTTON_PAR_LAYER_B  0   0
435
BUTTON_PAR_LAYER_C  0   0
436
 
437
#               SR  Pin
438
BUTTON_EDIT     M8B  4
439
BUTTON_MUTE     M7C  1
440
BUTTON_PATTERN  M8B  5
441
BUTTON_SONG     M8B  6
442
BUTTON_PHRASE   M7C  0
443
 
444
#            SR  Pin
445
BUTTON_SOLO  M2C  1
446
BUTTON_FAST  M8A  5
447
BUTTON_FAST2  0   0
448
BUTTON_ALL   M8A  6
449
 
450
#            SR  Pin
451
BUTTON_GP1   M2A  0
452
BUTTON_GP2   M2A  1
453
BUTTON_GP3   M2A  2
454
BUTTON_GP4   M2A  3
455
BUTTON_GP5   M6A  4
456
BUTTON_GP6   M6A  5
457
BUTTON_GP7   M6A  6
458
BUTTON_GP8   M6A  7
459
BUTTON_GP9   M2B  0
460
BUTTON_GP10  M2B  1
461
BUTTON_GP11  M2B  2
462
BUTTON_GP12  M2B  3
463
BUTTON_GP13  M6B  4
464
BUTTON_GP14  M6B  5
465
BUTTON_GP15  M6B  6
466
BUTTON_GP16  M6B  7
467
 
468
#              SR  Pin
469
BUTTON_GROUP1   0   0
470
BUTTON_GROUP2   0   0
471
BUTTON_GROUP3   0   0
472
BUTTON_GROUP4   0   0
473
 
474
# alternative (individual) track selection buttons
475
# LEDs have to be assigned to TRACKS_DOUT_L_SR and TRACKS_DOUT_R_SR
2604 hawkeye 476
# For midiphy design: these are the selection buttons, TRACKS_DOUT_* ignored (we use predefined BLM8X8_DOUT_GP_MAPPING 3)
2598 tk 477
#                     SR  Pin
478
BUTTON_DIRECT_TRACK1  M3A  0
479
BUTTON_DIRECT_TRACK2  M3A  1
480
BUTTON_DIRECT_TRACK3  M3A  2
481
BUTTON_DIRECT_TRACK4  M3A  3
482
BUTTON_DIRECT_TRACK5  M7A  4
483
BUTTON_DIRECT_TRACK6  M7A  5
484
BUTTON_DIRECT_TRACK7  M7A  6
485
BUTTON_DIRECT_TRACK8  M7A  7
486
BUTTON_DIRECT_TRACK9  M3B  0
487
BUTTON_DIRECT_TRACK10 M3B  1
488
BUTTON_DIRECT_TRACK11 M3B  2
489
BUTTON_DIRECT_TRACK12 M3B  3
490
BUTTON_DIRECT_TRACK13 M7B  4
491
BUTTON_DIRECT_TRACK14 M7B  5
492
BUTTON_DIRECT_TRACK15 M7B  6
493
BUTTON_DIRECT_TRACK16 M7B  7
494
 
495
#                   SR  Pin
496
BUTTON_TRG_LAYER_A   0   0
497
BUTTON_TRG_LAYER_B   0   0
498
BUTTON_TRG_LAYER_C   0   0
499
 
500
#                    SR  Pin
501
BUTTON_TRACK_SEL     M1C  2
502
BUTTON_LIVE          M6C  1
503
BUTTON_RECORD        M5C  1
504
BUTTON_SAVE_ALL      0    0
505
 
506
#                    SR  Pin
507
BUTTON_PAR_LAYER_SEL M1C  3
508
BUTTON_TRG_LAYER_SEL M7C  3
509
BUTTON_INS_SEL       M7C  2
510
 
511
#               SR  Pin
512
BUTTON_UTILITY  M8B  7
513
BUTTON_COPY     M4A  0
514
BUTTON_PASTE    M4A  1
515
BUTTON_CLEAR    M4A  2
516
BUTTON_UNDO      0   0
517
BUTTON_MOVE     M4A  3
518
BUTTON_SCROLL   M8A  4
519
BUTTON_BOOKMARK M1C  0
520
 
521
#                 SR  Pin
522
BUTTON_STEP_VIEW  M1C  1
523
 
524
#                 SR  Pin
525
BUTTON_EXT_RESTART 0   0
526
 
527
#                SR  Pin
528
BUTTON_MIXER      0   0
529
 
530
#                SR  Pin
531
BUTTON_SAVE       0   0
532
 
533
#                   SR  Pin
534
BUTTON_PATTERN_RMX   0   0
535
 
536
#                 SR  Pin
537
BUTTON_FOOTSWITCH  0   0
538
 
539
#                 SR  Pin
540
BUTTON_ENC_BTN_FWD 0   0
541
 
542
#                      SR  Pin
543
BUTTON_TRACK_MODE       0   0
544
BUTTON_TRACK_GROOVE     0   0
545
BUTTON_TRACK_LENGTH     0   0
546
BUTTON_TRACK_DIRECTION  0   0
547
BUTTON_TRACK_MORPH      0   0
548
BUTTON_TRACK_TRANSPOSE  0   0
549
BUTTON_FX               0   0
550
BUTTON_TEMPO_PRESET     0   0
551
 
552
 
553
#                                   SR  Pin
554
BUTTON_MUTE_ALL_TRACKS               0   0
555
BUTTON_MUTE_TRACK_LAYERS             0   0
556
BUTTON_MUTE_ALL_TRACKS_AND_LAYERS    0   0
557
BUTTON_UNMUTE_ALL_TRACKS             0   0
558
BUTTON_UNMUTE_TRACK_LAYERS           0   0
559
BUTTON_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
560
 
561
 
562
# alternative (individual) bookmark buttons
563
# no LEDs available!
564
#                        SR  Pin
565
BUTTON_DIRECT_BOOKMARK1   0   0
566
BUTTON_DIRECT_BOOKMARK2   0   0
567
BUTTON_DIRECT_BOOKMARK3   0   0
568
BUTTON_DIRECT_BOOKMARK4   0   0
569
BUTTON_DIRECT_BOOKMARK5   0   0
570
BUTTON_DIRECT_BOOKMARK6   0   0
571
BUTTON_DIRECT_BOOKMARK7   0   0
572
BUTTON_DIRECT_BOOKMARK8   0   0
573
BUTTON_DIRECT_BOOKMARK9   0   0
574
BUTTON_DIRECT_BOOKMARK10  0   0
575
BUTTON_DIRECT_BOOKMARK11  0   0
576
BUTTON_DIRECT_BOOKMARK12  0   0
577
BUTTON_DIRECT_BOOKMARK13  0   0
578
BUTTON_DIRECT_BOOKMARK14  0   0
579
BUTTON_DIRECT_BOOKMARK15  0   0
580
BUTTON_DIRECT_BOOKMARK16  0   0
581
 
582
 
2607 tk 583
# Encoder buttons (currently hard-coded to FAST function)
2598 tk 584
 
2607 tk 585
#                    SR  Pin
586
BUTTON_ENC_DATAWHEEL M8C  2
587
BUTTON_ENC_BPM        0   0
588
 
589
BUTTON_ENC1          M1A  0
590
BUTTON_ENC2          M1A  1
591
BUTTON_ENC3          M1A  2
592
BUTTON_ENC4          M1A  3
593
BUTTON_ENC5          M5A  4
594
BUTTON_ENC6          M5A  5
595
BUTTON_ENC7          M5A  6
596
BUTTON_ENC8          M5A  7
597
BUTTON_ENC9          M1B  0
598
BUTTON_ENC10         M1B  1
599
BUTTON_ENC11         M1B  2
600
BUTTON_ENC12         M1B  3
601
BUTTON_ENC13         M5B  4
602
BUTTON_ENC14         M5B  5
603
BUTTON_ENC15         M5B  6
604
BUTTON_ENC16         M5B  7
605
 
606
 
2598 tk 607
##################################################
608
# Button behaviour
609
# 0: active mode as long as button pressed
610
# 1: pressing button toggles the mode
611
##################################################
612
 
613
BUTTON_BEH_FAST         1
614
BUTTON_BEH_FAST2        0
615
BUTTON_BEH_ALL          1
616
BUTTON_BEH_SOLO         1
617
BUTTON_BEH_METRONOME    1
618
BUTTON_BEH_LOOP         1
619
BUTTON_BEH_FOLLOW       1
620
BUTTON_BEH_SCRUB        0
621
BUTTON_BEH_MENU         0
622
BUTTON_BEH_MUTE         0
623
BUTTON_BEH_BOOKMARK     0
624
BUTTON_BEH_STEP_VIEW    0
625
BUTTON_BEH_TRG_LAYER    0
626
BUTTON_BEH_PAR_LAYER    0
627
BUTTON_BEH_INS_SEL      0
628
BUTTON_BEH_TRACK_SEL    0
629
BUTTON_BEH_TEMPO_PRESET 0
630
 
631
 
632
##################################################
633
# Special Behaviour of ALL button
634
# 0: only parameter layers are modified by ALL function
635
# 1: trigger and parameter layers are modified by ALL function
636
##################################################
637
BUTTON_BEH_ALL_WITH_TRIGGERS 0
638
 
639
 
640
##################################################
641
# Encoder Functions
642
# SR = 0: encoder disabled
643
# SR = 1..16: DIN assignment
644
# Types: NON_DETENTED, DETENTED1, DETENTED2, DETENTED3, DETENTED4, DETENTED5
645
##################################################
646
 
647
#              SR  Pin  Type
648
ENC_DATAWHEEL   1   7   DETENTED3
649
 
650
# the speed value for the datawheel which is used when the "FAST" button is activated:
651
ENC_DATAWHEEL_FAST_SPEED 3
652
 
653
#        SR  Pin  Type
654
ENC_GP1   2   1   DETENTED3
655
ENC_GP2   2   3   DETENTED3
656
ENC_GP3   2   5   DETENTED3
657
ENC_GP4   2   7   DETENTED3
658
ENC_GP5   4   1   DETENTED3
659
ENC_GP6   4   3   DETENTED3
660
ENC_GP7   4   5   DETENTED3
661
ENC_GP8   4   7   DETENTED3
662
ENC_GP9   5   1   DETENTED3
663
ENC_GP10  5   3   DETENTED3
664
ENC_GP11  5   5   DETENTED3
665
ENC_GP12  5   7   DETENTED3
666
ENC_GP13  7   1   DETENTED3
667
ENC_GP14  7   3   DETENTED3
668
ENC_GP15  7   5   DETENTED3
669
ENC_GP16  7   7   DETENTED3
670
 
671
# the speed value for GP encoders which is used when the "FAST" button is activated:
672
ENC_GP_FAST_SPEED 3
673
 
674
# Auto FAST mode: if a layer is assigned to velocity or CC, the fast button will be automatically
675
# enabled - in other cases (e.g. Note or Length), the fast button will be automatically disabled
676
ENC_AUTO_FAST        1
677
 
678
# optional BPM encoder
679
#              SR  Pin  Type
680
ENC_BPM         0   0   DETENTED3
681
 
682
# the speed value for the BPM encoder which is used when the "FAST" function is activated
2607 tk 683
ENC_BPM_FAST_SPEED 3