FAILURE MAP
← Case archive

FA-81497 / MIDI event timing / Member archive

Set Tempo meta event to BPM: declared length of the tempo event not checked · case 02

A malformed Set Tempo event declaring length 4 or 2 is accepted as if it were valid.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input the bytes of a Set Tempo meta event: FF 51 03 followed by a 24-bit big-endian microseconds-per-quarter value (nonzero). Return [microseconds, bpm_x100] where bpm_x100 = 6000000000 / microseconds rounded half up. Anything else returns None.

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 4[500000, 12000]nullFailed

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 ↗