Route and transform MIDI events.