Jump to content

separating button press from led lighting (MIDIO128)


*jOi~
 Share

Recommended Posts

Hi everyone,

Got my midibox working with LEDs this evening, but after much scouring of the forum and ucapps, i havent been able to solve my issue.

FYI: using WinXP with MB->RS232(serial) module, and programming in Max/MSP

Problems:

1) whenever i press a button the corresponding LED lights up. granted this could be useful in some applications, but I would like to turn it off, and if i do want to activate it i will do that via software programming.

2) i have been unable to light the LEDs with noteout messages from Max, however before i turned off the softsynth i was getting chromatic piano notes (so max is sending data) - i think max may not be sending data to the PIC, even though I have selected the driver in preferences.

Other than these issues it's been working fantasticaly - and all the parts for my 8x16 button and led matrix are on the way - providing an awesome visual method of controlling ableton live...

Thanks for the help

Trent

Link to comment
Share on other sites

Hi Trent,

1) there are different ways for disabling this "internal feedback". The easiest is the use of the mk_midio128_syx script, which creates a new configuration. So, just open the default midio128.ini file, search for these lines:


################################################################################
# Forward Input to Output
# If Enabled:  if an inputs gets an raising or falling edge, the appr. output
#              pin will be set to the same new logic level. The output pin
#              can be controlled via MIDI also
# If Disabled: an output pin can only controlled via MIDI
# Default: disabled
################################################################################
[FORWARD_INPUT_TO_OUTPUT]
  enabled
[/code] and set the switch to "disabled" An alternative way is to change this in the firmware, and to build a new .hex file. Changes have to be made in main.asm:
[code]
; Forward Input to Output
; If 0: if an inputs gets an raising or falling edge, the appr. output
;      pin will be set to the same new logic level. The output pin
;      can be controlled via MIDI also
; If 1: an output pin can only controlled via MIDI
#define DEFAULT_FORWARD_IO      1

2) are you able to control the LEDs by sending Note messages with another tool. E.g., with MIDI-Ox?

Great to hear, that the rest is working :)

Best Regards, Thorsten.

Link to comment
Share on other sites

Hey Thorsten,

Thanks for the tip, and ironically i had just worked it out before i read the message. I'd love to get more into the firmware stuff though, because I'd love to start making some modifications, and eventually create a led/scan matrix which i understand there is no standard code for.

oh well, thanks the hel, and ill get back to it - how i love university holidays :D

Trent

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