break ties into selected note
fix ties & rests on MIDI input