Improve Midi NoteOn/NoteOff