MIDI merge
Combining two or more MIDI streams into one — something a Y-cable cannot do, so it takes a small computer of its own.
Audio can be mixed by summing voltages, but MIDI is serial data at 31.25 kbit/s. Two transmitters on one wire don't produce a blend, they produce shredded bytes. A merger reads each input, waits until a message is complete and then forwards it in turn — a note-on must never be split by a stray byte from the other input.
That sounds easy until running status shows up: a sender that omits the status byte is relying on the receiver to remember the last one, so a merger has to reinsert status bytes whenever it switches streams. Real-time messages such as MIDI clock, on the other hand, may be slipped in anywhere. Computers and DAWs do the same merging in software; dedicated merge boxes are for when two keyboards need to play one synth with no computer in between.