FAILURE MAP
← Case archive

FA-81267 / Music interval and transposition theory / Member archive

Diatonic step transposition within a major key: no octave carry past the seventh degree · case 02

B4 up one step in C major gives C4 instead of C5: the result wraps within the original octave.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [tonic, notes, steps] where tonic is a MIDI reference note. Each note must belong to the major scale on the tonic (else return None). Its scale position is its degree plus 7 per octave counted from the tonic note with floor division (notes below the tonic note are in negative octaves). Move by the signed number of steps and return the resulting MIDI notes.

Why this case matters

Harmonisers and sequence generators transpose melodies diatonically rather than chromatically.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
oracle 0[60][72]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 ↗