SmartDataAI Lab Notes: Note Names and Octave Conventions — The Displaced Octave
Which manufacturer's middle C is in your register? We built a 300-row register of the 48 notes from MIDI 36 to MIDI 83 and spelled each row five ways,...
Which manufacturer's middle C is in your register? We built a 300-row register of the 48 notes from MIDI 36 to MIDI 83 and spelled each row five ways, and the answer decides whether a name in the register points at the note it was written for or at a note an octave away. Two conventions number the octaves from different origins: under the Yamaha convention, middle C — MIDI note 60 — is C3; under the Roland convention, the same key is C4. Every note name in the register therefore exists twice, once per convention, and the texts are identical while the notes are not. A name written under one convention and read under the other does not come back garbled or empty. It comes back as a real note, exactly twelve semitones low, for 45 of its 60 rows — and for the remaining 15 it falls off the bottom of the register entirely, because the note it lands on is one the register does not hold.
How the register was built and read
The register's 300 rows are sampled with replacement from the 48 MIDI notes running from 36 to 83. Five spellings are used, sixty rows each: the MIDI number; the note name under the Yamaha convention, in which the octave digit is counted so that MIDI 60 is C3; the note name under the Roland convention, in which MIDI 60 is C4; the Yamaha name read by a Roland reader; and the frequency in hertz at one decimal, read back by nearest note. Three stages of parsing are applied — the MIDI number on its own first, the Yamaha name added second, and the complete set of five last. Every figure in what follows comes out of the harness and results stored in the evidence folder for this batch, where the run notes set out the design.
The first stage accounts for 60 rows; the second for 120; all five spellings together reach 240 of 300.
| Spelling | Stage added | Rows recovered of 60 | Wrong note returned |
|---|---|---|---|
| MIDI number | 1 | 60 | 0 |
| Yamaha name | 2 | 60 | 0 |
| Roland name | 3 | 60 | 0 |
| Yamaha name, Roland reader | 3 | 0 | 45 |
| Frequency in Hz | 3 | 60 | 0 |
The Displaced Octave, defined
The Displaced Octave is the condition of a naming system whose labels are counted from an origin that is set by convention rather than by the thing named, so that the same label denotes different values under different conventions and a record moved between conventions is transposed wholesale — every entry shifted by the same interval, none of them flagged. The concept is distinct from The Three Zeros, an earlier register's finding in which three ring-size scales kept three different zero points and a size's number had to be read against its own scale's origin to mean anything. There, the origins were properties of three rival scales, and the register's task was to keep the scales apart. Here there is one scale of pitch and one set of note names; what differs is only where two manufacturers start counting octaves. The displacement is therefore invisible in any single entry — a C3 is a perfectly good name in both conventions — and total in aggregate: a library moved across the boundary is not partly wrong but uniformly wrong, every note exactly one octave from where its name says it should be, in the same direction.
The worked example: two notes
The register's example row is MIDI 40, the E below middle C. Its number returns it at stage one; its frequency, "82.4 Hz", returns it under the full parse; and its two names — "E1" in the Yamaha spelling, "E2" in the Roland — each return it under their own reader. The failure is in the crossing: "E1" read by the Roland reader names MIDI 28, a note below the register's floor of 36, so the row returns nothing at all. The showcase row is MIDI 75, a D sharp in the register's upper half. Its Yamaha name is "D#4"; read by the Roland reader, "D#4" returns MIDI 63 — a real note, in the register, an octave below the truth, indistinguishable from a correct filing unless the reader knows which convention wrote the name. The two rows are the pattern's two outcomes in miniature: a crossed name either lands on a real note and is believed, or lands outside the register and vanishes. What it never does is land on the note it was written for: the cross-read form recovered 0 of its 60 rows.
Migrating a library across the boundary: inventory, switch, parallel run, rollback
The register's repair, written as the migration procedure this finding dictates, runs in four parts. The pre-migration inventory comes first: before any name moves, establish which convention wrote the library — the inventory test is a single known note, and the register's is middle C: find the entry the source system calls C3 or C4 and check it against MIDI 60, because that one entry identifies the origin the whole library counts from. The switch steps follow: convert every name through the note number, never directly from name to name — name to MIDI number under the source convention, then MIDI number to name under the target convention — so the octave digit is recomputed from the value rather than carried across; the switch is timed for a single pass, not a gradual one, because a half-migrated library holds both conventions at once and no entry in it can be trusted by its name. The parallel-run arrangement: for one checking cycle, keep the MIDI number beside every name — the number is the only spelling in this register that never failed, returning 60 of 60 — and sample the converted library against it, counting a conversion correct only when name and number agree under the target convention. The rollback plan: retain the pre-migration library untouched until the parallel run closes clean, since the displacement is uniform and therefore reversible exactly once, by the same twelve-semitone shift, only if the original has not been edited in the meantime. The decision rule the procedure ends with is the register's whole lesson in one line: a note name is data only when its convention travels with it — where the convention is unknown, file the number, and treat the name as a comment.
FAQ
How far off is a crossed name? Exactly twelve semitones — one octave — low, on every row. A Yamaha name read under the Roland convention returns the note an octave below the one named, when that note is in the register at all.
Why did 15 of the 60 crossed rows return nothing? Their true notes sit in the register's lowest octave, MIDI 36 to 47. Displaced twelve semitones down, they land at MIDI 24 to 35, below the register's floor, so the reader has no note to return.
Which spelling never failed? Two: the MIDI number, and the frequency in hertz read back by nearest note. Both recovered 60 of 60, because neither depends on a counting origin.
Can the two conventions be told apart from a name alone? No. "C3" is a valid name in both systems; it denotes MIDI 60 under Yamaha counting and MIDI 48 under Roland counting. Only an external anchor — a known note checked against its number — reveals which convention a library uses.
Sources: own run of sd-harness-batch35.py in the batch evidence folder; the complete results are sd-results-batch35.json and the design is written up in sd-run-notes-batch35.md. Figure: original chart, recovery by spelling in the note-name register.