The MIDI Forum

  1. carl
  2. MIDI Software
  3. Friday, 30 June 2017
  4.  Subscribe via email
I made an Arduino in, out and thru box that I am using with a foot pedal (potentiometer) and three switches to send CC messages. I would like to merge the midi input from my Roland keyboard with these CC messages and send them all thru the midi out. Does anyone have a simple code for Arduino to read the input and merge it with the hard coded output?
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
You need to parse the incoming MIDI command stream to be able to detect message boundaries and to insert the additional messages there.

Google lists https://github.com/FortySevenEffects/arduino_midi_library, which has a merge example. But in your own application, you would not have two MIDI ports, but would simply output additional messages on the existing port.
Comment
There are no comments made yet.
  1. more than a month ago
  2. MIDI Software
  3. # Permalink
Accepted Answer Pending Moderation
0
Votes
Undo
Clemens,

Thank you so much for the help! I took the Merge example and, after a few mistakes on my part, was able to read the keyboard input and send it right back out along with the CC messages.
Comment
There are no comments made yet.
  1. more than a month ago
  2. MIDI Software
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.