Understanding Intervals
An Interval
represents the distance between two musical pitches. Understanding intervals is fundamental to music theory as they form the basis of scales, chords, and melodies.
What is an Interval?
An interval consists of two components:
- Interval Number
The numeric distance between notes (1 = unison, 2 = second, 3 = third, etc.)
- Interval Quality
The specific type of interval (Perfect, Major, Minor, Augmented, Diminished)
Interval Qualities
Different intervals have different available qualities:
Unison (1), Fourth (4), Fifth (5), and Octave (8) can be:
- **Diminished**: One semitone smaller than perfect - **Perfect**: The standard interval - **Augmented**: One semitone larger than perfect
Second (2), Third (3), Sixth (6), and Seventh (7) can be:
- **Diminished**: One semitone smaller than minor - **Minor**: One semitone smaller than major - **Major**: The standard interval - **Augmented**: One semitone larger than major
Creating Intervals
Direct Construction
Create intervals by specifying quality and number:
Calculating Between Notes
Calculate the interval between two notes:
Interval Properties
Basic Properties
Semitone Calculation
The library automatically calculates semitones based on quality and number:
Interval | Semitones | Example (from C) |
---|---|---|
Perfect Unison | 0 | C → C |
Minor Second | 1 | C → Db |
Major Second | 2 | C → D |
Minor Third | 3 | C → Eb |
Major Third | 4 | C → E |
Perfect Fourth | 5 | C → F |
Tritone | 6 | C → F#/Gb |
Perfect Fifth | 7 | C → G |
Minor Sixth | 8 | C → Ab |
Major Sixth | 9 | C → A |
Minor Seventh | 10 | C → Bb |
Major Seventh | 11 | C → B |
Perfect Octave | 12 | C → C |
Using Intervals
Transposing Notes
Use intervals to transpose notes up or down:
Building Scales
Intervals define scale patterns:
Building Chords
Intervals define chord structures:
Interval Inversions
Invert intervals using the Invert()
method:
Enharmonic Intervals
Different spellings of the same sonic interval:
Common Interval Patterns
Consonant and Dissonant Intervals
Circle of Fifths Navigation
Advanced Topics
Compound Intervals
Intervals larger than an octave:
Interval Addition
Combining intervals:
Best Practices
Use appropriate quality: Perfect for 1, 4, 5, 8; Major/Minor for 2, 3, 6, 7
Consider enharmonic context: Aug 4th vs Dim 5th based on musical context
Validate interval creation: Some quality/number combinations are invalid
Think musically: Choose intervals that make sense in the harmonic context