A melody doesn't exist in isolation - it lives on top of chords. The chords underneath change which melody notes sound stable and which sound tense. Understanding this relationship helps you choose melody notes that either reinforce the harmony or create a controlled tension against it.
is playing underneath. E over a C major chord functions as a stable chord tone (the 3rd), but over F major it functions as the 7th and may create more tension - same pitch, different harmonic role.Chords set the context
The same melody note can sound different depending on which chord is playing underneath. E over a C major chord functions as a stable chord tone (the 3rd), but over F major it functions as the 7th and may create more tension - same pitch, different harmonic role.
Chord
Cmaj
Note E is the...
3rd - stable, sweet, consonant
Chord
Am
Note E is the...
5th - solid, strong, grounded
Chord
Fmaj
Note E is the...
7th - tense, wants to resolve, adds colour
Target chord tones on chord changes
A useful checkpoint is the moment the chord changes. Landing on a note from the new chord can make the handoff clear, while delaying that target or holding a tension note can create a deliberate line. The choice depends on the rhythm and the effect you want.
Melody targeting chord tones at each change
C
starts on chord tone
Am
starts on chord tone
F
starts on chord tone
G
starts on chord tone
Bright bars = chord tones, dim bars = passing tones
Strategies for melody over chords
Follow the chord tones
Move the melody to match each new chord. The melody "outlines" the progression. Sounds smooth and natural.
Hold a common tone
Keep a melody note that appears in both chords. The harmony moves underneath while the melody stays still. Creates a pedal effect.
Move by step to the nearest chord tone
If your melody note isn't in the new chord, step up or down to the closest note that is. Smooth voice leading.
Anticipate the next chord
Play a note from the upcoming chord slightly before it arrives. Creates forward momentum and excitement.
Suspend over the change
Hold a note from the previous chord into the new one, then resolve. Creates tension and release at the boundary.
Not all chord tones are equal
Within a chord, different notes have different effects when used as melody notes:
Most stable. Sounds resolved and final. Good for endings and moments of arrival.
Defines major/minor quality. It can be a clear melodic target, especially when its timing and register suit the vocal line.
Strong and open. Less colourful than the 3rd but very solid. Works well for sustained notes.
Adds colour and tension. Creates a jazzy, sophisticated feel. Wants to resolve down by step.
Using tension intentionally
Sometimes you want the melody to clash with the chord - briefly. This creates tension that makes the resolution more satisfying. The trick is being in control of it:
Chord tone on the beat
Non-chord tone creates pull
Returns to chord tone
The pattern of tension and release across chord changes is what makes a melody feel alive and emotional rather than flat and predictable.
Try it
Keep the melody note fixed and change the chord underneath it. Before playing, predict which chord will make the note feel settled and which will make it tense.
Same note, different harmony, different emotional meaning. Name the feeling before checking the labels.
Key takeaway
Chords define what each melody note means. Target chord tones when chords change - especially the 3rd for colour and the root for stability. Use non-chord tones between changes for movement. The relationship between melody and harmony is what gives music its emotional depth.
You now have the tools to understand and write melodies - contour, steps and leaps, chord tones, motifs, call and response, rhythm, and how melody interacts with harmony. Next up: Harmony - deeper harmonic concepts for richer music.
Create melodies with theory built in
Starts generates melodies that follow the principles covered here - contour, chord tones, and rhythmic variation.