I don't understand what that means, How about a schematic, even hand drawn.
Did you look at the Merger example that comes with the library? arduino_midi_library/examples/DualMerger at master · FortySevenEffects/arduino_midi_library · GitHub
It is close to what you want. except you just read from A, filter and send out on B