Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
1864 tk 1
##################################################
2
# Setup File for Wilba's Frontpanel + Ilmenators TPD
3
# see also http://www.midibox.org/dokuwiki/doku.php?id=tpd_pcb
4
# $Id: MBSEQ_HW.V4 2531 2017-10-11 22:55:38Z tk $
5
##################################################
6
 
7
 
8
##################################################
9
# MIDI Remote Keyboard Function
10
##################################################
11
 
12
# The note number which activates the remote function
2171 tk 13
# 96 = C-6 (some MIDI monitors display C-5)
1864 tk 14
# 0 disables the remote keyboard function
15
MIDI_REMOTE_KEY 96
16
 
17
# The CC number which activates the remote function
18
# (e.g. to control it with a footswitch)
19
# Allowed numbers: 1-127 for CC#1..CC#127
20
# 0 disables the function (default)
21
MIDI_REMOTE_CC 0
22
 
23
 
24
##################################################
25
# Track Selection CC
26
# Allows to synchronize track selections with a DAW
27
##################################################
28
 
29
# select the mode:
30
# 0: no CC sent on track changes
31
# 1: send a single CC which contains the track number as value
32
# 2: send CC..CC+15 depending on track number with value 127
33
TRACK_CC_MODE 0
34
 
35
# over which port should the CC be sent?
36
# specifiy: USB1..USB4, OUT1..OUT4, IIC1..IIC4, AOUT (haha ;-), OSC1..OSC4
37
TRACK_CC_PORT USB1
38
 
39
# over which MIDI channel should the CC be sent (1..16)?
40
TRACK_CC_CHANNEL 1
41
 
42
# which CC number should be sent (if TRACK_CC_MODE == 2: the first CC)
43
TRACK_CC_NUMBER 100
44
 
45
 
46
##################################################
47
# Running status optimisation
48
# Enabled by default, should be disabled if a MIDI
49
# device connected to a MIDI port doesn't fully
50
# comply to the MIDI specification.
51
# Expects two parameters: port number and 0/1 to
52
# disable/enable the optimisation.
53
##################################################
54
 
55
# OUT1 (MIDI1 port of MBHP_CORE_STM32 and MBHP_CORE_LPC17 module)
56
RS_OPTIMISATION OUT1 1
57
 
58
# OUT2 (MIDI2 port of MBHP_CORE_STM32 and MBHP_CORE_LPC17 module)
59
RS_OPTIMISATION OUT2 1
60
 
61
# OUT3 (MIDI3 port of MBHP_CORE_STM32 and MBHP_CORE_LPC17 module)
62
RS_OPTIMISATION OUT3 1
63
 
64
# OUT4 (MIDI4 port of MBHP_CORE_LPC17 module)
65
RS_OPTIMISATION OUT4 1
66
 
67
 
68
##################################################
2039 tk 69
# Menu Shortcuts allow a quick selection of menu pages.
70
# Will be displayed when the "MENU" button is pressed
71
# Syntax: MENU_SHORTCUT <gp-button-number> <page-name>
72
#
73
# <gp-button-number> in the range of 1..16
74
# <page-name>: one of these names:
75
#
76
#   - MENU         (Page Menu)
77
#   - FXSEL        (Fx Selection)
78
#   - STEPSEL      (Step Selection)
79
#   - TRGSEL       (Trigger Selection)
80
#   - PARSEL       (Param. Selection)
81
#   - TRACKSEL     (Track Selection)
82
#   - BPM_PRESETS  (BPM Presets)
83
#   - EDIT         (Edit)
84
#   - MUTE         (Mute Tracks)
85
#   - MUTE_PORTS   (Mute Ports)
86
#   - PATTERNS     (Patterns)
87
#   - SONG         (Song)
88
#   - MIXER        (Mixer)
89
#   - EVENTS       (Track Events)
90
#   - MODE         (Track Mode)
91
#   - DIRECTION    (Track Direction)
92
#   - DIVIDER      (Track ClockDivider)
93
#   - LENGTH       (Track Length)
94
#   - TRANSPOSE    (Track Transpose)
95
#   - GROOVE       (Track Groove)
96
#   - TRG_ASSIGN   (Track Triggers)
97
#   - MORPH        (Track Morphing)
98
#   - RANDOM       (Random Generator)
99
#   - EUCLID       (Track Euclid Generator)
100
#   - RECORD       (Record)
101
#   - MANUAL       (Manual Trigger)
102
#   - FX_ECHO      (Track Fx: Echo)
103
#   - FX_HUMANIZER (Track Fx: Humanize)
104
#   - FX_LIMIT     (Track Fx: Limit)
105
#   - FX_LFO       (Track Fx: LFO)
106
#   - FX_DUPLICATE (Track Fx: Duplicate)
107
#   - FX_LOOP      (Global Fx: Loop)
108
#   - FX_SCALE     (Global Fx: Scale)
109
#   - UTIL         (Utilities)
110
#   - BPM          (BPM Selection)
111
#   - OPTIONS      (Options)
112
#   - SAVE         (Save Pattern)
113
#   - METRONOME    (Metronome)
114
#   - MIDI         (MIDI Configuration)
115
#   - MIDIMON      (MIDI Monitor)
116
#   - SYSEX        (SysEx)
117
#   - CVCFG        (CV Configuration)
118
#   - DISK         (Disk (SD Card))
119
#   - ETH_OSC      (Ethernet & OSC)
120
#   - LIVE         (Live Play)
121
#   - REMIX        (Pattern Remix)
122
#   - BOOKMARKS    (Bookmarks)
123
#   - ABOUT        (About this MIDIbox)
124
#
125
##################################################
126
 
127
MENU_SHORTCUT  1 MIXER
128
MENU_SHORTCUT  2 EVENTS
129
MENU_SHORTCUT  3 MODE
130
MENU_SHORTCUT  4 DIRECTION
131
MENU_SHORTCUT  5 DIVIDER
132
MENU_SHORTCUT  6 LENGTH
133
MENU_SHORTCUT  7 TRANSPOSE
134
MENU_SHORTCUT  8 GROOVE
135
MENU_SHORTCUT  9 TRG_ASSIGN
136
MENU_SHORTCUT 10 FXSEL
137
MENU_SHORTCUT 11 MANUAL
138
MENU_SHORTCUT 12 MORPH
139
MENU_SHORTCUT 13 BPM
140
MENU_SHORTCUT 14 SAVE
141
MENU_SHORTCUT 15 MIDI
142
MENU_SHORTCUT 16 SYSEX
143
 
144
 
145
##################################################
1864 tk 146
# Shift Register Setup
147
##################################################
148
 
149
# maximum number of connected shift registers in a DIN or DOUT chain (1..23)
150
SRIO_NUM_SR    23
151
 
152
# number of first and second DOUT shift register used for GP LEDs
153
GP_DOUT_L_SR    0
154
GP_DOUT_R_SR    0
155
 
156
# DOUTs for Dual Color option:
157
GP_DOUT_L2_SR  0
158
GP_DOUT_R2_SR  0
159
 
160
# OPTIONAL: individual track LEDs can optionally be assigned to SRs:
161
# they correspond with the BUTTON_DIRECT_TRACK* buttons
162
TRACKS_DOUT_L_SR 0
163
TRACKS_DOUT_R_SR 0
164
 
165
# sets the debounce delay for low-quality buttons in mS
166
# use low values for high quality buttons - this ensures best latency.
167
# use higher values for lower quality buttons.
168
# Recommended values:
169
#   - 0   for high quality buttons (we used it many months w/o complaints)
170
#   - 5  is the default
171
#   - 20 for low-quality buttons
172
DEBOUNCE_DELAY 5
173
 
174
 
175
##################################################
176
# Optional BLM Matrix
177
##################################################
178
 
179
# set this value to 1 if each track has its own set of 16 LEDs to display unmuted steps and current sequencer position
180
# or if you are using a button/led matrix for misc. button/LED functions
181
BLM_ENABLED     1
182
 
183
# define the shift registers to which the anodes of these LEDs are connected
184
# 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
185
BLM_DOUT_L1_SR	0
186
BLM_DOUT_R1_SR	0
187
 
188
# define the shift register to which the cathodes of these LEDs are connected
189
# 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)
190
# The second DOUT_CATHODES2 selection is optional if LEDs with high power consumption are used - set this to 0 if not used
191
BLM_DOUT_CATHODES_SR1  0
192
BLM_DOUT_CATHODES_SR2  0
193
 
194
# set an inversion mask for the DOUT shift registers if sink drivers (transistors)
195
# have been added to the cathode lines
196
# Settings: 0x00 - no sink drivers
197
#           0xf0 - sink drivers connected to D0..D3
198
#           0x0f - sink drivers connected to D7..D4
199
BLM_DOUT_CATHODES_INV_MASK 0x00
200
 
201
# 0: no DUO colour LEDs are connected to the LED matrix (position marker inverts step LED)
202
# 1: DUO colour LEDs are connected to the LED matrix, second LED displays position marker
203
# 2: Like option 1, but the first LED is turned off when the position marker activates the second LED
204
BLM_DOUT_DUOCOLOUR  0
205
 
206
# define the shift registers to which the anodes of the "second colour" (red) LEDs are connected
207
BLM_DOUT_L2_SR  0
208
BLM_DOUT_R2_SR  0
209
 
210
# set this to 1 if a button matrix is connected
211
BLM_BUTTONS_ENABLED 1
212
 
213
# set this to 1 if these buttons should only control the "step triggers" (gate, and other assigned triggers) - and no UI functions
214
BLM_BUTTONS_NO_UI   1
215
 
216
# optional (only useful in conjunction with the BLM):
217
# if 0: the GP buttons/LEDs are working as usual
218
# if 1: the GP buttons/LEDs always select the page items like if the MENU button is pressed,
219
#       the GP LEDs show the selected page (if matching with any of these items)
220
BLM_GP_ALWAYS_SELECT_MENU_PAGE 0
221
 
222
# define the DIN shift registers to which the button matrix is connected
223
BLM_DIN_L_SR  0
224
BLM_DIN_R_SR  0
225
 
226
 
227
##################################################
228
# Additional 8x8 BLM as used for Wilba's Frontpanel
229
##################################################
230
 
231
# set to 1 to enable 8x8 BLM driver
232
BLM8X8_ENABLED  1
233
 
234
# to which shift register are the select lines connected?
235
# Allowed values: 0 to disable, 1..16 to assign shift register
236
BLM8X8_DOUT_CATHODES_SR  1
237
 
238
# set an inversion mask for the DOUT shift registers if sink drivers (transistors)
239
# have been added to the cathode lines
240
BLM8X8_DOUT_CATHODES_INV_MASK 0x00
241
 
2530 tk 242
# set an inversion mask for the DOUT shift registers if source drivers (transistors)
243
# have been added to the anode lines
244
BLM8X8_DOUT_ANODES_INV_MASK 0x00
245
 
1864 tk 246
# to which shift register are the LED anode lines connected?
247
# Allowed values: 0 to disable, 1..16 to assign shift register
2088 tk 248
BLM8X8_DOUT_LED_SR      2
1864 tk 249
 
250
# 0: no mapping of 8x8 LEDs
2531 tk 251
# 1: select GP LED -> 8x8 matrix mapping for Wilba's MB-SEQ PCB
252
# 2: select LED mapping for MBSEQ V4L SRIO board
253
# 3: select GP LED -> matrix mapping for Antilog PCB
1864 tk 254
BLM8X8_DOUT_GP_MAPPING  1
255
 
256
# 8x8 matrix for misc. button functions
257
BLM8X8_DIN_SR  2
258
 
259
 
260
##################################################
261
# Optional BPM digits
262
##################################################
263
 
264
# set to 1 or 2 to enable the 3 optional BPM digits
265
# 0: BPM digits disabled
266
# 1: BPM digits with common cathode
267
# 2: BPM digits with common anode
268
BPM_DIGITS_ENABLED 1
269
 
270
# define the DOUT shift register to which the segments are connected (0=disabled)
271
BPM_DIGITS_SEGMENTS_SR 3
272
 
273
# define the DOUT SR and pin to which the common pins are connected
274
# we are counting from right to left
275
# Example: 140.5 BPM: (COMMON1 = .5, COMMON2=0., COMMON3=4, COMMON4=1)
276
#                       SR  Pin
277
BPM_DIGITS_COMMON1_PIN   4   0
278
BPM_DIGITS_COMMON2_PIN   4   1
279
BPM_DIGITS_COMMON3_PIN   4   2
280
BPM_DIGITS_COMMON4_PIN   4   3
281
 
282
 
283
##################################################
284
# Optional Step digits
285
##################################################
286
 
287
# set to 1 or 2 to enable the 3 optional STEP digits
288
# 0: STEP digits disabled
289
# 1: STEP digits with common cathode
290
# 2: STEP digits with common anode
291
STEP_DIGITS_ENABLED 1
292
 
293
# define the DOUT shift register to which the segments are connected (0=disabled)
294
STEP_DIGITS_SEGMENTS_SR 3
295
 
296
# define the DOUT SR and pin to which the common pins are connected
297
# we are counting from right to left
298
# Example: Step 123: (COMMON1 = 3, COMMON2=2, COMMON3=1)
299
#                       SR  Pin
300
STEP_DIGITS_COMMON1_PIN   4   4
301
STEP_DIGITS_COMMON2_PIN   4   5
302
STEP_DIGITS_COMMON3_PIN   4   6
303
 
304
 
305
##################################################
306
# Optional LED Track Position Display
307
# See also http://www.midibox.org/dokuwiki/doku.php?id=tpd_pcb
308
##################################################
309
 
310
# set to 1 or 2 to enable the relative track position display
311
# 0: TPD disabled
312
# 1: TPD enabled - columns are cathodes, rows are anodes
313
# 2: TPD enabled - columns are anodes, rows are cathodes
314
TPD_ENABLED 2
315
 
316
# define the DOUT shift register to which the columns are connected (0=disabled)
317
TPD_COLUMNS_SR_L 10
318
 
319
# for a 16x16 TPD: define the SR to which the right columns are connected (0=disabled, use only 8x8 TPD)
320
TPD_COLUMNS_SR_R 7
321
 
322
# define the DOUT shift register to which the green LED rows are connected (0=disabled)
323
TPD_ROWS_SR_GREEN_L 8
324
 
325
# define the DOUT shift register to which the right green LED rows are connected (0=disabled, use only 8x8 TPD)
326
TPD_ROWS_SR_GREEN_R 5
327
 
328
# define the DOUT shift register to which the red LED rows are connected (0=disabled)
329
TPD_ROWS_SR_RED_L 9
330
 
331
# define the DOUT shift register to which the right red LED rows are connected (0=disabled, use only 8x8 TPD)
332
TPD_ROWS_SR_RED_R 6
333
 
334
 
335
##################################################
336
# CV and Gate/Trigger/Sync Setup
337
##################################################
338
 
2242 tk 339
# AOUT interface now selected in CV Configuration Menu and stored in MBSEQ_GC.V4 file
1864 tk 340
# please scroll through the menu to find this page!
341
 
2098 tk 342
# the 8 CV gates can be assigned to a shift register (0=off, 1-32: number of shift register):
2088 tk 343
# - 1st CV Gate available at DOUT SR output D7
344
# - 2nd CV Gate available at DOUT SR output D6
345
# - 3rd CV Gate available at DOUT SR output D5
346
# - ...
347
# - 8th CV Gate available at DOUT SR output D0
348
CV_GATE_SR1   0
349
 
2098 tk 350
# and DIN Clock Outputs can be assigned to a shift register as well (0=off, 1-32: number of shift register):
351
# D7..D0 will output individual clock or start/stop signals which can be configured in the CV configuration page
2088 tk 352
CLK_SR        0
353
 
1864 tk 354
# additional gate triggers are available on common digital output pins of the
355
# DOUT shift register chain - they are assigned to AOUT channel #16 (Note C-1, C#1, D-1, ...)
356
# define the shift registers which should be used here (each provides 8 gates)
357
# Note that SRs assigned to this function cannot be used as LED outputs (exclusive function)
2098 tk 358
# Allowed values: 1-32, 0 disables the function, all other values invalid and not allowed
1864 tk 359
DOUT_GATE_SR1   0
360
DOUT_GATE_SR2   0
361
DOUT_GATE_SR3   0
362
DOUT_GATE_SR4   0
363
DOUT_GATE_SR5   0
364
DOUT_GATE_SR6   0
365
DOUT_GATE_SR7   0
366
DOUT_GATE_SR8   0
367
 
2098 tk 368
# if set to 1, the additional DOUT "gates" will send 1mS pulses
1864 tk 369
# useful for analog drums
370
DOUT_1MS_TRIGGER 0
371
 
372
# should J5A/B/C outputs be enabled (0: no, 1: yes, 2: yes, but in open drain mode)?
373
#  - the 6 first AOUT gates will be forwarded to J5A/B
374
#  - the remaining last 2 AOUT gates are available at J5C.A10 and J5C.A11 (LPC17: J28.WS and J28.MCLK)
375
#  - DIN sync clock will be forwarded to J5C:A0 (LPC17: J28.SDA)
376
#  - DIN sync start/stop will be forwarded to J5C:A1 (LPC17: J28.SC)
377
#  - if open drain mode enabled (option 2), external pull-ups have to be connected to J5 pins
378
#    (advantage: pin levels can be pulled to 5V)
379
#
380
# NEVER USE THIS TOGETHER WITH ANALOG POTS - IT WILL CAUSE A SHORT CIRCUIT!
381
J5_ENABLED 1
382
 
383
 
384
##################################################
385
# LED assignments to DOUT pins
386
# SR = 0: LED disabled
387
# SR = 1..23:  directly forwarded to DOUT pin
388
# SR = M1..M8: forwarded to a 8x8 LED matrix
2105 tk 389
#
390
# Please note: due to historical reasons, pin 0-7
391
# are mirrored!
392
# Pin 0 = DOUT Pin D7
393
# Pin 1 = DOUT Pin D6
394
# Pin 2 = DOUT Pin D5
395
# ...
396
# Pin 7 = DOUT Pin D0
1864 tk 397
##################################################
398
 
399
#           SR  Pin
400
LED_TRACK1  M7   2
401
LED_TRACK2  M7   1
402
LED_TRACK3  M5   2
403
LED_TRACK4  M5   1
404
 
405
#                SR  Pin
406
LED_PAR_LAYER_A  M4   2
407
LED_PAR_LAYER_B  M4   1
408
LED_PAR_LAYER_C  M4   0
409
 
2324 tk 410
#           SR  Pin
2301 tk 411
LED_BEAT    M1   1
412
LED_MEASURE  0   0
1864 tk 413
 
414
#                    SR  Pin
415
LED_MIDI_IN_COMBINED  0   0
416
LED_MIDI_OUT_COMBINED 0   0
417
 
418
#           SR  Pin
419
LED_EDIT    M5   3
420
LED_MUTE    M6   3
421
LED_PATTERN M6   2
422
LED_SONG    M7   3
423
 
424
#           SR  Pin
425
LED_SOLO    M6   1
426
LED_FAST    M6   0
427
LED_FAST2    0   0
428
LED_ALL     M7   0
429
 
430
#           SR  Pin
431
LED_GROUP1  M8   3
432
LED_GROUP2  M8   2
433
LED_GROUP3  M8   1
434
LED_GROUP4  M8   0
435
 
436
#                SR  Pin
437
LED_TRG_LAYER_A  M2   2
438
LED_TRG_LAYER_B  M2   1
439
LED_TRG_LAYER_C  M2   0
440
 
441
#          SR  Pin
442
LED_PLAY   M1   3
443
LED_STOP   M3   3
444
LED_PAUSE  M2   3
445
LED_REW    M3   2
446
LED_FWD    M1   2
447
LED_LOOP    0   0
448
LED_FOLLOW  0   0
449
 
450
#              SR  Pin
451
LED_EXIT        0   0
452
LED_SELECT      0   0
453
LED_MENU        0   0
454
LED_BOOKMARK    0   0
455
LED_SCRUB       0   0
456
LED_METRONOME   0   0
457
LED_RECORD      0   0
2322 tk 458
LED_JAM_LIVE    0   0
459
LED_JAM_STEP    0   0
1864 tk 460
LED_LIVE        0   0
461
LED_UTILITY     0   0
462
LED_COPY        0   0
463
LED_PASTE       0   0
464
LED_CLEAR       0   0
465
LED_UNDO        0   0
2308 tk 466
LED_MOVE        0   0
467
LED_SCROLL      0   0
1864 tk 468
 
469
#                  SR  Pin
470
LED_STEP_VIEW      M3   1
471
LED_PAR_LAYER_SEL   0   0
472
LED_TRG_LAYER_SEL   0   0
473
LED_TRACK_SEL       0   0
474
 
475
#                  SR  Pin
476
LED_TAP_TEMPO       0   0
477
LED_TEMPO_PRESET    0   0
478
LED_EXT_RESTART     0   0
479
 
480
#         SR  Pin
481
LED_DOWN   0   0
482
LED_UP     0   0
483
 
484
#             SR  Pin
485
LED_MIXER      0   0
486
 
487
#                   SR  Pin
488
LED_TRACK_MODE       0   0
489
LED_TRACK_GROOVE     0   0
490
LED_TRACK_LENGTH     0   0
491
LED_TRACK_DIRECTION  0   0
492
LED_TRACK_MORPH      0   0
493
LED_TRACK_TRANSPOSE  0   0
2294 tk 494
LED_FX               0   0
1864 tk 495
 
496
#                                SR  Pin
497
LED_MUTE_ALL_TRACKS               0   0
498
LED_MUTE_TRACK_LAYERS             0   0
499
LED_MUTE_ALL_TRACKS_AND_LAYERS    0   0
500
LED_UNMUTE_ALL_TRACKS             0   0
501
LED_UNMUTE_TRACK_LAYERS           0   0
502
LED_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
503
 
504
 
505
##################################################
506
# Button assignments to DIN pins
507
# SR = 0: Button disabled
508
# SR = 1..23:  directly triggered from DIN pin
509
# SR = M1..M8: triggered from a 8x8 button matrix
510
##################################################
511
 
512
#            SR  Pin
513
BUTTON_DOWN  M4   2
514
BUTTON_UP    M4   3
515
BUTTON_LEFT   0   0
516
BUTTON_RIGHT  0   0
517
 
518
#                SR  Pin
519
BUTTON_SCRUB     M4   4
520
BUTTON_METRONOME M4   5
2324 tk 521
BUTTON_TAP_TEMPO  0   0
2322 tk 522
BUTTON_JAM_LIVE   0   0
523
BUTTON_JAM_STEP   0   0
1864 tk 524
 
525
#             SR  Pin
526
BUTTON_STOP   M3   5
527
BUTTON_PAUSE  M2   4
528
BUTTON_PLAY   M2   5
529
BUTTON_REW    M3   4
530
BUTTON_FWD    M1   4
531
BUTTON_LOOP    0   0
532
BUTTON_FOLLOW  0   0
533
 
534
#              SR  Pin
535
BUTTON_MENU    M7   5
536
BUTTON_SELECT  M8   4
537
BUTTON_EXIT    M8   5
538
 
539
#              SR  Pin
540
BUTTON_TRACK1  M7   6
541
BUTTON_TRACK2  M7   7
542
BUTTON_TRACK3  M5   6
543
BUTTON_TRACK4  M5   7
544
 
545
#                  SR  Pin
546
BUTTON_PAR_LAYER_A M4   6
547
BUTTON_PAR_LAYER_B M4   7
548
BUTTON_PAR_LAYER_C M3   6
549
 
550
#               SR  Pin
551
BUTTON_EDIT     M5   3
552
BUTTON_MUTE     M6   2
553
BUTTON_PATTERN  M6   3
554
BUTTON_SONG     M7   2
555
 
556
#            SR  Pin
557
BUTTON_SOLO  M6   4
558
BUTTON_FAST  M6   5
559
BUTTON_FAST2  0   0
560
BUTTON_ALL   M7   4
561
 
562
#            SR  Pin
563
BUTTON_GP1   M5   0
564
BUTTON_GP2   M5   1
565
BUTTON_GP3   M6   0
566
BUTTON_GP4   M6   1
567
BUTTON_GP5   M7   0
568
BUTTON_GP6   M7   1
569
BUTTON_GP7   M8   0
570
BUTTON_GP8   M8   1
571
BUTTON_GP9   M4   0
572
BUTTON_GP10  M4   1
573
BUTTON_GP11  M3   0
574
BUTTON_GP12  M3   1
575
BUTTON_GP13  M2   0
576
BUTTON_GP14  M2   1
577
BUTTON_GP15  M1   0
578
BUTTON_GP16  M1   1
579
 
580
#              SR  Pin
581
BUTTON_GROUP1  M8   6
582
BUTTON_GROUP2  M8   7
583
BUTTON_GROUP3  M6   6
584
BUTTON_GROUP4  M6   7
585
 
586
# alternative (individual) track selection buttons
587
# LEDs have to be assigned to TRACKS_DOUT_L_SR and TRACKS_DOUT_R_SR
588
#                     SR  Pin
589
BUTTON_DIRECT_TRACK1   0   0
590
BUTTON_DIRECT_TRACK2   0   0
591
BUTTON_DIRECT_TRACK3   0   0
592
BUTTON_DIRECT_TRACK4   0   0
593
BUTTON_DIRECT_TRACK5   0   0
594
BUTTON_DIRECT_TRACK6   0   0
595
BUTTON_DIRECT_TRACK7   0   0
596
BUTTON_DIRECT_TRACK8   0   0
597
BUTTON_DIRECT_TRACK9   0   0
598
BUTTON_DIRECT_TRACK10  0   0
599
BUTTON_DIRECT_TRACK11  0   0
600
BUTTON_DIRECT_TRACK12  0   0
601
BUTTON_DIRECT_TRACK13  0   0
602
BUTTON_DIRECT_TRACK14  0   0
603
BUTTON_DIRECT_TRACK15  0   0
604
BUTTON_DIRECT_TRACK16  0   0
605
 
606
#                   SR  Pin
607
BUTTON_TRG_LAYER_A  M2   6
608
BUTTON_TRG_LAYER_B  M2   7
609
BUTTON_TRG_LAYER_C  M1   6
610
 
611
 
612
# Following button functions are usually assigned to Fx
613
# buttons, or to dedicated (labeled) buttons
614
# In Wilba's frontpanel layout:
615
# F1 is located at SR M3 Pin 3
616
# F2 is located at SR M2 Pin 2
617
# F3 is located at SR M2 Pin 3
618
# F4 is located at SR M1 Pin 2
619
# and there are dedicated buttons for Copy/Paste/Clear/Utility/StepView
620
 
621
#                    SR  Pin
2324 tk 622
BUTTON_TRACK_SEL     M3   3
623
BUTTON_LIVE          M2   2
624
BUTTON_RECORD        M2   3
2294 tk 625
BUTTON_SAVE_ALL      M1   2
1864 tk 626
 
2294 tk 627
 
628
#                    SR  Pin
629
BUTTON_PAR_LAYER_SEL  0   0
630
BUTTON_TRG_LAYER_SEL  0   0
631
 
1864 tk 632
#               SR  Pin
633
BUTTON_UTILITY  M3   2
634
BUTTON_COPY     M7   3
635
BUTTON_PASTE    M8   2
636
BUTTON_CLEAR    M8   3
637
BUTTON_UNDO      0   0
2308 tk 638
BUTTON_MOVE      0   0
639
BUTTON_SCROLL    0   0
2324 tk 640
BUTTON_BOOKMARK  0   0
1864 tk 641
 
642
#                 SR  Pin
643
BUTTON_STEP_VIEW  M5   5
644
 
645
#                 SR  Pin
646
BUTTON_EXT_RESTART 0   0
647
 
648
#                SR  Pin
649
BUTTON_MIXER      0   0
650
 
651
#                SR  Pin
652
BUTTON_SAVE       0   0
653
 
654
#                   SR  Pin
655
BUTTON_PATTERN_RMX   0   0
656
 
657
#                 SR  Pin
658
BUTTON_FOOTSWITCH  0   0
659
 
2502 tk 660
#                 SR  Pin
661
BUTTON_ENC_BTN_FWD 0   0
662
 
1864 tk 663
#                      SR  Pin
664
BUTTON_TRACK_MODE       0   0
665
BUTTON_TRACK_GROOVE     0   0
666
BUTTON_TRACK_LENGTH     0   0
667
BUTTON_TRACK_DIRECTION  0   0
668
BUTTON_TRACK_MORPH      0   0
669
BUTTON_TRACK_TRANSPOSE  0   0
2294 tk 670
BUTTON_FX               0   0
671
BUTTON_TEMPO_PRESET     0   0
1864 tk 672
 
673
 
674
#                                   SR  Pin
675
BUTTON_MUTE_ALL_TRACKS               0   0
676
BUTTON_MUTE_TRACK_LAYERS             0   0
677
BUTTON_MUTE_ALL_TRACKS_AND_LAYERS    0   0
678
BUTTON_UNMUTE_ALL_TRACKS             0   0
679
BUTTON_UNMUTE_TRACK_LAYERS           0   0
680
BUTTON_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
681
 
682
 
683
# alternative (individual) bookmark buttons
684
# no LEDs available!
685
#                        SR  Pin
686
BUTTON_DIRECT_BOOKMARK1   0   0
687
BUTTON_DIRECT_BOOKMARK2   0   0
688
BUTTON_DIRECT_BOOKMARK3   0   0
689
BUTTON_DIRECT_BOOKMARK4   0   0
690
BUTTON_DIRECT_BOOKMARK5   0   0
691
BUTTON_DIRECT_BOOKMARK6   0   0
692
BUTTON_DIRECT_BOOKMARK7   0   0
693
BUTTON_DIRECT_BOOKMARK8   0   0
694
BUTTON_DIRECT_BOOKMARK9   0   0
695
BUTTON_DIRECT_BOOKMARK10  0   0
696
BUTTON_DIRECT_BOOKMARK11  0   0
697
BUTTON_DIRECT_BOOKMARK12  0   0
698
BUTTON_DIRECT_BOOKMARK13  0   0
699
BUTTON_DIRECT_BOOKMARK14  0   0
700
BUTTON_DIRECT_BOOKMARK15  0   0
701
BUTTON_DIRECT_BOOKMARK16  0   0
702
 
703
 
704
 
705
##################################################
706
# Button behaviour
707
# 0: active mode as long as button pressed
708
# 1: pressing button toggles the mode
709
##################################################
710
 
711
BUTTON_BEH_FAST         1
712
BUTTON_BEH_FAST2        0
713
BUTTON_BEH_ALL          1
714
BUTTON_BEH_SOLO         1
715
BUTTON_BEH_METRONOME    1
716
BUTTON_BEH_LOOP         1
717
BUTTON_BEH_FOLLOW       1
718
BUTTON_BEH_SCRUB        0
719
BUTTON_BEH_MENU         0
720
BUTTON_BEH_BOOKMARK     1
721
BUTTON_BEH_STEP_VIEW    0
722
BUTTON_BEH_TRG_LAYER    0
723
BUTTON_BEH_PAR_LAYER    0
724
BUTTON_BEH_TRACK_SEL    0
725
BUTTON_BEH_TEMPO_PRESET 0
726
 
727
 
728
##################################################
729
# Special Behaviour of ALL button
730
# 0: only parameter layers are modified by ALL function
731
# 1: trigger and parameter layers are modified by ALL function
732
##################################################
733
BUTTON_BEH_ALL_WITH_TRIGGERS 0
734
 
735
 
736
##################################################
737
# Encoder Functions
738
# SR = 0: encoder disabled
739
# SR = 1..16: DIN assignment
2135 tk 740
# Types: NON_DETENTED, DETENTED1, DETENTED2, DETENTED3, DETENTED4, DETENTED5
1864 tk 741
##################################################
742
 
743
#              SR  Pin  Type
744
ENC_DATAWHEEL   6   2   DETENTED3
745
 
746
# the speed value for the datawheel which is used when the "FAST" button is activated:
747
ENC_DATAWHEEL_FAST_SPEED 3
748
 
749
#        SR  Pin  Type
750
ENC_GP1   1   6   DETENTED3
751
ENC_GP2   1   4   DETENTED3
752
ENC_GP3   1   2   DETENTED3
753
ENC_GP4   1   0   DETENTED3
754
ENC_GP5   3   6   DETENTED3
755
ENC_GP6   3   4   DETENTED3
756
ENC_GP7   3   2   DETENTED3
757
ENC_GP8   3   0   DETENTED3
758
ENC_GP9   4   6   DETENTED3
759
ENC_GP10  4   4   DETENTED3
760
ENC_GP11  4   2   DETENTED3
761
ENC_GP12  4   0   DETENTED3
762
ENC_GP13  5   6   DETENTED3
763
ENC_GP14  5   4   DETENTED3
764
ENC_GP15  5   2   DETENTED3
765
ENC_GP16  5   0   DETENTED3
766
 
767
# the speed value for GP encoders which is used when the "FAST" button is activated:
768
ENC_GP_FAST_SPEED 3
769
 
770
# Auto FAST mode: if a layer is assigned to velocity or CC, the fast button will be automatically
771
# enabled - in other cases (e.g. Note or Length), the fast button will be automatically disabled
772
ENC_AUTO_FAST        1
773
 
774
# optional BPM encoder
775
#              SR  Pin  Type
776
ENC_BPM         7   0   DETENTED3
777
 
778
# the speed value for the BPM encoder which is used when the "FAST" function is activated
779
ENC_BPM_FAST_SPEED 3