Jump to content

LED Digits Problem


TOKEN_one

Recommended Posts

In Der Midibox LC läuft das LED Digits.

post-5218-0-47653900-1390665986_thumb.jp

und im NG Leuchten all als 8+Dot

post-5218-0-20253200-1390666015_thumb.jp

Confi der NGC

 

################################################################################
# Reset the setup to default settings
# This command ensures, that previous hardware definitions will be overwritten
# by a new setup without the need to set defintions for all components
################################################################################
RESET_HW

LCD "%C@(1:1:1)  Lc test LED Ring Meter"


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

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

# Receive Device Query -> send Host Connection Query
EVENT_RECEIVER id=  1  fwd_id=SENDER:1 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x00 0xf7"
EVENT_SENDER   id=  1 \
               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 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x02 0xf7"
EVENT_SENDER   id=  2 \
               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 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x13 00 0xf7"
EVENT_SENDER   id=  3 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x14 0x56 0x31 0x2e 0x34 0x32 0xf7"


# Special Query for Mackie Control
EVENT_RECEIVER id=  4  fwd_id=SENDER:4 \
               type=SysEx stream="0xf0 0x00 0x00 0x66 ^dev 0x1a 0xf7"
EVENT_SENDER   id=  4 \
               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
EVENT_BUTTON id=  2  type=NoteOn chn= 1 key=0x01
EVENT_BUTTON id=  3  type=NoteOn chn= 1 key=0x02
EVENT_BUTTON id=  4  type=NoteOn chn= 1 key=0x03
EVENT_BUTTON id=  5  type=NoteOn chn= 1 key=0x04
EVENT_BUTTON id=  6  type=NoteOn chn= 1 key=0x05
EVENT_BUTTON id=  7  type=NoteOn chn= 1 key=0x06
EVENT_BUTTON id=  8  type=NoteOn chn= 1 key=0x07

EVENT_LED    id= 1   type=NoteOn chn= 1 key=0x07
EVENT_LED    id= 2   type=NoteOn chn= 1 key=0x06
EVENT_LED    id= 3   type=NoteOn chn= 1 key=0x05
EVENT_LED    id= 4   type=NoteOn chn= 1 key=0x04
EVENT_LED    id= 5   type=NoteOn chn= 1 key=0x03
EVENT_LED    id= 6   type=NoteOn chn= 1 key=0x02
EVENT_LED    id= 7   type=NoteOn chn= 1 key=0x01
EVENT_LED    id= 8   type=NoteOn chn= 1 key=0x00


################################################################################
# Mute 1-8 (Note Key: 0x10..0x17)
################################################################################
EVENT_BUTTON id= 9   type=NoteOn chn= 1 key=0x10
EVENT_BUTTON id= 10   type=NoteOn chn= 1 key=0x11
EVENT_BUTTON id= 11   type=NoteOn chn= 1 key=0x12
EVENT_BUTTON id= 12   type=NoteOn chn= 1 key=0x13
EVENT_BUTTON id= 13   type=NoteOn chn= 1 key=0x14
EVENT_BUTTON id= 14   type=NoteOn chn= 1 key=0x15
EVENT_BUTTON id= 15   type=NoteOn chn= 1 key=0x16
EVENT_BUTTON id= 16   type=NoteOn chn= 1 key=0x17

EVENT_LED    id= 9    type=NoteOn chn= 1 key=0x17
EVENT_LED    id= 10   type=NoteOn chn= 1 key=0x16
EVENT_LED    id= 11   type=NoteOn chn= 1 key=0x15
EVENT_LED    id= 12   type=NoteOn chn= 1 key=0x14
EVENT_LED    id= 13   type=NoteOn chn= 1 key=0x13
EVENT_LED    id= 14   type=NoteOn chn= 1 key=0x12
EVENT_LED    id= 15   type=NoteOn chn= 1 key=0x11
EVENT_LED    id= 16   type=NoteOn chn= 1 key=0x10


################################################################################
# Solo 1-8 (Note Key: 0x08..0x0f)
################################################################################
EVENT_BUTTON id= 17   type=NoteOn chn= 1 key=0x08
EVENT_BUTTON id= 18   type=NoteOn chn= 1 key=0x09
EVENT_BUTTON id= 19   type=NoteOn chn= 1 key=0x0a
EVENT_BUTTON id= 20   type=NoteOn chn= 1 key=0x0b
EVENT_BUTTON id= 21   type=NoteOn chn= 1 key=0x0c
EVENT_BUTTON id= 22   type=NoteOn chn= 1 key=0x0d
EVENT_BUTTON id= 23   type=NoteOn chn= 1 key=0x0e
EVENT_BUTTON id= 24   type=NoteOn chn= 1 key=0x0f

EVENT_LED    id= 17  type=NoteOn chn= 1 key=0x0f
EVENT_LED    id= 18  type=NoteOn chn= 1 key=0x0e
EVENT_LED    id= 19  type=NoteOn chn= 1 key=0x0d
EVENT_LED    id= 20  type=NoteOn chn= 1 key=0x0c
EVENT_LED    id= 21  type=NoteOn chn= 1 key=0x0b
EVENT_LED    id= 22  type=NoteOn chn= 1 key=0x0a
EVENT_LED    id= 23  type=NoteOn chn= 1 key=0x09
EVENT_LED    id= 24  type=NoteOn chn= 1 key=0x08


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

EVENT_LED    id= 25   type=NoteOn chn= 1 key=0x1f
EVENT_LED    id= 26   type=NoteOn chn= 1 key=0x1e
EVENT_LED    id= 27   type=NoteOn chn= 1 key=0x1d
EVENT_LED    id= 28   type=NoteOn chn= 1 key=0x1c
EVENT_LED    id= 29   type=NoteOn chn= 1 key=0x1b
EVENT_LED    id= 30   type=NoteOn chn= 1 key=0x1a
EVENT_LED    id= 31   type=NoteOn chn= 1 key=0x19
EVENT_LED    id= 32   type=NoteOn chn= 1 key=0x18


################################################################################
# SRegister 5
################################################################################
EVENT_BUTTON id= 33   type=NoteOn chn= 1 key=0x60
# Cursor Up  0x60  
EVENT_BUTTON id= 34   type=NoteOn chn= 1 key=0x5d
# Stop    0x5d 
EVENT_BUTTON id= 35   type=NoteOn chn= 1 key=0x5c
# Fast Fwd  0x5c 
EVENT_BUTTON id= 36   type=NoteOn chn= 1 key=0x5b
# Rewind   0x5b 
EVENT_BUTTON id= 37   type=NoteOn chn= 1 key=0x61
# Cursor Down 0x61 
EVENT_BUTTON id= 38   type=NoteOn chn= 1 key=0x62
# Cursor Left  0x62 
EVENT_BUTTON id= 39   type=NoteOn chn= 1 key=0x64
# Zoom    0x64 
EVENT_BUTTON id= 40   type=NoteOn chn= 1 key=0x63
# Cursor Right 0x63

EVENT_LED       id= 33   type=NoteOn chn= 1 key=0x59
# Add Marker 0x59
EVENT_LED       id= 34   type=NoteOn chn= 1 key=0x5a
# Next Marker 0x5a
EVENT_LED       id= 35   type=NoteOn chn= 1 key=0x5b
# Rewind   0x5b
EVENT_LED      id= 36   type=NoteOn chn= 1 key=0x5c
# Fast Fwd  0x5c
EVENT_LED       id= 37   type=NoteOn chn= 1 key=0x5d
# Stop    0x5d
EVENT_LED       id= 38  type=NoteOn chn= 1 key=0x5e
# Play    0x5e
EVENT_LED       id= 39   type=NoteOn chn= 1 key=0x5f
# Record   0x5f
EVENT_LED       id= 40   type=NoteOn chn= 1 key=0x64
# Zoom    0x64

################################################################################
# SRegister 6
################################################################################
EVENT_BUTTON id= 41   type=NoteOn chn= 1 key=0x58
# Previous Marker 0x58 
EVENT_BUTTON id= 42   type=NoteOn chn= 1 key=0x56
# CYCLE    0x56 
EVENT_BUTTON id= 43   type=NoteOn chn= 1 key=0x55
# Right Marker  0x55 
EVENT_BUTTON id= 44   type=NoteOn chn= 1 key=0x54
# Left Marker   0x54 
EVENT_BUTTON id= 45   type=NoteOn chn= 1 key=0x5f
# Record    0x5f 
EVENT_BUTTON id= 46   type=NoteOn chn= 1 key=0x5e
# Play     0x5e 
EVENT_BUTTON id= 47   type=NoteOn chn= 1 key=0x5a
# Next Marker  0x5a 
EVENT_BUTTON id= 48   type=NoteOn chn= 1 key=0x59
# ADD Marker  0x59 

#EVENT_LED    id= 41   type=NoteOn chn= 1 key=0xff
# no LED
EVENT_LED      id= 42   type=NoteOn chn= 1 key=0x33
# (Chanal Win)  0x33 
EVENT_LED      id= 43   type=NoteOn chn= 1 key=0x4e
# (Mix Win)   0x4e
EVENT_LED      id= 44   type=NoteOn chn= 1 key=0x4d
# (Projekt fenster ) 0x4d
EVENT_LED      id= 45   type=NoteOn chn= 1 key=0x54
# Left Marker   0x54
EVENT_LED      id= 46   type=NoteOn chn= 1 key=0x55
# Right Marker  0x55
EVENT_LED      id= 47   type=NoteOn chn= 1 key=0x56
# CYCLE    0x56
EVENT_LED      id= 48   type=NoteOn chn= 1 key=0x58
# Previous Marker 0x58

################################################################################
# SRegister 7
################################################################################
EVENT_BUTTON id= 49   type=NoteOn chn= 1 key=0x33
# (Chanal Win)  0x33 
EVENT_BUTTON id= 50   type=NoteOn chn= 1 key=0x53
# (Shift)     0x53 
EVENT_BUTTON id= 51   type=NoteOn chn= 1 key=0x47
# (Redo)    0x47 
EVENT_BUTTON id= 52   type=NoteOn chn= 1 key=0x46
# (Undo)    0x46 
EVENT_BUTTON id= 53   type=NoteOn chn= 1 key=0x48
# (SAVE)    0x48 
EVENT_BUTTON id= 54   type=NoteOn chn= 1 key=0x49
# (Revert)    0x49 
EVENT_BUTTON id= 55   type=NoteOn chn= 1 key=0x4d
# (Projekt fenster) 0x4d 
EVENT_BUTTON id= 56   type=NoteOn chn= 1 key=0x4e
# (Mix Win)   0x4e 

#EVENT_LED    id= 49   type=NoteOn chn= 1 key=0xff
# no LED
EVENT_LED      id= 50   type=NoteOn chn= 1 key=0x4b
# Write      0x4b
EVENT_LED      id= 51   type=NoteOn chn= 1 key=0x4a
# Read / off    0x4a
EVENT_LED      id= 52   type=NoteOn chn= 1 key=0x47
# Redo        0x47
EVENT_LED      id= 53   type=NoteOn chn= 1 key=0x46
# Undo      0x46
EVENT_LED      id= 54   type=NoteOn chn= 1 key=0x48
# SAVE     0x48 
EVENT_LED      id= 55   type=NoteOn chn= 1 key=0x49
# Revert     0x49
EVENT_LED      id= 56   type=NoteOn chn= 1 key=0x4f
# Motor      0x4f

################################################################################
# SRegister 8
################################################################################
EVENT_BUTTON id= 57   type=NoteOn chn= 1 key=0x41
# (Fadergroup 4)  0x41 
EVENT_BUTTON id= 58   type=NoteOn chn= 1 key=0x40
# (Fadergroup 3)  0x40 
EVENT_BUTTON id= 59   type=NoteOn chn= 1 key=0x3f
# (Fadergroup 2)  0x3f 
EVENT_BUTTON id= 60   type=NoteOn chn= 1 key=0x3e
# (Fadergroup 1)  0x3e 
EVENT_BUTTON id= 61   type=NoteOn chn= 1 key=0x4a
# (READ/OFF)   0x4a 
EVENT_BUTTON id= 62   type=NoteOn chn= 1 key=0x4b
# (WRITE)     0x4b 
EVENT_BUTTON id= 63   type=NoteOn chn= 1 key=0x4f
# (MotorFader on/off) 0x4f 
##EVENT_BUTTON id= 64   type=NoteOn chn= 1 key=0x98
# (MIDIbox LC specific: 0x98 

EVENT_LED    id= 57   type=NoteOn chn= 1 key=0x2c
# EQ     0x2c
EVENT_LED      id= 58   type=NoteOn chn= 1 key=0x51
# FX Master   0x51
EVENT_LED      id= 59   type=NoteOn chn= 1 key=0x2d
# Chn FX Sends  0x2d
EVENT_LED      id= 60   type=NoteOn chn= 1 key=0x50
# VSTi     0x50
EVENT_LED      id= 61   type=NoteOn chn= 1 key=0x2a
# Pan     0x2a
EVENT_LED      id= 62   type=NoteOn chn= 1 key=0x2b
# Chn Inserts   0x2b
EVENT_LED      id= 63   type=NoteOn chn= 1 key=0x29
# Page Up    0x29
EVENT_LED      id= 64   type=NoteOn chn= 1 key=0x28
# Page Down   0x28

################################################################################
# SRegister 9
################################################################################
EVENT_BUTTON id= 65   type=NoteOn chn= 1 key=0x39
# (F-4)     0x39 
EVENT_BUTTON id= 66   type=NoteOn chn= 1 key=0x38
# (F-3)     0x38 
EVENT_BUTTON id= 67   type=NoteOn chn= 1 key=0x37
# (F-2)     0x37 
EVENT_BUTTON id= 68   type=NoteOn chn= 1 key=0x36
# (F-1)     0x36 
EVENT_BUTTON id= 69   type=NoteOn chn= 1 key=0x42
# (Fadergroup 5) 0x42 
EVENT_BUTTON id= 70   type=NoteOn chn= 1 key=0x43
# (Fadergroup 6) 0x43 
EVENT_BUTTON id= 71   type=NoteOn chn= 1 key=0x44
# (Fadergroup 7) 0x44 
EVENT_BUTTON id= 72   type=NoteOn chn= 1 key=0x45
# (Fadergroup 8) 0x45 

#EVENT_LED      id= 65   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff
#EVENT_LED      id= 66   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff
#EVENT_LED      id= 67   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff
#EVENT_LED      id= 68   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff
#EVENT_LED      id= 69   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff
#EVENT_LED      id= 70   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff
#EVENT_LED      id= 71   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff
#EVENT_LED      id= 72   type=NoteOn chn= 1 key=0xff
# (no LED ) 0xff

################################################################################
# SRegister 10
################################################################################
EVENT_BUTTON id= 73   type=NoteOn chn= 1 key=0x52
# (SOLO Defeat) 0x52 
EVENT_BUTTON id= 74   type=NoteOn chn= 1 key=0x4c
# (Sends)    0x4c 
EVENT_BUTTON id= 75   type=NoteOn chn= 1 key=0x65
# SCRUB    0x65 
##EVENT_BUTTON id= 76   type=NoteOn chn= 1 key=0x84
# MBLC_DISPLAY_NEXT   0x84 
EVENT_BUTTON id= 77   type=NoteOn chn= 1 key=0x3a
#  (F-5)     0x3a 
EVENT_BUTTON id= 78   type=NoteOn chn= 1 key=0x3b
# (F-6)     0x3b 
EVENT_BUTTON id= 79   type=NoteOn chn= 1 key=0x3c
# (F-7)     0x3c 
EVENT_BUTTON id= 80   type=NoteOn chn= 1 key=0x3d
# (F-8)     0x3d 

#EVENT_LED        id= 73   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 74   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 75   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 76   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 77   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 78   type=NoteOn chn= 1 key=0xff
# (no LED) 
#EVENT_LED      id= 79   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 80   type=NoteOn chn= 1 key=0xff
# (no LED)

################################################################################
# SRegister 11
################################################################################
EVENT_BUTTON id= 81  type=NoteOn chn= 1 key=0x2b
# (Channel Insets)  0x2b 
EVENT_BUTTON id= 82   type=NoteOn chn= 1 key=0x2f
# (Bank Right)    0x2f 
EVENT_BUTTON id= 83   type=NoteOn chn= 1 key=0x2e
# (Bank Left)    0x2e 
EVENT_BUTTON id= 84   type=NoteOn chn= 1 key=0x28
# (Page Up)    0x28 
EVENT_BUTTON id= 85   type=NoteOn chn= 1 key=0x35
# (SMPTE_BEATS)  0x35 
EVENT_BUTTON id= 86   type=NoteOn chn= 1 key=0x32
# (Flip)      0x32 
##EVENT_BUTTON id= 87   type=NoteOn chn= 1 key=0xa0
# (Punch)     0xa0 
##EVENT_BUTTON id= 88   type=NoteOn chn= 1 key=0xa1
# IGNORE     0xa1 

#EVENT_LED       id= 81   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 82   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 83   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 84   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 85   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 86   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 87   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 88   type=NoteOn chn= 1 key=0xff
# (no LED)

################################################################################
# SRegister 12
################################################################################
EVENT_BUTTON id= 89   type=NoteOn chn= 1 key=0x2a
# (Pan)     0x2a 
EVENT_BUTTON id= 90   type=NoteOn chn= 1 key=0x31
# (BANK_CHANNEL_RIGHT )    0x31 
EVENT_BUTTON id= 91   type=NoteOn chn= 1 key=0x30
# (BANK_CHANNEL_LEFT)    0x30 
EVENT_BUTTON id= 92   type=NoteOn chn= 1 key=0x29
# (Page Down)   0x29 
EVENT_BUTTON id= 93   type=NoteOn chn= 1 key=0x2d
# (Channel FX Sends) 0x2d 
EVENT_BUTTON id= 94   type=NoteOn chn= 1 key=0x51
# (MASTER FX   0x51 
EVENT_BUTTON id= 95   type=NoteOn chn= 1 key=0x2c
# (EQ)      0x2c 
EVENT_BUTTON id= 96   type=NoteOn chn= 1 key=0x50
# (VSTi)     0x50 

#EVENT_LED    id= 89   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 90   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 91   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 92   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 93   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 94   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 95   type=NoteOn chn= 1 key=0xff
# (no LED)
#EVENT_LED      id= 96   type=NoteOn chn= 1 key=0xff
# (no LED)

################################################################################
# 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=13 pins=0:1   type=non_detented
ENC n=  2   sr=13 pins=2:3   type=non_detented
ENC n=  3   sr=13 pins=4:5   type=non_detented
ENC n=  4   sr=13 pins=6:7   type=non_detented
ENC n=  5   sr=14 pins=0:1   type=non_detented
ENC n=  6   sr=14 pins=2:3   type=non_detented
ENC n=  7   sr=14 pins=4:5   type=non_detented
ENC n=  8   sr=14 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= 15 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= 10  sr_dout_r1=11 sr_dout_r2=12

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=14 sr_dout_r1=15 sr_dout_r2=16 \
                   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=17 inverted_row=0  mirrored_row=1  sr_dout_sel1=18  inverted_sel=0
 DOUT_MATRIX n=3   rows=8   sr_dout_r2=19 inverted_row=0  mirrored_row=1  sr_dout_sel2=20  inverted_sel=0

# 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

Link to comment
Share on other sites

War meine Annahme denn richtig, dass Du LED Digits mit einer gemeinsamen Anode verwendest?

Dass Du die Shift-Register Positionen ebenfalls anpassen musst ist klar, oder?

 

Falls Du nicht weiterkommst, wuerde ich Dir empfehlen, die DOUTs mit den LED Digits erstmal direkt an das Core Modul anzuschliessen, und die Digits bspw. mit diesem .NGC File zu ueberpruefen: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fleddig1.ngc

 

So kannst Du mit verringerter Komplexitaet die passende DOUT_MATRIX Konfiguration herausfinden.

 

Gruss, Thorsten.

Link to comment
Share on other sites

Also Ich habe es so Ausporbiert

EVENT_LED_MATRIX id=1 LcDigit  eingestellt und gibt mir ein (A) aus. Wenn auf gestellt(0) dann ganz Aus

EVENT_LED_MATRIX id=3  Digit1   eingestellt und gibt mir ein (1) aus  (0) =0

vieleicht ein Problem beim Dumpen ???

 

# Control five LED Digits to output 7bit values

RESET_HW

LCD "%CLED Digit Demo 2"

# HW definitions for "Common Cathode" Digits
# see also http://www.ucapps.de/midibox_ng/mbng_led_digits_5x7bit.pdf
DOUT_MATRIX n=1 rows=8 sr_dout_r1=1 inverted_row=1 mirrored_row=1 sr_dout_sel1=2 inverted_sel=1
DOUT_MATRIX n=2 rows=8 sr_dout_r1=3 inverted_row=1 mirrored_row=1 sr_dout_sel1=4 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:
# first matrix: LED_MATRIX:1 ... LED_MATRIX:8
# second matrix: LED_MATRIX:17 .. LED_MATRIX:24


# First Value (3 digits) received via CC#16
EVENT_LED_MATRIX id=1 fwd_id=LED_MATRIX:2 led_matrix_pattern=LcDigit  fwd_to_lcd=1 type=CC chn= 1 cc= 16 lcd_pos=1:1:2 label="1:%3d%B"
EVENT_LED_MATRIX id=2 fwd_id=LED_MATRIX:3 led_matrix_pattern=Digit2
EVENT_LED_MATRIX id=3                                      led_matrix_pattern=Digit1

Link to comment
Share on other sites

Es fehlt noch der SysEx string fuer die MTC digits:

# 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"

Gruss, Thorsten.

Link to comment
Share on other sites

Hast Du schonmal versucht, den SysEx string direkt von MIOS Studio aus zu senden (mit dem SysEx Tool)?

Damit kannst Du sicherstellen, dass er richtig verarbeitet wird.

 

Falls das klappt, weisst Du, dass Cubase den String offenbar nicht sendet...

 

Gruss, Thorsten.

Link to comment
Share on other sites

Du hast also die richtige Konfiguration fuer die LED Digits gefunden.

Der naechste Schritt ist nun, diese in das logictrl.ngc template zu uebertragen, sowie die shift register nummern (sr_dout_r1 und sr_dout_sel1) an Deine Hardware anzupassen.

 

Danach kannst Du nochmal den SysEx-Befehl senden, um sicherzustellen, dass die Anpassung richtig war.

 

Und dann sollte es auch mit Cubase funktionieren.

 

Gruss, 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...
×
×
  • Create New...