Pitch-Class Sets and Integer Notation
Post-tonal analysis starts by turning notes into numbers. This page shows how: pitch classes numbered 0 to 11, arithmetic that wraps around at 12, the four kinds of interval, and how to pull a pitch-class set out of a passage.
Post-tonal guides: pitch-class sets · normal and prime form · Tn and TnI · interval vectors · twelve-tone matrix
- Pitch classA note name without its octave. C = 0, C♯ = 1, and so on up to B = 11.
- Mod 12Past 11, subtract 12; below 0, add 12. 9 + 5 = 2.
- Pitch-class setThe pitch classes in a passage, with no order and no repeats, written in braces: {6, 7, 10}.
Learning Objectives
- I can write any note as a pitch-class integer
- I can add and subtract mod 12
- I can name the four kinds of interval and find each one
- I can write the pitch-class set of a passage
1 Pitch and Pitch Class
A pitch is one particular note: the C in the middle of the piano, or the C an octave above it. A pitch class is every note with that name, in any octave. All the Cs on the piano are one pitch class.
Two ideas make this work. Octave equivalence: notes an octave apart count as the same pitch class. Enharmonic equivalence: notes that are the same key on the piano count as the same pitch class, so C♯ and D♭ are one pitch class, and so are B♯ and C.
Tonal theory needs spelling, because C♯ and D♭ do different jobs in a key. Much music written after 1900 has no key to decide the spelling, so post-tonal theory sets spelling aside and counts semitones.
2 Integer Notation
Each pitch class gets a number: how many semitones it is above C.
| Note | C | C♯ D♭ | D | D♯ E♭ | E | F | F♯ G♭ | G | G♯ A♭ | A | A♯ B♭ | B |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Integer | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
Many books write 10 and 11 as T and E, and some use A and B, so every pitch class is one character: {0, 4, T} means C, E and B♭. Careful: in this notation E is the number 11 (the note B), not the note E, which is 4.
This is fixed-zero notation: C is always 0. It is the system for pitch-class sets in most textbooks, including Straus’s Introduction to Post-Tonal Theory. Twelve-tone rows are sometimes numbered from their own first note instead; the twelve-tone matrix guide shows both.
3 Arithmetic Mod 12
There are only twelve pitch classes, so the numbers wrap around like a clock. This is called mod 12 (modulo 12) arithmetic.
- If a result is 12 or more, subtract 12: 9 + 5 = 14, and 14 − 12 = 2. A (9) up five semitones is D (2).
- If a result is below 0, add 12: 3 − 7 = −4, and −4 + 12 = 8. E♭ (3) down seven semitones is A♭ (8).
A clock face with 0 at the top makes this easy to see; the prime form calculator uses one.
4 Four Kinds of Interval
Post-tonal theory measures intervals in semitones, and it has four kinds, depending on whether octave and direction count. For the two kinds that keep the octave, Straus numbers pitches (not pitch classes) from middle C: C4 = 0, so E5 = 16 and the B just below middle C, B3, is −1. Straus names the four kinds this way:
| Kind | What counts | C4 (0) to E5 (16) | E5 to C4 |
|---|---|---|---|
| Ordered pitch interval | size, including octaves, and direction (+ up, − down): second number minus first | +16 | −16 |
| Unordered pitch interval | size, including octaves; no direction | 16 | 16 |
| Ordered pitch-class interval | direction only: count up from the first note, mod 12 | 4 | 8 |
| Unordered pitch-class interval (interval class) | neither: the smaller of the two ordered pitch-class intervals | 4 | 4 |
The ordered pitch-class interval from x to y is y − x, mod 12. From E (4) to C (0) is 0 − 4 = −4, which is 8: count up from E to the next C and you pass eight semitones.
The last kind, the interval class, runs only from 0 to 6, because 7 is 5 the other way, 8 is 4, and so on. Interval classes are what an interval vector counts.
5 Pitch-Class Sets
A pitch-class set is a group of pitch classes with no order and no repeats. To write the set of a passage:
- Write each note as an integer. The melody in the figure is G, F♯, B♭, G: 7, 6, 10, 7.
- Drop the repeats. The two Gs are in different octaves, but they are one pitch class: 7, 6, 10.
- Put them in braces, lowest number first. {6, 7, 10}. Order doesn’t matter in a set, so writing them from lowest up is just a habit that makes sets easy to compare.
The set ignores octave, rhythm, order and how often each note sounds. That is the point: it lets you compare the pitch content of two passages that look different on the page. The next step is to put each set in a standard order, its normal form, so that sets with the same structure can be recognized.
The number of notes in a set is its cardinality. Sets of three notes are trichords, four tetrachords, five pentachords, six hexachords.
6 Choosing the Notes to Study
The arithmetic is the easy part. The hard part is deciding which notes belong together, which analysts call segmentation. Good places to look:
- a chord, or notes held together;
- a melodic phrase or motive, set off by rests;
- notes grouped by one instrument, one register, or one dynamic or articulation;
- a figure that comes back later in the piece.
A segment is worth naming when its set returns, transposed or inverted, somewhere else. The Tn and TnI guide shows how to tell.
Practice
Check Your Understanding
Answer each one before you open it.
Write D, F♯, A and C as integers.
2, 6, 9, 0. As a set: {0, 2, 6, 9}.
What is 2 − 9, mod 12?
−7, plus 12, is 5.
G4 up to B♭5: what are its ordered pitch interval and its interval class?
+15 (an octave and a minor third), and interval class 3.
Why are {0, 4, 7} and {7, 4, 0} the same set?
A set has no order. Both are C, E, G.
Frequently asked questions
What is a pitch class?
A note name without its octave. All Cs belong to pitch class C, and enharmonic notes such as C♯ and D♭ are the same pitch class. In integer notation C is 0 and B is 11.
What does mod 12 mean in music theory?
Arithmetic that wraps around after 11, like a clock: subtract 12 from anything 12 or more, and add 12 to anything below 0. So 9 + 5 = 2, and 3 − 7 = 8.
What do T and E mean in pitch-class notation?
T is 10 (B♭) and E is 11 (the note B). They keep every pitch class to one character. Some books use A and B instead.
What is a pitch-class set?
The pitch classes in a passage, listed once each with no order, written in braces. A melody G, F♯, B♭, G has the set {6, 7, 10}.
What is the difference between a pitch interval and a pitch-class interval?
A pitch interval counts the actual semitones between two notes, including octaves, so C4 to E5 is 16. A pitch-class interval works mod 12: from C up to E is 4 in any octave, and from E up to C is 8.
Sources and further reading: Joseph N. Straus, Introduction to Post-Tonal Theory (4th ed., Norton, 2016); John Rahn, Basic Atonal Theory (Longman, 1980); Allen Forte, The Structure of Atonal Music (Yale, 1973).