Twelve-Tone Basics

An introduction to pitch classes, twelve-tone rows, set theory and the tonal relationships the census counts.

What This Page Covers

This page explains the ideas needed to follow the book and use the tools on this site: how notes become numbers, what a twelve-tone row is, how set theory names a chord, and which tonal relationships the census looks for inside a row.

In Short

  • There are twelve pitch classes, numbered 0 to 11 with C = 0.
  • A row uses each pitch class once, so there are exactly 479,001,600 rows.
  • Set theory gives every collection of notes a label, such as (037) for any major or minor triad.
  • The census reads each row four notes at a time and records the strongest tonal relationship it finds.

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). Click any two notes on the clock to see their interval class and hear them.

Why Twelve

An octave doubles a string's frequency, and Western tuning divides that octave into twelve equal semitones. Twelve semitones up, you are back on the same letter name.

Spelling Drops Out

C♯ and D♭ are the same key on the piano, so both are pitch class 1. That is what lets a row be written as twelve numbers.

Set theory treats all twelve alike. 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. Schoenberg avoided doublings and early repetition because "an emphasized tone could be interpreted as a root, or even as a tonic."

12! = 12 × 11 × 10 × ⋯ × 1 = 479,001,600

The same rule makes the number of rows finite: 12 choices for the first note, 11 for the second, and so on. Because the number is finite, every row can be examined, and that made the census possible.

Prime (P)

The row as written.

Retrograde (R)

The row played backward.

Inversion (I)

Every interval turned upside down: a step up becomes the same step down.

Retrograde Inversion (RI)

The inversion played backward.

Each form can start on any of the twelve pitch classes, so one row gives a composer 48 related lines. The Matrix Calculator lays all 48 out in one grid.

What Stays Fixed

A composer can stack the row into chords, split it between instruments and give it any rhythm or octave. The order stays fixed. That is why the book counts relationships inside the order: whatever happens on the surface, the row's neighboring 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 Form

Arrange the notes in the most compact ascending order, written in square brackets. The set {BDG} becomes [GBD]: the shortest span around the clock.

Prime Form

Transpose the normal form to start on 0, compare it with its inversion and keep the more compact one, written in parentheses. Every major and minor triad is (037). The dominant seventh is (0258).

Interval-Class Vector

Count how many of each interval class the set holds, 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.

Worked Example: E, G and C

  1. Collect the notes. The set is {EGC}, or {4, 7, 0} as numbers.
  2. Find the normal form. The tightest arrangement around the clock is [CEG], or [0, 4, 7].
  3. Compare with the inversion. Inverting gives [0, 3, 7], which packs its notes more tightly at the bottom.
  4. Name the prime form. The prime form is (037), Forte 3-11. The minor triad ACE 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. 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 a chip to hear it.

Each relationship is checked inside a window of four neighboring notes, a span a listener easily holds in memory. A window "resolves" when it holds a pull and its goal: a tone leaning a semitone toward a chord tone, a tritone followed by a note a semitone from one of its tones, or a chain of fifths landing. A window that holds only a pull, like an unresolved tritone, still counts as a relationship, one rank lower.

Leading Tone

B rises to C, with E♭, E or G in the window to support C as a goal.

Fa to Mi

F falls to E, with C or G present, so E sounds as the third of C major. C♯ or G♯ also count, since E is the third of C♯ minor.

Tritone Resolution

F and B, a tritone, then a note a semitone from one of them.

Chain of Fifths

Two fourths or fifths in a row, moving the same way around the circle: a cadence in miniature.

Unresolved Tritone

A tritone whose resolution does not arrive. The census still counts it as a relationship.

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 written down and frozen before the final run. An independent program, written from the book's text alone, then reproduced the whole count.

The full method, step by step
  1. 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.
  2. Rank each window. Find the strongest relationship it holds: Tier I a resolution, II an unresolved tritone, III a chord, leap, semitone step or filled line, IV a fragment of a familiar scale, V bare intervals.
  3. 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.
  4. Compare. Place the row among all 479,001,600 rows: its percentile, its strongest and weakest windows, and how soon its first resolution comes.
  5. Check against listeners. Separately, measure key fit with the Krumhansl and Kessler key profiles, which come from listening experiments. Key fit is kept as a description beside the tiers, never as evidence for the thesis.