FAILURE MAP
← Case archive

FA-81677 / MIDI event timing / Member archive

Sustain pedal note-off deferral: notes sounding at the end vanish · case 02

Notes still held by the key or pedal when the events end are missing from the output.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input time-ordered events [tick, kind, value]: kind on/off with a note number, or cc64 with a controller value (pedal down when value >= 64). A note-off while the pedal is down is deferred until the pedal goes up. Re-striking a note that is still sounding ends the previous instance at the new tick. Notes still sounding at the end end at the last event tick. Return sorted [note, start, end] triples.

Why this case matters

MIDI sequencers, file readers and synth drivers depend on exact event ordering and tick/time arithmetic.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
oracle 2[[60, 0, 8], [64, 1, 12]][[60, 0, 8], [60, 8, 12], [64, 1, 12]]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗