Subversion Repositories svn.mios32

Rev

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

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