added more accurate incoming NoteEvent processing