Validate and stable-sort note events once, then expose logarithmic onset and active-note lookups. Non-positive-duration notes may be retained for callers that intentionally filter them later, but never count as sounding.
Validate and stable-sort note events once, then expose logarithmic onset and active-note lookups. Non-positive-duration notes may be retained for callers that intentionally filter them later, but never count as sounding.