FAILURE MAP
← Case archive

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

Transposing instrument written and concert pitch: tenor saxophone treated like a clarinet · case 04

Tenor saxophone parts are written a major second above concert instead of a major ninth.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [instrument, pitch, direction]. Each instrument has a stipulated sounding offset in semitones (concert = written + offset): Bb clarinet -2, A clarinet -3, F horn -7, Eb alto sax -9, Bb tenor sax -14, Eb baritone sax -21, guitar -12, piccolo +12, D trumpet +2, flute 0. direction to_concert adds the offset, to_written subtracts it. pitch and result must be MIDI 0..127; otherwise, or for unknown instrument or direction, return None.

Why this case matters

Score and part generators convert between written and sounding pitch for every transposing instrument.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
oracle 07260Failed

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 ↗