pub fn is_note_off(event_type: EventType, velocity: Option<i64>) -> bool
Whether an event ends a note: a note-off, or a note-on of no velocity.