FAILURE MAP
← Case archive

FA-81489 / MIDI event timing / Member archive

Tick to microsecond conversion through a tempo map: segment start not advanced at a tempo change · case 04

After a tempo change the time before the change is counted again at the new tempo.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [ppq, changes, tick] where changes are [tick, microseconds_per_quarter] in any order (a later entry at the same tick overrides an earlier one). Before the first change the tempo is 500000. Each tempo applies from its tick onward. Sum the exact time of each segment and floor once at the end. Invalid ppq or negative tick 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 0690475547618Failed

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 ↗