Melodic Intervals Calculator
Understanding melodic intervals is essential for musicians, composers, and music theory students. This calculator helps you determine the distance between two musical notes in semitones and identifies the interval type.
What is a Melodic Interval?
A melodic interval is the distance between two musical notes when played in sequence. Unlike harmonic intervals, which are heard simultaneously, melodic intervals are heard one after the other. The study of melodic intervals is fundamental to music theory and composition.
Melodic intervals are measured in semitones, which are the smallest unit of pitch in Western music. A semitone is the difference between two adjacent notes on a piano keyboard.
Key Concepts
- Melodic intervals are directional - they have an ascending or descending quality
- The same two notes can form different intervals depending on their order
- Melodic intervals are classified by their size and quality (perfect, major, minor, etc.)
How to Calculate Melodic Intervals
Calculating melodic intervals involves determining the number of semitones between two notes and identifying the interval type based on that distance.
Melodic Interval (semitones) = |Note 2 MIDI number - Note 1 MIDI number|
Where MIDI numbers are standard values assigned to each note in the chromatic scale (C = 0, C# = 1, D = 2, etc.).
Step-by-Step Calculation
- Identify the MIDI numbers for both notes
- Subtract the lower MIDI number from the higher one
- Determine the interval type based on the semitone distance
Example Calculation
Let's calculate the interval between C (MIDI 0) and E (MIDI 4):
- E - C = 4 - 0 = 4 semitones
- 4 semitones is a major third
Types of Melodic Intervals
Melodic intervals are classified by their size and quality. Here are the most common types:
| Semitones | Interval Name | Example |
|---|---|---|
| 0 | Unison | C to C |
| 1 | Minor 2nd | C to C# |
| 2 | Major 2nd | C to D |
| 3 | Minor 3rd | C to D# |
| 4 | Major 3rd | C to E |
| 5 | Perfect 4th | C to F |
| 6 | Tritone | C to F# |
| 7 | Perfect 5th | C to G |
| 8 | Minor 6th | C to A |
| 9 | Major 6th | C to A# |
| 10 | Minor 7th | C to B |
| 11 | Major 7th | C to C |
| 12 | Octave | C to C |
Intervals can be inverted by adding or subtracting an octave (12 semitones). For example, a minor 3rd (3 semitones) becomes a major 6th (9 semitones) when inverted.
Practical Applications
Understanding melodic intervals has numerous practical applications in music:
- Composition: Creating melodic lines and counterpoint
- Improvisation: Finding appropriate notes to play over a chord progression
- Ear training: Developing the ability to recognize intervals by ear
- Music theory education: Building a foundation for more advanced concepts
Common Interval Progressions
Many popular melodies and songs use specific interval progressions. For example:
- I-IV-V-I (C-F-G-C) - Common in pop and rock music
- I-V-vi-IV (C-G-A-F) - Found in many folk and classical pieces
- I-vi-IV-V (C-A-F-G) - Used in many jazz standards