Subversion Repositories svn.mios32

Rev

Rev 2308 | Rev 2324 | 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 2322 2016-03-15 19:08: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
 
242
# to which shift register are the LED anode lines connected?
243
# Allowed values: 0 to disable, 1..16 to assign shift register
2088 tk 244
BLM8X8_DOUT_LED_SR      2
1864 tk 245
 
246
# 0: no mapping of 8x8 LEDs
247
# 1: enable GP LED -> 8x8 matrix mapping for Wilba's MB-SEQ PCB
248
BLM8X8_DOUT_GP_MAPPING  1
249
 
250
# 8x8 matrix for misc. button functions
251
BLM8X8_DIN_SR  2
252
 
253
 
254
##################################################
255
# Optional BPM digits
256
##################################################
257
 
258
# set to 1 or 2 to enable the 3 optional BPM digits
259
# 0: BPM digits disabled
260
# 1: BPM digits with common cathode
261
# 2: BPM digits with common anode
262
BPM_DIGITS_ENABLED 1
263
 
264
# define the DOUT shift register to which the segments are connected (0=disabled)
265
BPM_DIGITS_SEGMENTS_SR 3
266
 
267
# define the DOUT SR and pin to which the common pins are connected
268
# we are counting from right to left
269
# Example: 140.5 BPM: (COMMON1 = .5, COMMON2=0., COMMON3=4, COMMON4=1)
270
#                       SR  Pin
271
BPM_DIGITS_COMMON1_PIN   4   0
272
BPM_DIGITS_COMMON2_PIN   4   1
273
BPM_DIGITS_COMMON3_PIN   4   2
274
BPM_DIGITS_COMMON4_PIN   4   3
275
 
276
 
277
##################################################
278
# Optional Step digits
279
##################################################
280
 
281
# set to 1 or 2 to enable the 3 optional STEP digits
282
# 0: STEP digits disabled
283
# 1: STEP digits with common cathode
284
# 2: STEP digits with common anode
285
STEP_DIGITS_ENABLED 1
286
 
287
# define the DOUT shift register to which the segments are connected (0=disabled)
288
STEP_DIGITS_SEGMENTS_SR 3
289
 
290
# define the DOUT SR and pin to which the common pins are connected
291
# we are counting from right to left
292
# Example: Step 123: (COMMON1 = 3, COMMON2=2, COMMON3=1)
293
#                       SR  Pin
294
STEP_DIGITS_COMMON1_PIN   4   4
295
STEP_DIGITS_COMMON2_PIN   4   5
296
STEP_DIGITS_COMMON3_PIN   4   6
297
 
298
 
299
##################################################
300
# Optional LED Track Position Display
301
# See also http://www.midibox.org/dokuwiki/doku.php?id=tpd_pcb
302
##################################################
303
 
304
# set to 1 or 2 to enable the relative track position display
305
# 0: TPD disabled
306
# 1: TPD enabled - columns are cathodes, rows are anodes
307
# 2: TPD enabled - columns are anodes, rows are cathodes
308
TPD_ENABLED 2
309
 
310
# define the DOUT shift register to which the columns are connected (0=disabled)
311
TPD_COLUMNS_SR_L 10
312
 
313
# for a 16x16 TPD: define the SR to which the right columns are connected (0=disabled, use only 8x8 TPD)
314
TPD_COLUMNS_SR_R 7
315
 
316
# define the DOUT shift register to which the green LED rows are connected (0=disabled)
317
TPD_ROWS_SR_GREEN_L 8
318
 
319
# define the DOUT shift register to which the right green LED rows are connected (0=disabled, use only 8x8 TPD)
320
TPD_ROWS_SR_GREEN_R 5
321
 
322
# define the DOUT shift register to which the red LED rows are connected (0=disabled)
323
TPD_ROWS_SR_RED_L 9
324
 
325
# define the DOUT shift register to which the right red LED rows are connected (0=disabled, use only 8x8 TPD)
326
TPD_ROWS_SR_RED_R 6
327
 
328
 
329
##################################################
330
# CV and Gate/Trigger/Sync Setup
331
##################################################
332
 
2242 tk 333
# AOUT interface now selected in CV Configuration Menu and stored in MBSEQ_GC.V4 file
1864 tk 334
# please scroll through the menu to find this page!
335
 
2098 tk 336
# the 8 CV gates can be assigned to a shift register (0=off, 1-32: number of shift register):
2088 tk 337
# - 1st CV Gate available at DOUT SR output D7
338
# - 2nd CV Gate available at DOUT SR output D6
339
# - 3rd CV Gate available at DOUT SR output D5
340
# - ...
341
# - 8th CV Gate available at DOUT SR output D0
342
CV_GATE_SR1   0
343
 
2098 tk 344
# and DIN Clock Outputs can be assigned to a shift register as well (0=off, 1-32: number of shift register):
345
# D7..D0 will output individual clock or start/stop signals which can be configured in the CV configuration page
2088 tk 346
CLK_SR        0
347
 
1864 tk 348
# additional gate triggers are available on common digital output pins of the
349
# DOUT shift register chain - they are assigned to AOUT channel #16 (Note C-1, C#1, D-1, ...)
350
# define the shift registers which should be used here (each provides 8 gates)
351
# Note that SRs assigned to this function cannot be used as LED outputs (exclusive function)
2098 tk 352
# Allowed values: 1-32, 0 disables the function, all other values invalid and not allowed
1864 tk 353
DOUT_GATE_SR1   0
354
DOUT_GATE_SR2   0
355
DOUT_GATE_SR3   0
356
DOUT_GATE_SR4   0
357
DOUT_GATE_SR5   0
358
DOUT_GATE_SR6   0
359
DOUT_GATE_SR7   0
360
DOUT_GATE_SR8   0
361
 
2098 tk 362
# if set to 1, the additional DOUT "gates" will send 1mS pulses
1864 tk 363
# useful for analog drums
364
DOUT_1MS_TRIGGER 0
365
 
366
# should J5A/B/C outputs be enabled (0: no, 1: yes, 2: yes, but in open drain mode)?
367
#  - the 6 first AOUT gates will be forwarded to J5A/B
368
#  - the remaining last 2 AOUT gates are available at J5C.A10 and J5C.A11 (LPC17: J28.WS and J28.MCLK)
369
#  - DIN sync clock will be forwarded to J5C:A0 (LPC17: J28.SDA)
370
#  - DIN sync start/stop will be forwarded to J5C:A1 (LPC17: J28.SC)
371
#  - if open drain mode enabled (option 2), external pull-ups have to be connected to J5 pins
372
#    (advantage: pin levels can be pulled to 5V)
373
#
374
# NEVER USE THIS TOGETHER WITH ANALOG POTS - IT WILL CAUSE A SHORT CIRCUIT!
375
J5_ENABLED 1
376
 
377
 
378
##################################################
379
# LED assignments to DOUT pins
380
# SR = 0: LED disabled
381
# SR = 1..23:  directly forwarded to DOUT pin
382
# SR = M1..M8: forwarded to a 8x8 LED matrix
2105 tk 383
#
384
# Please note: due to historical reasons, pin 0-7
385
# are mirrored!
386
# Pin 0 = DOUT Pin D7
387
# Pin 1 = DOUT Pin D6
388
# Pin 2 = DOUT Pin D5
389
# ...
390
# Pin 7 = DOUT Pin D0
1864 tk 391
##################################################
392
 
393
#           SR  Pin
394
LED_TRACK1  M7   2
395
LED_TRACK2  M7   1
396
LED_TRACK3  M5   2
397
LED_TRACK4  M5   1
398
 
399
#                SR  Pin
400
LED_PAR_LAYER_A  M4   2
401
LED_PAR_LAYER_B  M4   1
402
LED_PAR_LAYER_C  M4   0
403
 
2301 tk 404
#            SR  Pin
405
LED_BEAT    M1   1
406
LED_MEASURE  0   0
1864 tk 407
 
408
#                    SR  Pin
409
LED_MIDI_IN_COMBINED  0   0
410
LED_MIDI_OUT_COMBINED 0   0
411
 
412
#           SR  Pin
413
LED_EDIT    M5   3
414
LED_MUTE    M6   3
415
LED_PATTERN M6   2
416
LED_SONG    M7   3
417
 
418
#           SR  Pin
419
LED_SOLO    M6   1
420
LED_FAST    M6   0
421
LED_FAST2    0   0
422
LED_ALL     M7   0
423
 
424
#           SR  Pin
425
LED_GROUP1  M8   3
426
LED_GROUP2  M8   2
427
LED_GROUP3  M8   1
428
LED_GROUP4  M8   0
429
 
430
#                SR  Pin
431
LED_TRG_LAYER_A  M2   2
432
LED_TRG_LAYER_B  M2   1
433
LED_TRG_LAYER_C  M2   0
434
 
435
#          SR  Pin
436
LED_PLAY   M1   3
437
LED_STOP   M3   3
438
LED_PAUSE  M2   3
439
LED_REW    M3   2
440
LED_FWD    M1   2
441
LED_LOOP    0   0
442
LED_FOLLOW  0   0
443
 
444
#              SR  Pin
445
LED_EXIT        0   0
446
LED_SELECT      0   0
447
LED_MENU        0   0
448
LED_BOOKMARK    0   0
449
LED_SCRUB       0   0
450
LED_METRONOME   0   0
451
LED_RECORD      0   0
2322 tk 452
LED_JAM_LIVE    0   0
453
LED_JAM_STEP    0   0
1864 tk 454
LED_LIVE        0   0
455
LED_UTILITY     0   0
456
LED_COPY        0   0
457
LED_PASTE       0   0
458
LED_CLEAR       0   0
459
LED_UNDO        0   0
2308 tk 460
LED_MOVE        0   0
461
LED_SCROLL      0   0
1864 tk 462
 
463
#                  SR  Pin
464
LED_STEP_VIEW      M3   1
465
LED_PAR_LAYER_SEL   0   0
466
LED_TRG_LAYER_SEL   0   0
467
LED_TRACK_SEL       0   0
468
 
469
#                  SR  Pin
470
LED_TAP_TEMPO       0   0
471
LED_TEMPO_PRESET    0   0
472
LED_EXT_RESTART     0   0
473
 
474
#         SR  Pin
475
LED_DOWN   0   0
476
LED_UP     0   0
477
 
478
#             SR  Pin
479
LED_MIXER      0   0
480
 
481
#                   SR  Pin
482
LED_TRACK_MODE       0   0
483
LED_TRACK_GROOVE     0   0
484
LED_TRACK_LENGTH     0   0
485
LED_TRACK_DIRECTION  0   0
486
LED_TRACK_MORPH      0   0
487
LED_TRACK_TRANSPOSE  0   0
2294 tk 488
LED_FX               0   0
1864 tk 489
 
490
#                                SR  Pin
491
LED_MUTE_ALL_TRACKS               0   0
492
LED_MUTE_TRACK_LAYERS             0   0
493
LED_MUTE_ALL_TRACKS_AND_LAYERS    0   0
494
LED_UNMUTE_ALL_TRACKS             0   0
495
LED_UNMUTE_TRACK_LAYERS           0   0
496
LED_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
497
 
498
 
499
##################################################
500
# Button assignments to DIN pins
501
# SR = 0: Button disabled
502
# SR = 1..23:  directly triggered from DIN pin
503
# SR = M1..M8: triggered from a 8x8 button matrix
504
##################################################
505
 
506
#            SR  Pin
507
BUTTON_DOWN  M4   2
508
BUTTON_UP    M4   3
509
BUTTON_LEFT   0   0
510
BUTTON_RIGHT  0   0
511
 
512
#                SR  Pin
513
BUTTON_SCRUB     M4   4
514
BUTTON_METRONOME M4   5
515
BUTTON_LIVE       0   0
2322 tk 516
BUTTON_JAM_LIVE   0   0
517
BUTTON_JAM_STEP   0   0
1864 tk 518
 
519
#             SR  Pin
520
BUTTON_STOP   M3   5
521
BUTTON_PAUSE  M2   4
522
BUTTON_PLAY   M2   5
523
BUTTON_REW    M3   4
524
BUTTON_FWD    M1   4
525
BUTTON_LOOP    0   0
526
BUTTON_FOLLOW  0   0
527
 
528
#              SR  Pin
529
BUTTON_MENU    M7   5
530
BUTTON_SELECT  M8   4
531
BUTTON_EXIT    M8   5
532
 
533
#              SR  Pin
534
BUTTON_TRACK1  M7   6
535
BUTTON_TRACK2  M7   7
536
BUTTON_TRACK3  M5   6
537
BUTTON_TRACK4  M5   7
538
 
539
#                  SR  Pin
540
BUTTON_PAR_LAYER_A M4   6
541
BUTTON_PAR_LAYER_B M4   7
542
BUTTON_PAR_LAYER_C M3   6
543
 
544
#               SR  Pin
545
BUTTON_EDIT     M5   3
546
BUTTON_MUTE     M6   2
547
BUTTON_PATTERN  M6   3
548
BUTTON_SONG     M7   2
549
 
550
#            SR  Pin
551
BUTTON_SOLO  M6   4
552
BUTTON_FAST  M6   5
553
BUTTON_FAST2  0   0
554
BUTTON_ALL   M7   4
555
 
556
#            SR  Pin
557
BUTTON_GP1   M5   0
558
BUTTON_GP2   M5   1
559
BUTTON_GP3   M6   0
560
BUTTON_GP4   M6   1
561
BUTTON_GP5   M7   0
562
BUTTON_GP6   M7   1
563
BUTTON_GP7   M8   0
564
BUTTON_GP8   M8   1
565
BUTTON_GP9   M4   0
566
BUTTON_GP10  M4   1
567
BUTTON_GP11  M3   0
568
BUTTON_GP12  M3   1
569
BUTTON_GP13  M2   0
570
BUTTON_GP14  M2   1
571
BUTTON_GP15  M1   0
572
BUTTON_GP16  M1   1
573
 
574
#              SR  Pin
575
BUTTON_GROUP1  M8   6
576
BUTTON_GROUP2  M8   7
577
BUTTON_GROUP3  M6   6
578
BUTTON_GROUP4  M6   7
579
 
580
# alternative (individual) track selection buttons
581
# LEDs have to be assigned to TRACKS_DOUT_L_SR and TRACKS_DOUT_R_SR
582
#                     SR  Pin
583
BUTTON_DIRECT_TRACK1   0   0
584
BUTTON_DIRECT_TRACK2   0   0
585
BUTTON_DIRECT_TRACK3   0   0
586
BUTTON_DIRECT_TRACK4   0   0
587
BUTTON_DIRECT_TRACK5   0   0
588
BUTTON_DIRECT_TRACK6   0   0
589
BUTTON_DIRECT_TRACK7   0   0
590
BUTTON_DIRECT_TRACK8   0   0
591
BUTTON_DIRECT_TRACK9   0   0
592
BUTTON_DIRECT_TRACK10  0   0
593
BUTTON_DIRECT_TRACK11  0   0
594
BUTTON_DIRECT_TRACK12  0   0
595
BUTTON_DIRECT_TRACK13  0   0
596
BUTTON_DIRECT_TRACK14  0   0
597
BUTTON_DIRECT_TRACK15  0   0
598
BUTTON_DIRECT_TRACK16  0   0
599
 
600
#                   SR  Pin
601
BUTTON_TRG_LAYER_A  M2   6
602
BUTTON_TRG_LAYER_B  M2   7
603
BUTTON_TRG_LAYER_C  M1   6
604
 
605
 
606
# Following button functions are usually assigned to Fx
607
# buttons, or to dedicated (labeled) buttons
608
# In Wilba's frontpanel layout:
609
# F1 is located at SR M3 Pin 3
610
# F2 is located at SR M2 Pin 2
611
# F3 is located at SR M2 Pin 3
612
# F4 is located at SR M1 Pin 2
613
# and there are dedicated buttons for Copy/Paste/Clear/Utility/StepView
614
 
615
#                    SR  Pin
616
BUTTON_BOOKMARK      M3   3
2294 tk 617
BUTTON_RECORD        M2   2
618
BUTTON_TAP_TEMPO     M2   3
619
BUTTON_SAVE_ALL      M1   2
1864 tk 620
 
2294 tk 621
 
622
#                    SR  Pin
623
BUTTON_PAR_LAYER_SEL  0   0
624
BUTTON_TRG_LAYER_SEL  0   0
625
BUTTON_TRACK_SEL      0   0
626
 
1864 tk 627
#               SR  Pin
628
BUTTON_UTILITY  M3   2
629
BUTTON_COPY     M7   3
630
BUTTON_PASTE    M8   2
631
BUTTON_CLEAR    M8   3
632
BUTTON_UNDO      0   0
2308 tk 633
BUTTON_MOVE      0   0
634
BUTTON_SCROLL    0   0
1864 tk 635
 
636
#                 SR  Pin
637
BUTTON_STEP_VIEW  M5   5
638
 
639
#                 SR  Pin
640
BUTTON_EXT_RESTART 0   0
641
 
642
#                SR  Pin
643
BUTTON_MIXER      0   0
644
 
645
#                SR  Pin
646
BUTTON_SAVE       0   0
647
 
648
#                   SR  Pin
649
BUTTON_PATTERN_RMX   0   0
650
 
651
#                 SR  Pin
652
BUTTON_FOOTSWITCH  0   0
653
 
654
#                      SR  Pin
655
BUTTON_TRACK_MODE       0   0
656
BUTTON_TRACK_GROOVE     0   0
657
BUTTON_TRACK_LENGTH     0   0
658
BUTTON_TRACK_DIRECTION  0   0
659
BUTTON_TRACK_MORPH      0   0
660
BUTTON_TRACK_TRANSPOSE  0   0
2294 tk 661
BUTTON_FX               0   0
662
BUTTON_TEMPO_PRESET     0   0
1864 tk 663
 
664
 
665
#                                   SR  Pin
666
BUTTON_MUTE_ALL_TRACKS               0   0
667
BUTTON_MUTE_TRACK_LAYERS             0   0
668
BUTTON_MUTE_ALL_TRACKS_AND_LAYERS    0   0
669
BUTTON_UNMUTE_ALL_TRACKS             0   0
670
BUTTON_UNMUTE_TRACK_LAYERS           0   0
671
BUTTON_UNMUTE_ALL_TRACKS_AND_LAYERS  0   0
672
 
673
 
674
# alternative (individual) bookmark buttons
675
# no LEDs available!
676
#                        SR  Pin
677
BUTTON_DIRECT_BOOKMARK1   0   0
678
BUTTON_DIRECT_BOOKMARK2   0   0
679
BUTTON_DIRECT_BOOKMARK3   0   0
680
BUTTON_DIRECT_BOOKMARK4   0   0
681
BUTTON_DIRECT_BOOKMARK5   0   0
682
BUTTON_DIRECT_BOOKMARK6   0   0
683
BUTTON_DIRECT_BOOKMARK7   0   0
684
BUTTON_DIRECT_BOOKMARK8   0   0
685
BUTTON_DIRECT_BOOKMARK9   0   0
686
BUTTON_DIRECT_BOOKMARK10  0   0
687
BUTTON_DIRECT_BOOKMARK11  0   0
688
BUTTON_DIRECT_BOOKMARK12  0   0
689
BUTTON_DIRECT_BOOKMARK13  0   0
690
BUTTON_DIRECT_BOOKMARK14  0   0
691
BUTTON_DIRECT_BOOKMARK15  0   0
692
BUTTON_DIRECT_BOOKMARK16  0   0
693
 
694
 
695
 
696
##################################################
697
# Button behaviour
698
# 0: active mode as long as button pressed
699
# 1: pressing button toggles the mode
700
##################################################
701
 
702
BUTTON_BEH_FAST         1
703
BUTTON_BEH_FAST2        0
704
BUTTON_BEH_ALL          1
705
BUTTON_BEH_SOLO         1
706
BUTTON_BEH_METRONOME    1
707
BUTTON_BEH_LOOP         1
708
BUTTON_BEH_FOLLOW       1
709
BUTTON_BEH_SCRUB        0
710
BUTTON_BEH_MENU         0
711
BUTTON_BEH_BOOKMARK     1
712
BUTTON_BEH_STEP_VIEW    0
713
BUTTON_BEH_TRG_LAYER    0
714
BUTTON_BEH_PAR_LAYER    0
715
BUTTON_BEH_TRACK_SEL    0
716
BUTTON_BEH_TEMPO_PRESET 0
717
 
718
 
719
##################################################
720
# Special Behaviour of ALL button
721
# 0: only parameter layers are modified by ALL function
722
# 1: trigger and parameter layers are modified by ALL function
723
##################################################
724
BUTTON_BEH_ALL_WITH_TRIGGERS 0
725
 
726
 
727
##################################################
728
# Encoder Functions
729
# SR = 0: encoder disabled
730
# SR = 1..16: DIN assignment
2135 tk 731
# Types: NON_DETENTED, DETENTED1, DETENTED2, DETENTED3, DETENTED4, DETENTED5
1864 tk 732
##################################################
733
 
734
#              SR  Pin  Type
735
ENC_DATAWHEEL   6   2   DETENTED3
736
 
737
# the speed value for the datawheel which is used when the "FAST" button is activated:
738
ENC_DATAWHEEL_FAST_SPEED 3
739
 
740
#        SR  Pin  Type
741
ENC_GP1   1   6   DETENTED3
742
ENC_GP2   1   4   DETENTED3
743
ENC_GP3   1   2   DETENTED3
744
ENC_GP4   1   0   DETENTED3
745
ENC_GP5   3   6   DETENTED3
746
ENC_GP6   3   4   DETENTED3
747
ENC_GP7   3   2   DETENTED3
748
ENC_GP8   3   0   DETENTED3
749
ENC_GP9   4   6   DETENTED3
750
ENC_GP10  4   4   DETENTED3
751
ENC_GP11  4   2   DETENTED3
752
ENC_GP12  4   0   DETENTED3
753
ENC_GP13  5   6   DETENTED3
754
ENC_GP14  5   4   DETENTED3
755
ENC_GP15  5   2   DETENTED3
756
ENC_GP16  5   0   DETENTED3
757
 
758
# the speed value for GP encoders which is used when the "FAST" button is activated:
759
ENC_GP_FAST_SPEED 3
760
 
761
# Auto FAST mode: if a layer is assigned to velocity or CC, the fast button will be automatically
762
# enabled - in other cases (e.g. Note or Length), the fast button will be automatically disabled
763
ENC_AUTO_FAST        1
764
 
765
# optional BPM encoder
766
#              SR  Pin  Type
767
ENC_BPM         7   0   DETENTED3
768
 
769
# the speed value for the BPM encoder which is used when the "FAST" function is activated
770
ENC_BPM_FAST_SPEED 3