Twelve-Tone Music
Build a matrix, score a row against the census, and write music with one.
Pitch Classes
Every C on the piano, in any octave, belongs to one pitch class. There are twelve, numbered 0 to 11 with C = 0.
Arithmetic wraps around like a clock: 11 + 1 = 0. An interval class is the shorter way around the clock between two pitch classes, so it runs from 1 (a semitone) to 6 (a tritone, exactly halfway).
Why twelve? An octave doubles a string's frequency, and Western tuning divides that doubling into twelve equal semitones. Go up twelve semitones and you are back on the same letter name, one octave higher. That is why the clock has twelve hours and why C, C an octave up and C two octaves down all count as one pitch class.
Spelling stops mattering too. C sharp and D flat are the same key on the piano, so both are pitch class 1. This is what lets a row be written as twelve numbers instead of twelve notes on a staff.
Set theory treats all twelve the same. The book's point is that the ear does not: a semitone below a triad tone leans toward it, and a tritone leans toward resolution.
Twelve-Tone Rows
A row is an ordering of all twelve pitch classes, each used once. Schoenberg built whole pieces from one row and its transformations.
The rule against repeating a pitch class before all twelve have sounded was meant to stop any tone from gaining weight. Doublings and early repetition were avoided because, in Schoenberg's words, "an emphasized tone could be interpreted as a root, or even as a tonic."
That rule makes the number of rows finite: 12 choices for the first note, 11 for the second, and so on. 12 x 11 x 10 x ... x 1 = 479,001,600. Finite means countable, which is what made the census possible.
Four forms. Every row comes in four shapes. The prime (P) is the row as written. The retrograde (R) plays it backward. The inversion (I) turns every interval upside down, so a step up becomes the same step down. The retrograde inversion (RI) plays the inversion backward. Each form can start on any of the twelve pitch classes, so one row gives a composer 48 related lines. The matrix calculator below lays all 48 out in one grid.
How composers use them. Everything in the piece comes from the row. Notes can be stacked into chords, split between instruments, given any rhythm and placed in any octave. What stays fixed is the order. That is why the book counts relationships inside the order: whatever a composer does to the surface, the row's adjacent notes are always heard near each other.
Webern, Symphony Op. 21
Berg, Violin Concerto
Listen for the stacked triads: G minor, D major, A minor, E major, then a whole-tone tail.
Pitch-Class Set Theory
Set theory names collections of notes regardless of order, octave or transposition, so that every possible chord or melody fragment has a label.
Normal Order
Arrange the notes in the most compact ascending order. B, D, G becomes G, B, D: the shortest span around the clock.
Prime Form
Transpose the normal order to start on 0 and compare it with its inversion; keep the more compact one. Every major and minor triad is (037). The dominant seventh is (0258).
Interval Vector
Count how many of each interval class the set contains, from semitones to tritones. A major triad is <001110>: one minor third, one major third, one perfect fourth or fifth.
How Many Shapes Are There?
Under transposition and inversion, all 4,096 possible collections reduce to a few hundred set classes, with just 12 trichord classes and 29 tetrachord classes. Chapter 7 tests every one of them, as a chord and in every ordering.
An example from start to finish. Take the notes E, G and C. In normal order they become C, E, G, the tightest arrangement around the clock. Moved down to start on 0 that is (0, 4, 7). Its inversion is (0, 3, 7), which is more compact at the bottom, so the prime form is (037). The minor triad A, C, E goes through the same steps and lands on (037) too. Set theory calls major and minor the same shape, one the mirror of the other.
Why it matters here. Because every collection reduces to a label, the census can ask the same question of every four-note window in every row: which shape is this, and what does a listener trained on tonal music expect it to do next?
Set theory's neutrality, treating (037) and (0123) as equally valid shapes, is "a policy of description". It makes no claim about how the classes are heard. The book adds what set theory leaves out: weight.
The Relationships the Book Counts
Each of these is something tonal harmony or jazz already treats as a relationship. Click to hear each one.
Each relationship is checked inside a window of four adjacent notes, the span a listener easily holds in memory. A window "resolves" when it contains a pull and its goal: a tone leaning a semitone toward a chord tone, a tritone collapsing inward, a chain of fifths landing. Some windows hold only a pull, like an unresolved tritone. That still counts as a relationship, just a weaker one. The tiers below run from strongest to weakest, and every row is scored by what it contains.
Leading Tone
B rises to C, with G or E in the window to support C as a goal.
Fa to Mi
F falls to E, the third of a C triad, with C or A present.
Tritone Resolution
F and B, a tritone, then one of them moves by semitone.
Chain of Fifths
Two successive fourths or fifths: a cadence in miniature.
Unresolved Tritone
The pull without the arrival. Still a pull.
Triad
A complete major or minor chord inside four notes.
How the Census Works
The same procedure was applied to every one of the 479,001,600 rows.
The rules were fixed and frozen in the repository before the final run, then the whole count was reproduced by an independent program written from the book's text alone.
- Slide a window. Read the row as nine overlapping windows of four successive notes: notes 1 to 4, 2 to 5, and so on to 9 to 12. Four notes sit well inside the span of the auditory present.
- Rank each window. Find the strongest relationship it realizes: Tier I a resolution, II an unresolved tritone, III a chord, leap or semitone step, IV a single scale, V bare intervals.
- Weigh them. Tier I counts 5, II counts 4, down to V at 1. The row's tonal index is the average of its nine weights, from 1 to 5.
- Compare. Place the row among all 479,001,600 rows: its percentile, its strongest and weakest windows, and how soon its first resolution comes.
- Check against listeners. Separately, measure key fit with the Krumhansl and Kessler key profiles, which come from listening experiments. Key fit is reported but never used as evidence for the thesis.
Row Analyzer
Click twelve keys on the piano, or load a famous row.
Twelve-Tone Matrix Calculator
All 48 forms of your row. Click any P, R, I or RI label to hear that form and see it written out.
P forms read left to right, R forms right to left, I forms top to bottom, RI forms bottom to top. Subscripts count semitones above the first note of P0. The book proves a row and its inversion always share the same tonal profile; retrograde rearranges it.
Set Classes
Pick any notes heard together and see the set class, the chords and scales inside it, and the keys it fits.
Melody Checker
Any line, row or not. Repeated notes are merged, then every group of four is ranked, exactly as Chapter 10 reads real scores.
Census Sampler
Draw a fresh random sample every time and compare it with the book's exact count of all 479,001,600 rows.
The download lists every row in your sample with its notes, all nine window tiers, the tonal index, the notes to the first resolution, the strongest and weakest window, and the mean key fit. It opens in Excel, Numbers or Google Sheets.
Press "Draw a new random sample" to begin.
Compose with a Row
A row is an ordering of all twelve pitch classes, each used once. Everything else in the piece grows from it.
Choose a Row by Its Character
"The method becomes a palette of tonal relationships rather than a means of escaping them." Generate a row with the character you want.
Hexachords and Combinatoriality
Split the row in half. When one half of a second form fills in exactly the missing six notes, the two forms can sound together and still complete all twelve.
Writing with the Row
Let one voice state the row as a line. Choose register so the shape sings: a leap of a major seventh can be written as a falling minor second an octave lower, and the ear will hear the semitone pull.
Group consecutive notes into chords: two hexachords, three tetrachords, or four trichords. The book's census tells you which of those groups already form triads, seventh-chord shells or tritones.
The row fixes order, not time or octave. Repetition of a note before the row moves on is allowed and gives a sense of weight, which is exactly what the book means by weight.
Move between forms the way tonal music moves between keys. A combinatorial pair gives you a home and a contrast; returning to P0 works like a return to the tonic.
Play each group of four and listen. Where a leading tone resolves, you can lean into it or hide it with register and rhythm. The book shows that hiding is a choice: the pull is still in the notes.
Load Webern's Op. 21, Schoenberg's Op. 25 or Berg's Violin Concerto in the Row Analyzer and compare. Schoenberg and Webern chose rows that avoid key but keep tendency; Berg did the reverse.
Glossary
Terms as the book defines them.
Tone
"A sound with a perceptible pitch."
Pitch Class
A tone up to octave equivalence, written 0 to 11 with C = 0.
Interval Class
The shorter distance between two pitch classes, from 1 to 6.
Tone Relationship
"Any respect in which one tone, or group of tones, is heard in relation to another." It excludes bare membership of the chromatic scale: "A relationship must be something a listener could, in principle, fail to hear."
Weight
"The degree to which the tone is heard as structurally significant there: as a goal, a center, a point of reference or rest, or as the tone to which others relate."
Tonal, Broad Sense
"Music is tonal insofar as its tones stand in perceptible relationships." Schoenberg's sense.
Tonal, Narrow Sense
Music whose relationships are organized around a governing center, a tonic.
Equality Claim
That no tone carries more weight than another. Global (no center for the whole piece) is conceded; local (within the spans where we listen) is contested.
Emancipation Claim
"That dissonance can be freed from the obligation to resolve."
Privation
A lack defined by what it lacks. Musical dissonance is a privation of the stability of consonance.
Privative Term
A word defined as an absence, like "amoral" or "atonal". It applies only where its positive term could.
Implied Tonality
Relationships "present in the material, available to the ear and structurally real, but veiled, competing and rarely allowed to settle."
Collapse
Merging immediate repetitions of a pitch class into one event before scoring.
Window
An ordered run of successive notes, four in the census. A row has nine.
Tier
The strongest of five ranked levels a window reaches: I Resolution, II Implication, III Motion and consonance, IV Collection, V Interval quality.
Tonal Index
The mean weight of a row's nine windows, from 1 to 5. It measures density and strength of relationships, not key clarity.
Ceiling and Floor
The strongest and the weakest tier among a row's windows.
Key Fit, Lens K
The best correlation of a set's notes with the 24 Krumhansl and Kessler key profiles. Derived from listeners and descriptive only.
Onset
The number of notes from a starting point until the first event of a given tier.
Row Class
In Chapter 8, a row beginning on C standing for its 12 transpositions. In Chapter 9, all 48 forms of a row.
Join
The last three notes of one row form plus the first three of the next: the three windows that straddle the boundary.
Performative Contradiction
"A contradiction not between two sentences but between what a practice says and what it does."