can someone tell me how to map incomming midi events to led’s on the dout module.?? (in applications like the midibox64 and 64e)
the tutorials and walk-thru’s touch on this, but dont go into detail.
an example of my proble is this:
on my transport controls, i assign a button to send an event to cubase, and cubase echos the event back out ( presumably to the led), so that when you press play on the midibox, and then stop with the mouse inside cubase, everything still jives…
the LED behaviour can be configured on a very flexible way - maybe too flexible?
Just read the midibox64.ini file, which is part of the mk_syx package:
################################################################################
# LED Map: assignes the LED shift registers to the Button Shift
# registers or special values
# Currently following values are supported:
# 0 Default Setting (see Map below)
# 1 Button Shift Register 1 (Button ID #1-#8)
# 2 Button Shift Register 2 (Button ID #9-#16)
# 3 Button Shift Register 3 (F1-F4 and Navigation Buttons: ID #17-#24)
# 4 Button Shift Register 4 (Button ID #25-#32)
# 5 Button Shift Register 5 (Button ID #33-#40)
# 6 Button Shift Register 6 (Button ID #41-#48)
# 7 Button Shift Register 7 (Button ID #49-#56)
# 8 Button Shift Register 8 (Button ID #57-#64)
# 9 reserved
# 10 External Bank (1 of 8)
# 11-15 reserved
# 16 MIDI Status received for Button ID #1-#8
# 17 MIDI Status received for Button ID #9-#16
# 18 MIDI Status received for Button ID #17-#24
# 19 MIDI Status received for Button ID #25-#32
# 20 MIDI Status received for Button ID #33-#40
# 21 MIDI Status received for Button ID #41-#48
# 22 MIDI Status received for Button ID #49-#56
# 23 MIDI Status received for Button ID #57-#64
# 24-31 reserved
################################################################################
[LED_MAP]
LED_SR1 = 1 # (Button ID #1-#8)
LED_SR2 = 2 # (Button ID #9-#16)
LED_SR3 = 3 # (F1-F4 and Navigation Buttons: ID #17-#24)
LED_SR4 = 4 # (Button ID #57-#64)
LED_SR5 = 5 # (Button ID #25-#32)
LED_SR6 = 6 # (Button ID #33-#40)
LED_SR7 = 7 # (Button ID #41-#48)
LED_SR8 = 8 # (Button ID #49-#56)
[/code]
So, let's say you want to map the incoming events, which are assigned to button #1..#8, to the first DOUT shift register, then write:
[code]
LED\_SR1 = 16