Midi I/O

Hi,

I'm looking for a little help with the code on my midi controller project. I have a midi breakbox box connected to my 2560 board, running 16 switches, programmed to specific Midi cc's. All credit goes to Dave from Notes and Volts, which is just amazing to get me where I am today. I've attached the code for the project, which can be found here: Arduino MIDI Controller: Part 2 - Buttons - YouTube

What I did was add a midi break out box with an in and out, and I'm trying to figure out how to add the code that will pass/merge midi in data to midi out. Everything that goes out works perfect, and I'm really just trying to pass (add/merge) midi clock from the PC to and thru the arduino, merge that data with what the arduino controller does.

Any help, I would truly appreciate. I've tried a few different things, but no clock data is getting through.

MMC-505v1.ino (8.81 KB)

It would be easier if you'd said what you've tried instead of just "a few different things".

I think MIDI Thru should be enabled as default in the MIDI library so it should just work when you change the midi.begin() to allow input (OMNI or a channel number) and maybe add a midi.read() in loop. But if you've already tried that and it doesn't work then I've wasted my time.

Steve

Thanks Slipstick, I do appreciate your time. I'll focus on these 2 parts of the code, and try and make sure theres no conflicts. I had to put the breakbox together, so I'll also check it with meter.
Thank you,
Maych