MIDI processing and patching system