improve MIDI IN processing