OptionalallowAccept notes that never sound. The analysis side does, so an array from a MIDI import can be validated before the zero-length artefacts are dropped.
OptionalbudgetUpper bound on the event count; defaults to the generation budget.
OptionalminEarliest accepted onset. Onsets are unbounded below by default, because a
pickup sounds before the downbeat and the downbeat is beat 0; pass
-pickupBeats to reject a note starting earlier than the pickup a caller
has declared.
How strictly assertNoteEvent and assertNoteEvents read an event array.