Jump to content

Midibox NG 24 Tracks


All2u
 Share

Recommended Posts

Hello all,

 

I plan to build a 24 tracks midibox controller (See the attached image) and I have many questions about the ngc configuration file.

 

So, for start this is my ngc file it isn't complete but this is a good point of start for me to understand how it's working :

 

################################################################################

# SETUP FOR MIDIBOX NG 24 TRACKS FOR CUBASE
# WITH LEDRINGS - MOTORFADERS - LED DIGITS - LED METERS
################################################################################

RESET_HW
LCD "%C@(1:1:1)  Midibox NG 24"

################################################################################
# SysEx communication
################################################################################

# Device ID selects the device:
#   0x10 : Logic Control
#   0x11 : Logic Control XT
#   0x14 : Mackie Control
#   0x15 : Mackie Control XT
SYSEX_VAR dev=0x15

################################################################################
# MCU1 via USB1
################################################################################

# Receive Device Query -> send Host Connection Query
EVENT_RECEIVER id=  1  fwd_id=SENDER:1 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x00 0xf7"
EVENT_SENDER   id=  1 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x01 0x4d 0x42 0x4e 0x47 0x56 0x31 0x00 0x00 0x00 0x00 0xf7"


# Receive Host Connection Reply -> send Host Connection Confirmation
EVENT_RECEIVER id=  2  fwd_id=SENDER:2 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x02 0xf7"
EVENT_SENDER   id=  2 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x03 0x4d 0x42 0x4e 0x47 0x56 0x31 0xf7"


# Firmware version request
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x13 00 0xf7"
EVENT_SENDER   id=  3 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x14 0x56 0x31 0x2e 0x34 0x32 0xf7"


# Special Query for Mackie Control
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1a 0xf7"
EVENT_SENDER   id=  3 \
               ports=1000000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1b 0x42 0xf7"

################################################################################
# MCU2 via USB2
################################################################################

# Receive Device Query -> send Host Connection Query
EVENT_RECEIVER id=  1  fwd_id=SENDER:1 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x00 0xf7"
EVENT_SENDER   id=  1 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x01 0x4d 0x42 0x4e 0x47 0x56 0x31 0x00 0x00 0x00 0x00 0xf7"


# Receive Host Connection Reply -> send Host Connection Confirmation
EVENT_RECEIVER id=  2  fwd_id=SENDER:2 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x02 0xf7"
EVENT_SENDER   id=  2 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x03 0x4d 0x42 0x4e 0x47 0x56 0x31 0xf7"


# Firmware version request
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x13 00 0xf7"
EVENT_SENDER   id=  3 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x14 0x56 0x31 0x2e 0x34 0x32 0xf7"


# Special Query for Mackie Control
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1a 0xf7"
EVENT_SENDER   id=  3 \
               ports=0100000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1b 0x42 0xf7"

################################################################################
# MCU3 via USB3
################################################################################

# Receive Device Query -> send Host Connection Query
EVENT_RECEIVER id=  1  fwd_id=SENDER:1 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x00 0xf7"
EVENT_SENDER   id=  1 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x01 0x4d 0x42 0x4e 0x47 0x56 0x31 0x00 0x00 0x00 0x00 0xf7"


# Receive Host Connection Reply -> send Host Connection Confirmation
EVENT_RECEIVER id=  2  fwd_id=SENDER:2 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x02 0xf7"
EVENT_SENDER   id=  2 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x03 0x4d 0x42 0x4e 0x47 0x56 0x31 0xf7"


# Firmware version request
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x13 00 0xf7"
EVENT_SENDER   id=  3 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x14 0x56 0x31 0x2e 0x34 0x32 0xf7"


# Special Query for Mackie Control
EVENT_RECEIVER id=  3  fwd_id=SENDER:3 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1a 0xf7"
EVENT_SENDER   id=  3 \
               ports=0010000000000000 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1b 0x42 0xf7"

###############################################################################     
           
# this generic receiver (without controller assignment) receives the MTC digits
# and notifies all events which select syxdump_pos=10:<pos-in-dump>
EVENT_RECEIVER id=10  type=SysEx  stream="0xf0 0x00 0x00 0x66 ^dev 0x10 ^dump"

# this generic receiver (without controller assignment) receives the status digits
# and notifies all events which select syxdump_pos=11:<pos-in-dump>
EVENT_RECEIVER id=11  type=SysEx  stream="0xf0 0x00 0x00 0x66 ^dev 0x11 ^dump"

# LCD Messages
# Note: we use ^txt56 instead of ^txt, so that the cursor will jump
#       to the next line after the 56th character has been reached
#       Use map=1 to map the cursor positions over a 2x80 LCD
EVENT_RECEIVER id=  5 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x12 ^cursor ^txt56" \
        range=map1
# X cursor positions are defined in MAP1
# spread message over two 2x40 LCDs
MAP1   2  3  4  5  6  7  8 \
      12 13 14 15 16 17 18 \
      22 23 24 25 26 27 28 \
      32 33 34 35 36 37 38 \
      42 43 44 45 46 47 48 \
      52 53 54 55 56 57 58 \
      62 63 64 65 66 67 68 \
      72 73 74 75 76 77 78
# use this definition instead of the one above to print on a GLCD with small font (will work with a 240x64 LCD)
# if multiple GLCDs are used, you could also use the normal font (&n)
# not shown here: of course, it's possible to map to different cursor positions as well.
#EVENT_RECEIVER id= 5 \
#               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x12 ^cursor ^txt56" \
#        lcd_pos=1:3:1 label="&s"

################################################################################
# Rec/Ready 1-8 (Note Key: 0x00..0x07)
################################################################################
EVENT_BUTTON id=  1  type=NoteOn chn= 1 key=0x00 ports=1000000000000000
EVENT_BUTTON id=  2  type=NoteOn chn= 1 key=0x01 ports=1000000000000000
EVENT_BUTTON id=  3  type=NoteOn chn= 1 key=0x02 ports=1000000000000000
EVENT_BUTTON id=  4  type=NoteOn chn= 1 key=0x03 ports=1000000000000000
EVENT_BUTTON id=  5  type=NoteOn chn= 1 key=0x04 ports=1000000000000000
EVENT_BUTTON id=  6  type=NoteOn chn= 1 key=0x05 ports=1000000000000000
EVENT_BUTTON id=  7  type=NoteOn chn= 1 key=0x06 ports=1000000000000000
EVENT_BUTTON id=  8  type=NoteOn chn= 1 key=0x07 ports=1000000000000000
EVENT_LED    id= 1   type=NoteOn chn= 1 key=0x07 ports=1000000000000000
EVENT_LED    id= 2   type=NoteOn chn= 1 key=0x06 ports=1000000000000000
EVENT_LED    id= 3   type=NoteOn chn= 1 key=0x05 ports=1000000000000000
EVENT_LED    id= 4   type=NoteOn chn= 1 key=0x04 ports=1000000000000000
EVENT_LED    id= 5   type=NoteOn chn= 1 key=0x03 ports=1000000000000000
EVENT_LED    id= 6   type=NoteOn chn= 1 key=0x02 ports=1000000000000000
EVENT_LED    id= 7   type=NoteOn chn= 1 key=0x01 ports=1000000000000000
EVENT_LED    id= 8   type=NoteOn chn= 1 key=0x00 ports=1000000000000000

################################################################################
# Solo 1-8 (Note Key: 0x08..0x0f)
################################################################################
EVENT_BUTTON id= 9   type=NoteOn chn= 1 key=0x08 ports=1000000000000000
EVENT_BUTTON id= 10  type=NoteOn chn= 1 key=0x09 ports=1000000000000000
EVENT_BUTTON id= 11  type=NoteOn chn= 1 key=0x0a ports=1000000000000000
EVENT_BUTTON id= 12  type=NoteOn chn= 1 key=0x0b ports=1000000000000000
EVENT_BUTTON id= 13  type=NoteOn chn= 1 key=0x0c ports=1000000000000000
EVENT_BUTTON id= 14  type=NoteOn chn= 1 key=0x0d ports=1000000000000000
EVENT_BUTTON id= 15  type=NoteOn chn= 1 key=0x0e ports=1000000000000000
EVENT_BUTTON id= 16  type=NoteOn chn= 1 key=0x0f ports=1000000000000000
EVENT_LED    id= 9   type=NoteOn chn= 1 key=0x0f ports=1000000000000000
EVENT_LED    id= 10  type=NoteOn chn= 1 key=0x0e ports=1000000000000000
EVENT_LED    id= 11  type=NoteOn chn= 1 key=0x0d ports=1000000000000000
EVENT_LED    id= 12  type=NoteOn chn= 1 key=0x0c ports=1000000000000000
EVENT_LED    id= 13  type=NoteOn chn= 1 key=0x0b ports=1000000000000000
EVENT_LED    id= 14  type=NoteOn chn= 1 key=0x0a ports=1000000000000000
EVENT_LED    id= 15  type=NoteOn chn= 1 key=0x09 ports=1000000000000000
EVENT_LED    id= 16  type=NoteOn chn= 1 key=0x08 ports=1000000000000000

################################################################################
# Mute 1-8 (Note Key: 0x10..0x17)
################################################################################
EVENT_BUTTON id= 17   type=NoteOn chn= 1 key=0x10 ports=1000000000000000
EVENT_BUTTON id= 18   type=NoteOn chn= 1 key=0x11 ports=1000000000000000
EVENT_BUTTON id= 19   type=NoteOn chn= 1 key=0x12 ports=1000000000000000
EVENT_BUTTON id= 20   type=NoteOn chn= 1 key=0x13 ports=1000000000000000
EVENT_BUTTON id= 21   type=NoteOn chn= 1 key=0x14 ports=1000000000000000
EVENT_BUTTON id= 22   type=NoteOn chn= 1 key=0x15 ports=1000000000000000
EVENT_BUTTON id= 23   type=NoteOn chn= 1 key=0x16 ports=1000000000000000
EVENT_BUTTON id= 24   type=NoteOn chn= 1 key=0x17 ports=1000000000000000
EVENT_LED    id= 17   type=NoteOn chn= 1 key=0x17 ports=1000000000000000
EVENT_LED    id= 18   type=NoteOn chn= 1 key=0x16 ports=1000000000000000
EVENT_LED    id= 19   type=NoteOn chn= 1 key=0x15 ports=1000000000000000
EVENT_LED    id= 20   type=NoteOn chn= 1 key=0x14 ports=1000000000000000
EVENT_LED    id= 21   type=NoteOn chn= 1 key=0x13 ports=1000000000000000
EVENT_LED    id= 22   type=NoteOn chn= 1 key=0x12 ports=1000000000000000
EVENT_LED    id= 23   type=NoteOn chn= 1 key=0x11 ports=1000000000000000
EVENT_LED    id= 24   type=NoteOn chn= 1 key=0x10 ports=1000000000000000

################################################################################
# Select 1-8 (Note Key: 0x18..0x1f)
################################################################################
EVENT_BUTTON id= 25   type=NoteOn chn= 1 key=0x18 ports=1000000000000000
EVENT_BUTTON id= 26   type=NoteOn chn= 1 key=0x19 ports=1000000000000000
EVENT_BUTTON id= 27   type=NoteOn chn= 1 key=0x1a ports=1000000000000000
EVENT_BUTTON id= 28   type=NoteOn chn= 1 key=0x1b ports=1000000000000000
EVENT_BUTTON id= 29   type=NoteOn chn= 1 key=0x1c ports=1000000000000000
EVENT_BUTTON id= 30   type=NoteOn chn= 1 key=0x1d ports=1000000000000000
EVENT_BUTTON id= 31   type=NoteOn chn= 1 key=0x1e ports=1000000000000000
EVENT_BUTTON id= 32   type=NoteOn chn= 1 key=0x1f ports=1000000000000000
EVENT_LED    id= 25   type=NoteOn chn= 1 key=0x1f ports=1000000000000000
EVENT_LED    id= 26   type=NoteOn chn= 1 key=0x1e ports=1000000000000000
EVENT_LED    id= 27   type=NoteOn chn= 1 key=0x1d ports=1000000000000000
EVENT_LED    id= 28   type=NoteOn chn= 1 key=0x1c ports=1000000000000000
EVENT_LED    id= 29   type=NoteOn chn= 1 key=0x1b ports=1000000000000000
EVENT_LED    id= 30   type=NoteOn chn= 1 key=0x1a ports=1000000000000000
EVENT_LED    id= 31   type=NoteOn chn= 1 key=0x19 ports=1000000000000000
EVENT_LED    id= 32   type=NoteOn chn= 1 key=0x18 ports=1000000000000000

################################################################################
# Rec/Ready 9-16 (Note Key: 0x00..0x07)
################################################################################
EVENT_BUTTON id= 33  type=NoteOn chn= 1 key=0x00 ports=0100000000000000
EVENT_BUTTON id= 34  type=NoteOn chn= 1 key=0x01 ports=0100000000000000
EVENT_BUTTON id= 35  type=NoteOn chn= 1 key=0x02 ports=0100000000000000
EVENT_BUTTON id= 36  type=NoteOn chn= 1 key=0x03 ports=0100000000000000
EVENT_BUTTON id= 37  type=NoteOn chn= 1 key=0x04 ports=0100000000000000
EVENT_BUTTON id= 38  type=NoteOn chn= 1 key=0x05 ports=0100000000000000
EVENT_BUTTON id= 39  type=NoteOn chn= 1 key=0x06 ports=0100000000000000
EVENT_BUTTON id= 40  type=NoteOn chn= 1 key=0x07 ports=0100000000000000
EVENT_LED    id= 33  type=NoteOn chn= 1 key=0x07 ports=0100000000000000
EVENT_LED    id= 34  type=NoteOn chn= 1 key=0x06 ports=0100000000000000
EVENT_LED    id= 35  type=NoteOn chn= 1 key=0x05 ports=0100000000000000
EVENT_LED    id= 36  type=NoteOn chn= 1 key=0x04 ports=0100000000000000
EVENT_LED    id= 37  type=NoteOn chn= 1 key=0x03 ports=0100000000000000
EVENT_LED    id= 38  type=NoteOn chn= 1 key=0x02 ports=0100000000000000
EVENT_LED    id= 39  type=NoteOn chn= 1 key=0x01 ports=0100000000000000
EVENT_LED    id= 40  type=NoteOn chn= 1 key=0x00 ports=0100000000000000

################################################################################
# Solo 9-16 (Note Key: 0x08..0x0f)
################################################################################
EVENT_BUTTON id= 41  type=NoteOn chn= 1 key=0x08 ports=0100000000000000
EVENT_BUTTON id= 42  type=NoteOn chn= 1 key=0x09 ports=0100000000000000
EVENT_BUTTON id= 43  type=NoteOn chn= 1 key=0x0a ports=0100000000000000
EVENT_BUTTON id= 44  type=NoteOn chn= 1 key=0x0b ports=0100000000000000
EVENT_BUTTON id= 45  type=NoteOn chn= 1 key=0x0c ports=0100000000000000
EVENT_BUTTON id= 46  type=NoteOn chn= 1 key=0x0d ports=0100000000000000
EVENT_BUTTON id= 47  type=NoteOn chn= 1 key=0x0e ports=0100000000000000
EVENT_BUTTON id= 48  type=NoteOn chn= 1 key=0x0f ports=0100000000000000
EVENT_LED    id= 41  type=NoteOn chn= 1 key=0x0f ports=0100000000000000
EVENT_LED    id= 42  type=NoteOn chn= 1 key=0x0e ports=0100000000000000
EVENT_LED    id= 43  type=NoteOn chn= 1 key=0x0d ports=0100000000000000
EVENT_LED    id= 44  type=NoteOn chn= 1 key=0x0c ports=0100000000000000
EVENT_LED    id= 45  type=NoteOn chn= 1 key=0x0b ports=0100000000000000
EVENT_LED    id= 46  type=NoteOn chn= 1 key=0x0a ports=0100000000000000
EVENT_LED    id= 47  type=NoteOn chn= 1 key=0x09 ports=0100000000000000
EVENT_LED    id= 48  type=NoteOn chn= 1 key=0x08 ports=0100000000000000

################################################################################
# Mute 9-16 (Note Key: 0x10..0x17)
################################################################################
EVENT_BUTTON id= 49   type=NoteOn chn= 1 key=0x10 ports=0100000000000000
EVENT_BUTTON id= 50   type=NoteOn chn= 1 key=0x11 ports=0100000000000000
EVENT_BUTTON id= 51   type=NoteOn chn= 1 key=0x12 ports=0100000000000000
EVENT_BUTTON id= 52   type=NoteOn chn= 1 key=0x13 ports=0100000000000000
EVENT_BUTTON id= 53   type=NoteOn chn= 1 key=0x14 ports=0100000000000000
EVENT_BUTTON id= 54   type=NoteOn chn= 1 key=0x15 ports=0100000000000000
EVENT_BUTTON id= 55   type=NoteOn chn= 1 key=0x16 ports=0100000000000000
EVENT_BUTTON id= 56   type=NoteOn chn= 1 key=0x17 ports=0100000000000000
EVENT_LED    id= 49   type=NoteOn chn= 1 key=0x17 ports=0100000000000000
EVENT_LED    id= 50   type=NoteOn chn= 1 key=0x16 ports=0100000000000000
EVENT_LED    id= 51   type=NoteOn chn= 1 key=0x15 ports=0100000000000000
EVENT_LED    id= 52   type=NoteOn chn= 1 key=0x14 ports=0100000000000000
EVENT_LED    id= 53   type=NoteOn chn= 1 key=0x13 ports=0100000000000000
EVENT_LED    id= 54   type=NoteOn chn= 1 key=0x12 ports=0100000000000000
EVENT_LED    id= 55   type=NoteOn chn= 1 key=0x11 ports=0100000000000000
EVENT_LED    id= 56   type=NoteOn chn= 1 key=0x10 ports=0100000000000000

################################################################################
# Select 9-16 (Note Key: 0x18..0x1f)
################################################################################
EVENT_BUTTON id= 57   type=NoteOn chn= 1 key=0x18 ports=0100000000000000
EVENT_BUTTON id= 58   type=NoteOn chn= 1 key=0x19 ports=0100000000000000
EVENT_BUTTON id= 59   type=NoteOn chn= 1 key=0x1a ports=0100000000000000
EVENT_BUTTON id= 60   type=NoteOn chn= 1 key=0x1b ports=0100000000000000
EVENT_BUTTON id= 61   type=NoteOn chn= 1 key=0x1c ports=0100000000000000
EVENT_BUTTON id= 62   type=NoteOn chn= 1 key=0x1d ports=0100000000000000
EVENT_BUTTON id= 63   type=NoteOn chn= 1 key=0x1e ports=0100000000000000
EVENT_BUTTON id= 64   type=NoteOn chn= 1 key=0x1f ports=0100000000000000
EVENT_LED    id= 57   type=NoteOn chn= 1 key=0x1f ports=0100000000000000
EVENT_LED    id= 58   type=NoteOn chn= 1 key=0x1e ports=0100000000000000
EVENT_LED    id= 59   type=NoteOn chn= 1 key=0x1d ports=0100000000000000
EVENT_LED    id= 60   type=NoteOn chn= 1 key=0x1c ports=0100000000000000
EVENT_LED    id= 61   type=NoteOn chn= 1 key=0x1b ports=0100000000000000
EVENT_LED    id= 62   type=NoteOn chn= 1 key=0x1a ports=0100000000000000
EVENT_LED    id= 63   type=NoteOn chn= 1 key=0x19 ports=0100000000000000
EVENT_LED    id= 64   type=NoteOn chn= 1 key=0x18 ports=0100000000000000

################################################################################
# Rec/Ready 16-24 (Note Key: 0x00..0x07)
################################################################################
EVENT_BUTTON id= 65  type=NoteOn chn= 1 key=0x00 ports=0010000000000000
EVENT_BUTTON id= 66  type=NoteOn chn= 1 key=0x01 ports=0010000000000000
EVENT_BUTTON id= 67  type=NoteOn chn= 1 key=0x02 ports=0010000000000000
EVENT_BUTTON id= 68  type=NoteOn chn= 1 key=0x03 ports=0010000000000000
EVENT_BUTTON id= 69  type=NoteOn chn= 1 key=0x04 ports=0010000000000000
EVENT_BUTTON id= 70  type=NoteOn chn= 1 key=0x05 ports=0010000000000000
EVENT_BUTTON id= 71  type=NoteOn chn= 1 key=0x06 ports=0010000000000000
EVENT_BUTTON id= 72  type=NoteOn chn= 1 key=0x07 ports=0010000000000000
EVENT_LED    id= 65  type=NoteOn chn= 1 key=0x07 ports=0010000000000000
EVENT_LED    id= 66  type=NoteOn chn= 1 key=0x06 ports=0010000000000000
EVENT_LED    id= 67  type=NoteOn chn= 1 key=0x05 ports=0010000000000000
EVENT_LED    id= 68  type=NoteOn chn= 1 key=0x04 ports=0010000000000000
EVENT_LED    id= 69  type=NoteOn chn= 1 key=0x03 ports=0010000000000000
EVENT_LED    id= 70  type=NoteOn chn= 1 key=0x02 ports=0010000000000000
EVENT_LED    id= 71  type=NoteOn chn= 1 key=0x01 ports=0010000000000000
EVENT_LED    id= 72  type=NoteOn chn= 1 key=0x00 ports=0010000000000000

################################################################################
# Solo 16-24 (Note Key: 0x08..0x0f)
################################################################################
EVENT_BUTTON id= 73  type=NoteOn chn= 1 key=0x08 ports=0010000000000000
EVENT_BUTTON id= 74  type=NoteOn chn= 1 key=0x09 ports=0010000000000000
EVENT_BUTTON id= 75  type=NoteOn chn= 1 key=0x0a ports=0010000000000000
EVENT_BUTTON id= 76  type=NoteOn chn= 1 key=0x0b ports=0010000000000000
EVENT_BUTTON id= 77  type=NoteOn chn= 1 key=0x0c ports=0010000000000000
EVENT_BUTTON id= 78  type=NoteOn chn= 1 key=0x0d ports=0010000000000000
EVENT_BUTTON id= 79  type=NoteOn chn= 1 key=0x0e ports=0010000000000000
EVENT_BUTTON id= 80  type=NoteOn chn= 1 key=0x0f ports=0010000000000000
EVENT_LED    id= 73  type=NoteOn chn= 1 key=0x0f ports=0010000000000000
EVENT_LED    id= 74  type=NoteOn chn= 1 key=0x0e ports=0010000000000000
EVENT_LED    id= 75  type=NoteOn chn= 1 key=0x0d ports=0010000000000000
EVENT_LED    id= 76  type=NoteOn chn= 1 key=0x0c ports=0010000000000000
EVENT_LED    id= 77  type=NoteOn chn= 1 key=0x0b ports=0010000000000000
EVENT_LED    id= 78  type=NoteOn chn= 1 key=0x0a ports=0010000000000000
EVENT_LED    id= 79  type=NoteOn chn= 1 key=0x09 ports=0010000000000000
EVENT_LED    id= 80  type=NoteOn chn= 1 key=0x08 ports=0010000000000000

################################################################################
# Mute 16-24 (Note Key: 0x10..0x17)
################################################################################
EVENT_BUTTON id= 81   type=NoteOn chn= 1 key=0x10 ports=0010000000000000
EVENT_BUTTON id= 82   type=NoteOn chn= 1 key=0x11 ports=0010000000000000
EVENT_BUTTON id= 83   type=NoteOn chn= 1 key=0x12 ports=0010000000000000
EVENT_BUTTON id= 84   type=NoteOn chn= 1 key=0x13 ports=0010000000000000
EVENT_BUTTON id= 85   type=NoteOn chn= 1 key=0x14 ports=0010000000000000
EVENT_BUTTON id= 86   type=NoteOn chn= 1 key=0x15 ports=0010000000000000
EVENT_BUTTON id= 87   type=NoteOn chn= 1 key=0x16 ports=0010000000000000
EVENT_BUTTON id= 88   type=NoteOn chn= 1 key=0x17 ports=0010000000000000
EVENT_LED    id= 81   type=NoteOn chn= 1 key=0x17 ports=0010000000000000
EVENT_LED    id= 82   type=NoteOn chn= 1 key=0x16 ports=0010000000000000
EVENT_LED    id= 83   type=NoteOn chn= 1 key=0x15 ports=0010000000000000
EVENT_LED    id= 84   type=NoteOn chn= 1 key=0x14 ports=0010000000000000
EVENT_LED    id= 85   type=NoteOn chn= 1 key=0x13 ports=0010000000000000
EVENT_LED    id= 86   type=NoteOn chn= 1 key=0x12 ports=0010000000000000
EVENT_LED    id= 87   type=NoteOn chn= 1 key=0x11 ports=0010000000000000
EVENT_LED    id= 88   type=NoteOn chn= 1 key=0x10 ports=0010000000000000

################################################################################
# Select 16-24 (Note Key: 0x18..0x1f)
################################################################################
EVENT_BUTTON id= 89   type=NoteOn chn= 1 key=0x18 ports=0010000000000000
EVENT_BUTTON id= 90   type=NoteOn chn= 1 key=0x19 ports=0010000000000000
EVENT_BUTTON id= 91   type=NoteOn chn= 1 key=0x1a ports=0010000000000000
EVENT_BUTTON id= 92   type=NoteOn chn= 1 key=0x1b ports=0010000000000000
EVENT_BUTTON id= 93   type=NoteOn chn= 1 key=0x1c ports=0010000000000000
EVENT_BUTTON id= 94   type=NoteOn chn= 1 key=0x1d ports=0010000000000000
EVENT_BUTTON id= 95   type=NoteOn chn= 1 key=0x1e ports=0010000000000000
EVENT_BUTTON id= 96   type=NoteOn chn= 1 key=0x1f ports=0010000000000000
EVENT_LED    id= 89   type=NoteOn chn= 1 key=0x1f ports=0010000000000000
EVENT_LED    id= 90   type=NoteOn chn= 1 key=0x1e ports=0010000000000000
EVENT_LED    id= 91   type=NoteOn chn= 1 key=0x1d ports=0010000000000000
EVENT_LED    id= 92   type=NoteOn chn= 1 key=0x1c ports=0010000000000000
EVENT_LED    id= 93   type=NoteOn chn= 1 key=0x1b ports=0010000000000000
EVENT_LED    id= 94   type=NoteOn chn= 1 key=0x1a ports=0010000000000000
EVENT_LED    id= 95   type=NoteOn chn= 1 key=0x19 ports=0010000000000000
EVENT_LED    id= 96   type=NoteOn chn= 1 key=0x18 ports=0010000000000000

################################################################################
# General Controls
################################################################################
EVENT_BUTTON id= 97   type=NoteOn chn= 1 key=0x28
# Track
EVENT_BUTTON id= 98   type=NoteOn chn= 1 key=0x29
# Send
EVENT_BUTTON id= 99   type=NoteOn chn= 1 key=0x2a
# Pan / Surround
EVENT_BUTTON id= 100  type=NoteOn chn= 1 key=0x2b
# Plug-in
EVENT_BUTTON id= 101  type=NoteOn chn= 1 key=0x2c
# EQ
EVENT_BUTTON id= 102  type=NoteOn chn= 1 key=0x2d
# Instrument
EVENT_BUTTON id= 103  type=NoteOn chn= 1 key=0x2e
# Fader Bank Left
EVENT_BUTTON id= 104  type=NoteOn chn= 1 key=0x2f
# Fader Bank Right
EVENT_LED    id= 97   type=NoteOn chn= 1 key=0x28
# Track
EVENT_LED    id= 98   type=NoteOn chn= 1 key=0x29
# Send
EVENT_LED    id= 99   type=NoteOn chn= 1 key=0x2a
# Pan / Surround
EVENT_LED    id= 100  type=NoteOn chn= 1 key=0x2b
# Plug-in
EVENT_LED    id= 101  type=NoteOn chn= 1 key=0x2c
# EQ
EVENT_LED    id= 102  type=NoteOn chn= 1 key=0x2d
# Instrument
EVENT_LED    id= 103  type=NoteOn chn= 1 key=0x26
# Flip
EVENT_LED    id= 104  type=NoteOn chn= 1 key=0x27
# Global view

################################################################################
# General Controls 2 / DAW Specific switches
################################################################################
EVENT_BUTTON id= 105   type=NoteOn chn= 1 key=0x30
# Channel Left
EVENT_BUTTON id= 106   type=NoteOn chn= 1 key=0x25
# Channel Right
EVENT_BUTTON id= 107   type=NoteOn chn= 1 key=0x26
# Flip
EVENT_BUTTON id= 108   type=NoteOn chn= 1 key=0x27
# Global View
EVENT_BUTTON id= 109   type=NoteOn chn= 1 key=0x34
# Name / Value
EVENT_BUTTON id= 110   type=NoteOn chn= 1 key=0x35
# SMPTE / Beats
EVENT_BUTTON id= 111   type=NoteOn chn= 1 key=0x36
# F1
EVENT_BUTTON id= 112   type=NoteOn chn= 1 key=0x37
# F2
EVENT_LED    id= 105   type=NoteOn chn= 1 key=0x4a
# Read / Off
EVENT_LED    id= 106   type=NoteOn chn= 1 key=0x4b
# Write
EVENT_LED    id= 107   type=NoteOn chn= 1 key=0x4c
# Trim
EVENT_LED    id= 108   type=NoteOn chn= 1 key=0x50
# Save
EVENT_LED    id= 109   type=NoteOn chn= 1 key=0x51
# Undo
EVENT_LED    id= 110   type=NoteOn chn= 1 key=0x4d
# Touch
EVENT_LED    id= 111   type=NoteOn chn= 1 key=0x4e
# Latch
EVENT_LED    id= 112   type=NoteOn chn= 1 key=0x4f
# Group

################################################################################
# DAW Specific switches 2
################################################################################
EVENT_BUTTON id= 113   type=NoteOn chn= 1 key=0x38
# F3
EVENT_BUTTON id= 114   type=NoteOn chn= 1 key=0x39
# F4
EVENT_BUTTON id= 115   type=NoteOn chn= 1 key=0x3a
# F5
EVENT_BUTTON id= 116   type=NoteOn chn= 1 key=0x3b
# F6
EVENT_BUTTON id= 117   type=NoteOn chn= 1 key=0x3c
# F7
EVENT_BUTTON id= 118   type=NoteOn chn= 1 key=0x3d
# F8
EVENT_BUTTON id= 119   type=NoteOn chn= 1 key=0x3e
# Midi Tracks
EVENT_BUTTON id= 120   type=NoteOn chn= 1 key=0x3f
# Inputs
EVENT_LED    id= 113   type=NoteOn chn= 1 key=0x54
# Marker
EVENT_LED    id= 114   type=NoteOn chn= 1 key=0x55
# Nudge
EVENT_LED    id= 115   type=NoteOn chn= 1 key=0x56
# Cycle
EVENT_LED    id= 116   type=NoteOn chn= 1 key=0x57
# Drop
EVENT_LED    id= 117   type=NoteOn chn= 1 key=0x58
# Replace
EVENT_LED    id= 118   type=NoteOn chn= 1 key=0x59
# Click
EVENT_LED    id= 119   type=NoteOn chn= 1 key=0x5a
# Solo
EVENT_LED    id= 120   type=NoteOn chn= 1 key=0x5f
# Record

################################################################################
# DAW Specific switches 3
################################################################################
EVENT_BUTTON id= 121   type=NoteOn chn= 1 key=0x40
# Audio Tracks
EVENT_BUTTON id= 122   type=NoteOn chn= 1 key=0x41
# Audio Instruments
EVENT_BUTTON id= 123   type=NoteOn chn= 1 key=0x42
# Aux
EVENT_BUTTON id= 124   type=NoteOn chn= 1 key=0x43
# Busses
EVENT_BUTTON id= 125   type=NoteOn chn= 1 key=0x44
# Outputs
EVENT_BUTTON id= 126   type=NoteOn chn= 1 key=0x45
# User
EVENT_BUTTON id= 127   type=NoteOn chn= 1 key=0x46
# Shift
EVENT_BUTTON id= 128   type=NoteOn chn= 1 key=0x47
# Option
EVENT_LED    id= 121   type=NoteOn chn= 1 key=0x5e
# Play
EVENT_LED    id= 122   type=NoteOn chn= 1 key=0x5d
# Stop
EVENT_LED    id= 123   type=NoteOn chn= 1 key=0x5c
# Fast FWD
EVENT_LED    id= 124   type=NoteOn chn= 1 key=0x5b
# Rewind
EVENT_LED    id= 125   type=NoteOn chn= 1 key=0x63
# Zoom
EVENT_LED    id= 126   type=NoteOn chn= 1 key=0x62
# Scrub
EVENT_LED    id= 127   type=NoteOn chn= 1 key=0xff
# No Led
EVENT_LED    id= 128   type=NoteOn chn= 1 key=0xff
# No Led

################################################################################
# DAW Specific switches 4-5-6-7
################################################################################
EVENT_BUTTON id= 129   type=NoteOn chn= 1 key=0x48
# Control
EVENT_BUTTON id= 130   type=NoteOn chn= 1 key=0x49
# Alt
EVENT_BUTTON id= 131   type=NoteOn chn= 1 key=0x4a
# Read / Off
EVENT_BUTTON id= 132   type=NoteOn chn= 1 key=0x4b
# Write
EVENT_BUTTON id= 133   type=NoteOn chn= 1 key=0x4c
# Trim
EVENT_BUTTON id= 134   type=NoteOn chn= 1 key=0x4d
# Touch
EVENT_BUTTON id= 135   type=NoteOn chn= 1 key=0x4e
# Latch
EVENT_BUTTON id= 136   type=NoteOn chn= 1 key=0x4f
# Group

EVENT_BUTTON id= 137   type=NoteOn chn= 1 key=0x50
# Save
EVENT_BUTTON id= 138   type=NoteOn chn= 1 key=0x51
# Undo
EVENT_BUTTON id= 139   type=NoteOn chn= 1 key=0x52
# Cancel
EVENT_BUTTON id= 140   type=NoteOn chn= 1 key=0x53
# Enter
EVENT_BUTTON id= 141   type=NoteOn chn= 1 key=0x54
# Marker
EVENT_BUTTON id= 142   type=NoteOn chn= 1 key=0x55
# Nudge
EVENT_BUTTON id= 143   type=NoteOn chn= 1 key=0x56
# Cycle
EVENT_BUTTON id= 144   type=NoteOn chn= 1 key=0x57
# Drop

EVENT_BUTTON id= 145   type=NoteOn chn= 1 key=0x58
# Replace
EVENT_BUTTON id= 146   type=NoteOn chn= 1 key=0x59
# Click
EVENT_BUTTON id= 147   type=NoteOn chn= 1 key=0x5a
# Solo
EVENT_BUTTON id= 148   type=NoteOn chn= 1 key=0x5b
# Rewind
EVENT_BUTTON id= 149   type=NoteOn chn= 1 key=0x5c
# Fast Fwd
EVENT_BUTTON id= 150   type=NoteOn chn= 1 key=0x5d
# Stop
EVENT_BUTTON id= 151   type=NoteOn chn= 1 key=0x5e
# Play
EVENT_BUTTON id= 152   type=NoteOn chn= 1 key=0x5f
# Record

EVENT_BUTTON id= 153   type=NoteOn chn= 1 key=0x60
# Cursor Up
EVENT_BUTTON id= 154   type=NoteOn chn= 1 key=0x61
# Cursor Down
EVENT_BUTTON id= 155   type=NoteOn chn= 1 key=0x62
# Scrub
EVENT_BUTTON id= 156   type=NoteOn chn= 1 key=0x63
# Zoom
EVENT_BUTTON id= 157   type=NoteOn chn= 1 key=0x64
# Cursor Left
EVENT_BUTTON id= 158   type=NoteOn chn= 1 key=0x65
# Cursor Right

################################################################################
# VPots (Encoders with LED rings)
################################################################################
# LED_MATRIX_PATTERNs
LED_MATRIX_PATTERN n= 1  pos= 0  pattern=0000000000000000
LED_MATRIX_PATTERN n= 1  pos= 1  pattern=1000000000000000
LED_MATRIX_PATTERN n= 1  pos= 2  pattern=0100000000000000
LED_MATRIX_PATTERN n= 1  pos= 3  pattern=0010000000000000
LED_MATRIX_PATTERN n= 1  pos= 4  pattern=0001000000000000
LED_MATRIX_PATTERN n= 1  pos= 5  pattern=0000100000000000
LED_MATRIX_PATTERN n= 1  pos= 6  pattern=0000010000000000
LED_MATRIX_PATTERN n= 1  pos= 7  pattern=0000001000000000
LED_MATRIX_PATTERN n= 1  pos= M  pattern=0000000100000000
LED_MATRIX_PATTERN n= 1  pos= 8  pattern=0000000100000000
LED_MATRIX_PATTERN n= 1  pos= 9  pattern=0000000010000000
LED_MATRIX_PATTERN n= 1  pos=10  pattern=0000000001000000
LED_MATRIX_PATTERN n= 1  pos=11  pattern=0000000000100000
LED_MATRIX_PATTERN n= 1  pos=12  pattern=0000000000100000
LED_MATRIX_PATTERN n= 1  pos=13  pattern=0000000000100000
LED_MATRIX_PATTERN n= 1  pos=14  pattern=0000000000100000
LED_MATRIX_PATTERN n= 1  pos=15  pattern=0000000000100000
LED_MATRIX_PATTERN n= 2  pos= 0  pattern=0000000000000000
LED_MATRIX_PATTERN n= 2  pos= 1  pattern=1111110000000000
LED_MATRIX_PATTERN n= 2  pos= 2  pattern=0111110000000000
LED_MATRIX_PATTERN n= 2  pos= 3  pattern=0011110000000000
LED_MATRIX_PATTERN n= 2  pos= 4  pattern=0001110000000000
LED_MATRIX_PATTERN n= 2  pos= 5  pattern=0000110000000000
LED_MATRIX_PATTERN n= 2  pos= 6  pattern=0000010000000000
LED_MATRIX_PATTERN n= 2  pos= 7  pattern=0000011000000000
LED_MATRIX_PATTERN n= 2  pos= M  pattern=0000011000000000
LED_MATRIX_PATTERN n= 2  pos= 8  pattern=0000011100000000
LED_MATRIX_PATTERN n= 2  pos= 9  pattern=0000011110000000
LED_MATRIX_PATTERN n= 2  pos=10  pattern=0000011111000000
LED_MATRIX_PATTERN n= 2  pos=11  pattern=0000011111100000
LED_MATRIX_PATTERN n= 2  pos=12  pattern=0000011111100000
LED_MATRIX_PATTERN n= 2  pos=13  pattern=0000011111100000
LED_MATRIX_PATTERN n= 2  pos=14  pattern=0000011111100000
LED_MATRIX_PATTERN n= 2  pos=15  pattern=0000011111100000
LED_MATRIX_PATTERN n= 3  pos= 0  pattern=0000000000000000
LED_MATRIX_PATTERN n= 3  pos= 1  pattern=1000000000000000
LED_MATRIX_PATTERN n= 3  pos= 2  pattern=1100000000000000
LED_MATRIX_PATTERN n= 3  pos= 3  pattern=1110000000000000
LED_MATRIX_PATTERN n= 3  pos= 4  pattern=1111000000000000
LED_MATRIX_PATTERN n= 3  pos= 5  pattern=1111100000000000
LED_MATRIX_PATTERN n= 3  pos= 6  pattern=1111110000000000
LED_MATRIX_PATTERN n= 3  pos= 7  pattern=1111111000000000
LED_MATRIX_PATTERN n= 3  pos= M  pattern=1111111000000000
LED_MATRIX_PATTERN n= 3  pos= 8  pattern=1111111100000000
LED_MATRIX_PATTERN n= 3  pos= 9  pattern=1111111110000000
LED_MATRIX_PATTERN n= 3  pos=10  pattern=1111111111000000
LED_MATRIX_PATTERN n= 3  pos=11  pattern=1111111111100000
LED_MATRIX_PATTERN n= 3  pos=12  pattern=1111111111100000
LED_MATRIX_PATTERN n= 3  pos=13  pattern=1111111111100000
LED_MATRIX_PATTERN n= 3  pos=14  pattern=1111111111100000
LED_MATRIX_PATTERN n= 3  pos=15  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos= 0  pattern=0000000000000000
LED_MATRIX_PATTERN n= 4  pos= 1  pattern=0000010000000000
LED_MATRIX_PATTERN n= 4  pos= 2  pattern=0000111000000000
LED_MATRIX_PATTERN n= 4  pos= 3  pattern=0001111100000000
LED_MATRIX_PATTERN n= 4  pos= 4  pattern=0011111110000000
LED_MATRIX_PATTERN n= 4  pos= 5  pattern=0111111111000000
LED_MATRIX_PATTERN n= 4  pos= 6  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos= 7  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos= M  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos= 8  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos= 9  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos=10  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos=11  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos=12  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos=13  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos=14  pattern=1111111111100000
LED_MATRIX_PATTERN n= 4  pos=15  pattern=1111111111100000
ENC n=  1   sr=21 pins=0:1   type=non_detented
ENC n=  2   sr=21 pins=2:3   type=non_detented
ENC n=  3   sr=21 pins=4:5   type=non_detented
ENC n=  4   sr=21 pins=6:7   type=non_detented
ENC n=  5   sr=22 pins=0:1   type=non_detented
ENC n=  6   sr=22 pins=2:3   type=non_detented
ENC n=  7   sr=22 pins=4:5   type=non_detented
ENC n=  8   sr=22 pins=6:7   type=non_detented
EVENT_ENC    id= 1  type=CC  chn= 1 cc=0x10  enc_mode=Inc00Speed_Dec40Speed
EVENT_ENC    id= 2  type=CC  chn= 1 cc=0x11  enc_mode=Inc00Speed_Dec40Speed
EVENT_ENC    id= 3  type=CC  chn= 1 cc=0x12  enc_mode=Inc00Speed_Dec40Speed
EVENT_ENC    id= 4  type=CC  chn= 1 cc=0x13  enc_mode=Inc00Speed_Dec40Speed
EVENT_ENC    id= 5  type=CC  chn= 1 cc=0x14  enc_mode=Inc00Speed_Dec40Speed
EVENT_ENC    id= 6  type=CC  chn= 1 cc=0x15  enc_mode=Inc00Speed_Dec40Speed
EVENT_ENC    id= 7  type=CC  chn= 1 cc=0x16  enc_mode=Inc00Speed_Dec40Speed
EVENT_ENC    id= 8  type=CC  chn= 1 cc=0x17  enc_mode=Inc00Speed_Dec40Speed

################################################################################
# Jogwheel (Encoder)
################################################################################
# Jogwheel
ENC n=  9   sr= 23 pins=0:1   type=non_detented
EVENT_ENC    id= 9  type=CC  chn= 1 cc=0x3c  enc_mode=Inc00Speed_Dec40Speed
################################################################################
DOUT_MATRIX n= 1   rows=16 inverted=0  sr_dout_sel1= 17  sr_dout_r1=18 sr_dout_r2=19
EVENT_LED_MATRIX   id= 1  type=CC  chn= 1 cc=0x30  led_matrix_pattern=LcAuto
EVENT_LED_MATRIX   id= 2  type=CC  chn= 1 cc=0x31  led_matrix_pattern=LcAuto
EVENT_LED_MATRIX   id= 3  type=CC  chn= 1 cc=0x32  led_matrix_pattern=LcAuto
EVENT_LED_MATRIX   id= 4  type=CC  chn= 1 cc=0x33  led_matrix_pattern=LcAuto
EVENT_LED_MATRIX   id= 5  type=CC  chn= 1 cc=0x34  led_matrix_pattern=LcAuto
EVENT_LED_MATRIX   id= 6  type=CC  chn= 1 cc=0x35  led_matrix_pattern=LcAuto
EVENT_LED_MATRIX   id= 7  type=CC  chn= 1 cc=0x36  led_matrix_pattern=LcAuto
EVENT_LED_MATRIX   id= 8  type=CC  chn= 1 cc=0x37  led_matrix_pattern=LcAuto

################################################################################
# Meters
# Assign to lc_meter_port=USB1 (incoming Channel Pressure events will be
# converted into meter pattern)
################################################################################
DOUT_MATRIX n= 4   rows=16 inverted=0  sr_dout_sel1=21 sr_dout_r1=22 sr_dout_r2=23 \
                   lc_meter_port=USB1
LC_METER_PATTERN pos= 0  pattern=0000000000000000
LC_METER_PATTERN pos= 1  pattern=1000000000000000
LC_METER_PATTERN pos= 2  pattern=1100000000000000
LC_METER_PATTERN pos= 3  pattern=1110000000000000
LC_METER_PATTERN pos= 4  pattern=1110000000000000
LC_METER_PATTERN pos= 5  pattern=1111000000000000
LC_METER_PATTERN pos= 6  pattern=1111100000000000
LC_METER_PATTERN pos= 7  pattern=1111110000000000
LC_METER_PATTERN pos= 8  pattern=1111111000000000
LC_METER_PATTERN pos= 9  pattern=1111111100000000
LC_METER_PATTERN pos=10  pattern=1111111100000000
LC_METER_PATTERN pos=11  pattern=1111111110000000
LC_METER_PATTERN pos=12  pattern=1111111110000000
LC_METER_PATTERN pos=13  pattern=1111111111000000
LC_METER_PATTERN pos=14  pattern=1111111111000000
LC_METER_PATTERN pos=15  pattern=1111111111100000
# where is the overload LED located?
#LC_METER_PATTERN pos= O  pattern=0000000000010000
# Reset all meters if the "global meter mode" message is received
EVENT_RECEIVER id=  20  fwd_id=SENDER:20 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x21"
EVENT_SENDER   id=  20 \
               type=Meta  meta=ResetMeters
     
################################################################################
# Motorfaders
################################################################################
# we've a single MBHP_MF_NG module with 8 motorfaders
# It has to be configured for Motormix protocol!
MF n=1  enabled=1  midi_in_port=IN3  midi_out_port=OUT3  chn=1  ts_first_button_id=2001  config_port=USB3
# on motorfader movements
EVENT_MF  id= 1  type=PitchBend  chn= 1  range=0:16383
EVENT_MF  id= 2  type=PitchBend  chn= 2  range=0:16383
EVENT_MF  id= 3  type=PitchBend  chn= 3  range=0:16383
EVENT_MF  id= 4  type=PitchBend  chn= 4  range=0:16383
EVENT_MF  id= 5  type=PitchBend  chn= 5  range=0:16383
EVENT_MF  id= 6  type=PitchBend  chn= 6  range=0:16383
EVENT_MF  id= 7  type=PitchBend  chn= 7  range=0:16383
EVENT_MF  id= 8  type=PitchBend  chn= 8  range=0:16383
# on touchsensor event (first id has been specified in the MF configuration above)
EVENT_BUTTON  id= 2001  type=NoteOn chn= 1 key=0x68  range=0:127
EVENT_BUTTON  id= 2002  type=NoteOn chn= 1 key=0x69  range=0:127
EVENT_BUTTON  id= 2003  type=NoteOn chn= 1 key=0x70  range=0:127
EVENT_BUTTON  id= 2004  type=NoteOn chn= 1 key=0x71  range=0:127
EVENT_BUTTON  id= 2005  type=NoteOn chn= 1 key=0x72  range=0:127
EVENT_BUTTON  id= 2006  type=NoteOn chn= 1 key=0x73  range=0:127
EVENT_BUTTON  id= 2007  type=NoteOn chn= 1 key=0x74  range=0:127
EVENT_BUTTON  id= 2008  type=NoteOn chn= 1 key=0x75  range=0:127

################################################################################
# MTC and Status LED Digits
################################################################################
# HW definitions for "Common Cathode" Digits
# see also http://www.ucapps.de/midibox_ng/mbng_led_digits_mtc.pdf
DOUT_MATRIX n=2   rows=8   sr_dout_r1=25 inverted_row=0  mirrored_row=0  sr_dout_sel1=26  inverted_sel=1
DOUT_MATRIX n=3   rows=8   sr_dout_r2=27 inverted_row=0  mirrored_row=0  sr_dout_sel2=28  inverted_sel=1
# for "Common Anode" set inverted_row=1 and inverted_sel=1
# if the segment connections are mirrored, set mirrored_row=1

# the digits are accessible with:
second matrix (n=2): LED_MATRIX:17 ... LED_MATRIX:24
third matrix  (n=3): LED_MATRIX:33 ... LED_MATRIX:40

# direct access to the digits via CC#64..CC#73
EVENT_LED_MATRIX id=33 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 64  syxdump_pos=10:0
EVENT_LED_MATRIX id=34 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 65  syxdump_pos=10:1
EVENT_LED_MATRIX id=17 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 66  syxdump_pos=10:2
EVENT_LED_MATRIX id=18 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 67  syxdump_pos=10:3
EVENT_LED_MATRIX id=19 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 68  syxdump_pos=10:4
EVENT_LED_MATRIX id=20 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 69  syxdump_pos=10:5
EVENT_LED_MATRIX id=21 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 70  syxdump_pos=10:6
EVENT_LED_MATRIX id=22 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 71  syxdump_pos=10:7
EVENT_LED_MATRIX id=23 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 72  syxdump_pos=10:8
EVENT_LED_MATRIX id=24 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 73  syxdump_pos=10:9
# status digits
EVENT_LED_MATRIX id=39 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 75  syxdump_pos=11:1
EVENT_LED_MATRIX id=40 led_matrix_pattern=LcDigit  type=CC chn= 1 cc= 74  syxdump_pos=11:0

 

The questions are :

 

1 - Is the setup for buttons correct with differents ports routing ?

2 - What's the setup for the ledrings (to assignate the rings for each 24 channels) ?

3 - For the meters could I assign  lc_meter_port=USB1 then USB2 and USB3 ?

4 - Why my setup returns all the time at default when I reboot ? (In MIOS STUDIO I've tape save default but nothing to do it's returns to default setup !!)

 

So for the moments it's all, any suggestions will be welcome !

 

Thanks by advance,

 

Best regards, All2u

 

post-5107-0-42221700-1418469000_thumb.jp

Link to comment
Share on other sites

1 - Is the setup for buttons correct with differents ports routing ?

 

yes, it should work this way

 

 

2 - What's the setup for the ledrings (to assignate the rings for each 24 channels) ?

 

you've to define the  "EVENT_LED_MATRIX   id= 1  type=CC  chn= 1 cc=0x30  led_matrix_pattern=LcAuto" events three times, each one has to listen to another USB port.

 

 

3 - For the meters could I assign  lc_meter_port=USB1 then USB2 and USB3 ?

 

Yes, you need three DOUT_MATRIX components, and each one has to listen to another USB port.

 

 

4 - Why my setup returns all the time at default when I reboot ?

 

It works like intended.

 

Rename your file to "DEFAULT.NGC" so that it will be loaded after startup

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...