I'd suggest that you immediately forget about this one - it will corrupt your MIDI data as soon as both devices connected to the IN port send data at the same time. Who on earth "designs" such things, without even considering the nature of the MIDI protocol?