Making a simple 1 MIDI IN + 1 arduino MIDI OUT merger (MIDI THRU + TX)
You're trying to build a MIDI mixer!  You need to work something out so messages go out one at a time, and don't mix together and get garbled.