Subversion Repositories svn.mios32

Rev

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

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