This is the most compact and canonical representation of your pitch set.
Pitch Set Calculator
Enter your pitch classes (0-11) to calculate Normal Form, Prime Form, and Interval Vector.
| Interval Class (IC) | Definition | Count |
|---|
What is a Pitch Set Calculator?
A pitch set calculator is an essential tool for music theorists, composers, and students engaged in atonal music analysis. It helps in systematically organizing and understanding collections of pitch classes, providing insights into their inherent intervallic structures and relationships. Unlike traditional harmony, which focuses on specific notes and their functional roles within a key, pitch set theory deals with abstract collections of pitches, reducing them to their essential components regardless of octave or specific tuning.
This calculator takes a group of pitch classes (represented as integers from 0 to 11, where 0=C, 1=C#, ..., 11=B) and processes them to reveal their underlying structure. It computes key analytical forms such as the Normal Form, Prime Form, and Interval Vector, which are fundamental for comparing and classifying pitch sets in various compositions.
Who should use it: This tool is invaluable for anyone studying or composing 20th-century music, particularly serialism, twelve-tone technique, or other forms of atonal music. It provides a quick and accurate way to formalize and analyze musical ideas that might otherwise be difficult to categorize by ear alone.
Common misunderstandings: It's crucial to remember that a pitch set deals with pitch classes, not specific notes. So, a C4, C5, and C6 are all considered the same pitch class (0). Also, the order in which you input the pitches doesn't matter for the initial set, as the calculator will always reduce it to its most compact and canonical forms. The calculator also handles duplicates by ignoring them, as a set by definition contains unique elements.
Pitch Set Calculator Formula and Explanation
While there isn't a single "formula" in the algebraic sense, the pitch set calculator applies a series of algorithms to derive the Normal Form, Prime Form, and Interval Vector from an input set of pitch classes. These processes are based on established principles of musical set theory.
Key Concepts:
- Pitch Class (PC): Any of the twelve notes of the chromatic scale, regardless of octave. Represented by integers 0-11 (C=0, C#/Db=1, D=2, ..., B=11).
- Pitch Set: An unordered collection of unique pitch classes. Duplicates and octave differences are ignored.
1. Normal Form (NF):
The Normal Form is the most compact ascending arrangement of a pitch set. To find it, the calculator essentially performs the following steps:
- List all unique pitch classes in ascending order.
- Generate all possible rotations of the set (e.g., for {0,1,6}, rotations are {0,1,6}, {1,6,0+12}, {6,0+12,1+12}).
- For each rotation, determine its "span" (the interval between the first and last pitch class, considering all pitches within a single octave range).
- Select the rotation(s) with the smallest span.
- If there's a tie in span, choose the rotation that is "most compact to the left" (i.e., has the smallest interval between its first two pitches, then its second two, and so on).
- The chosen rotation, normalized to start with 0, is the Normal Form.
2. Prime Form (PF):
The Prime Form is the most compact and canonical representation of a pitch set, considering both the original set and its inversion. It allows for comparison of sets that are related by transposition and inversion. The algorithm is:
- Find the Normal Form of the original pitch set.
- Find the inversion of the original pitch set (each pitch
pbecomes12 - pmodulo 12). - Find the Normal Form of this inverted set.
- Compare the Normal Form of the original set with the Normal Form of its inversion.
- The "more compact to the left" of these two Normal Forms, transposed to start on 0, is the Prime Form.
3. Interval Vector (IV):
The Interval Vector is a six-digit number that summarizes the intervallic content of a pitch set. Each digit represents the count of a specific interval class (IC) within the set. The interval classes are:
- IC 1: Minor 2nd / Major 7th (e.g., C-C#)
- IC 2: Major 2nd / Minor 7th (e.g., C-D)
- IC 3: Minor 3rd / Major 6th (e.g., C-Eb)
- IC 4: Major 3rd / Minor 6th (e.g., C-E)
- IC 5: Perfect 4th / Perfect 5th (e.g., C-F)
- IC 6: Tritone (e.g., C-F#)
The calculator counts all unique pairs of pitches within the set and determines their interval class, then compiles these counts into the vector.
Variables Used in Pitch Set Calculation:
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Pitch Class (PC) | An integer representing a musical note (0=C, 1=C#, etc.) | Unitless (mod 12) | 0 - 11 |
| Pitch Set (S) | An unordered collection of unique pitch classes | Unitless (set of integers) | Any subset of {0, 1, ..., 11} |
| Normal Form (NF) | The most compact ascending arrangement of a pitch set | Unitless (ordered set of integers) | Ordered subset of {0, 1, ..., 11} |
| Prime Form (PF) | The most compact and canonical representation of a pitch set | Unitless (ordered set of integers) | Ordered subset of {0, 1, ..., 11} |
| Interval Vector (IV) | A six-digit representation of the intervallic content | Unitless (counts) | [0-n, 0-n, 0-n, 0-n, 0-n, 0-n] |
Practical Examples Using the Pitch Set Calculator
Let's explore how the pitch set calculator works with a few practical examples, from common musical structures to more abstract atonal sets.
Example 1: A C Major Triad
Inputs: C, E, G. In pitch class notation, these are 0, 4, 7.
Calculator Input: 0, 4, 7
Results:
- Normal Form: [0, 4, 7]
- Prime Form: (014)
- Interval Vector: [0, 0, 1, 1, 1, 0] (One IC3, one IC4, one IC5)
- Cardinality: 3
Explanation: The C major triad is a relatively consonant set. Its Normal Form is simply the pitches in ascending order. Its Prime Form is the same, but written in the standard (014) notation. The Interval Vector shows it contains one minor third (IC3), one major third (IC4), and one perfect fourth/fifth (IC5).
Example 2: The "Mystic Chord" (Prometheus Chord)
Inputs: C, F#, B♭, E, A, D. In pitch class notation (starting from C=0): 0, 6, 10, 4, 9, 2.
Calculator Input: 0, 6, 10, 4, 9, 2 (order doesn't matter, it will be sorted)
Results:
- Normal Form: [0, 2, 4, 6, 9, 10]
- Prime Form: (02469T)
- Interval Vector: [2, 3, 2, 3, 2, 3]
- Cardinality: 6
Explanation: This hexachord, famously used by Scriabin, has a distinctive intervallic makeup. The Normal Form arranges these specific pitches compactly. The Prime Form provides its canonical label. The Interval Vector shows a distribution across most interval classes, notably lacking IC1 but having three tritones (IC6), contributing to its dissonant and elusive quality.
Example 3: A Common Atonal Trichord
Inputs: C, C#, F#. In pitch class notation: 0, 1, 6.
Calculator Input: 0, 1, 6
Results:
- Normal Form: [0, 1, 6]
- Prime Form: (016)
- Interval Vector: [1, 0, 0, 0, 0, 1] (One IC1, one IC6)
- Cardinality: 3
Explanation: This is a highly dissonant trichord due to the presence of both a minor second (IC1) and a tritone (IC6). Its Normal Form and Prime Form are identical to the input because it's already in its most compact form. This set is often used in atonal compositions for its distinctive intervallic tension.
How to Use This Pitch Set Calculator
Our pitch set calculator is designed for ease of use, providing quick and accurate analysis for your musical sets. Follow these simple steps to get started:
- Enter Pitch Classes: You have two primary ways to input your pitch classes:
- Text Input: Type your pitch classes as numbers (0-11) separated by commas into the "Enter Pitch Classes" field. For example,
0, 4, 7for a C major triad. The calculator automatically handles duplicates and ignores non-numeric input. - Checkboxes: Below the text input, you'll find a series of checkboxes labeled 0 through 11. Simply click the checkboxes corresponding to the pitch classes you wish to include in your set. Selecting or deselecting a checkbox will automatically update the text input field.
- Text Input: Type your pitch classes as numbers (0-11) separated by commas into the "Enter Pitch Classes" field. For example,
- Initiate Calculation: After entering your pitch classes, click the "Calculate Pitch Set" button. The results will appear instantly below the input section. Alternatively, the calculation updates in real-time as you type or click checkboxes.
- Interpret Results:
- Prime Form: This is the primary, highlighted result, giving you the canonical representation of your set.
- Normal Form: Shows the most compact ascending arrangement of your input pitches.
- Interval Vector: Provides a six-digit code indicating the count of each interval class (1-6) present in your set.
- Cardinality: Simply the number of unique pitches in your set.
- Visualize with the Clock Face: The interactive clock face chart visually represents your selected pitch classes, making it easy to see their distribution within the octave.
- Review Interval Table: The table below the chart provides a detailed breakdown of the interval classes and their definitions, along with their counts in your current set.
- Copy Results: Use the "Copy Results" button to quickly copy all calculated values to your clipboard for easy pasting into documents or other applications.
- Reset: If you want to start fresh, click the "Reset" button to clear all inputs and return to the default example set.
Remember, all values are unitless pitch class integers (mod 12), representing the notes of the chromatic scale from C (0) to B (11).
Key Factors That Affect Pitch Sets
Understanding the factors that influence the characteristics of a pitch set is crucial for effective atonal analysis. The pitch set calculator helps reveal these factors through its outputs.
- Cardinality: The number of unique pitch classes in a set directly impacts its potential intervallic content and complexity. A dyad (2 pitches) has only one interval, while a hexachord (6 pitches) can have many. This affects the density of the Interval Vector.
- Specific Pitch Classes: The actual pitch classes chosen (e.g., {0,1,2} vs. {0,4,7}) fundamentally determine the set's intervallic structure. Even with the same cardinality, different pitch choices lead to vastly different Normal Forms, Prime Forms, and Interval Vectors.
- Interval Content: This is perhaps the most critical factor. The types and quantities of interval classes (IC1-IC6) define the "sound" and analytical properties of a set. Sets rich in IC1s and IC6s will sound dissonant, while those with more IC3s, IC4s, and IC5s might sound more consonant or familiar. The Interval Vector directly quantifies this.
- Symmetry: Some pitch sets exhibit various forms of symmetry, such as inversional symmetry (the set is identical to one of its inversions) or transpositional symmetry (the set is identical to one of its transpositions). These symmetries are often reflected in the Prime Form and Interval Vector, indicating unique structural properties.
- Complement: Every pitch set has a complement – the set of all pitch classes not included in the original set. The relationship between a set and its complement is significant in set theory, and their Interval Vectors often share interesting properties (e.g., they are often inversions of each other).
- Transpositional Equivalence: Sets that can be transformed into each other by simply shifting all pitches up or down by a constant interval (transposition) are considered transpositionally equivalent. The Normal Form and Prime Form algorithms are designed to reveal this equivalence, showing that such sets share the same fundamental structure, regardless of their starting pitch.
- Inversional Equivalence: Sets that can be transformed into each other by inversion (flipping around an axis) are inversionally equivalent. The Prime Form specifically accounts for this, providing a single canonical label for sets related by either transposition or inversion.
Pitch Set Calculator FAQ
A: A pitch class refers to any of the twelve notes of the chromatic scale, regardless of the octave in which it appears. For example, all C's (C2, C3, C4, etc.) belong to pitch class 0. It simplifies analysis by focusing on the quality of the note rather than its specific register.
A: Using integers from 0 to 11 (modulo 12 arithmetic) is a standard convention in music set theory. It provides a consistent, mathematical way to represent the 12 semitones of the chromatic scale, where C=0, C#/Db=1, D=2, and so on, up to B=11. This allows for easier calculation of intervals and transformations.
A: The Normal Form is the most compact ascending arrangement of a pitch set. The Prime Form takes this a step further by also considering the inversion of the set. It compares the Normal Form of the original set with the Normal Form of its inversion, choosing the "more compact" of the two (transposed to start on 0) as the ultimate canonical representation. The Prime Form ensures that transpositionally and inversionally equivalent sets have the same label.
A: The Interval Vector is a powerful analytical tool that quantifies the intervallic content of a pitch set. It's a six-digit number where each digit represents the count of a specific interval class (IC1-IC6). Composers and theorists use it to identify common intervallic characteristics between different sets, understand their inherent dissonance/consonance, and explore their potential for specific musical effects.
A: The calculator automatically removes duplicate pitches. A "set" in mathematics (and music set theory) by definition contains only unique elements. So, 0, 4, 7, 0 will be treated as {0, 4, 7}.
A: No, the initial order of input pitches does not matter for the calculation of Normal Form, Prime Form, or Interval Vector. The calculator first processes your input into an unordered set of unique pitch classes before applying its algorithms.
A: This calculator currently only accepts integer values (0-11). You will need to convert any sharps or flats to their corresponding pitch class numbers first (e.g., C# = 1, Db = 1, F# = 6, Gb = 6, B♭ = 10, A# = 10).
A: While pitch set theory can be applied to traditional chords and scales (as seen in the C major triad example), its primary utility is in the analysis and composition of atonal and 20th-century music, where traditional harmonic functions are often absent or less relevant.
Related Tools and Internal Resources
Expand your understanding of music theory and composition with our other helpful tools and articles: