Jump to content

question on mapping incoming midi events to led's


shmuu102
 Share

Recommended Posts

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....

Link to comment
Share on other sites

HI

You can use a  command  USER_MPROC_NotifyFoundEvent  - for catch incoming midi message and attach it for :

MIOS_DOUT_PinSet1    -FOR LIGHT ON LED , and

MIOS_DOUT_PinSet0    -FOR LIGHT OFF .

It is a key for  a heven  :D

Link to comment
Share on other sites

Hi,

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

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...