Hardware and firmware for a 4x4 MIDI merger/splitter patchbay based on an Arduino MEGA 2560