A melody is a sequence of individual notes played one at a time — the "horizontal line" of music. In the scales article, we learned that a scale is a "map of notes you're allowed to use." In the chords article, we learned that chords are "the background — multiple notes ringing at once." Now we'll combine both ideas to look at how melodies are built.
🗺️ The Scale Is Your Safe Zone
Inside one octave, there are 12 possible notes. Play them all without a plan and it's hard to tell what's working.
That's where scales come in. A scale narrows those 12 notes down to 7 that fit the key. Stay within those 7, and your melody basically can't go wrong.
All 12 notes○ ● ○ ● ● ○ ● ○ ● ● ○ ● ← all 12 (○ = outside key, ● = in scale)
The scale (7 notes only)
● ● ● ● ● ● ● ← walk here and you're safe
Scale = melody's safe zone. Out of 12 notes, the scale carves out 7 and says "walk here and you'll be fine." That's what the scales article called "the map of notes you can use."
🌳 But Roaming Freely Can Still Feel Aimless
Staying in the scale means you won't go wrong. But just wandering randomly within those 7 notes can still feel unfocused.
Why? Because music has chord progressions — chords that keep shifting. If you're drifting through the scale without thinking, you might hit moments where your melody feels like it's "floating" in an odd way right as a chord changes.
This is where chord tones come in.
If the scale is a park, chord tones are the benches inside the park. You can run anywhere in the park — but sitting on a bench that matches the current chord is where everything feels settled.
The Park (scale — 7 notes)● ─ ● ─ ● ─ 🪑 ─ ● ─ 🪑 ─ ● ─ 🪑
↑ ↑ ↑
Chord tone Chord tone Chord tone
(root) (3rd) (5th)
When the chord changes, the benches move. The comfortable spot from a moment ago disappears, and a new bench appears somewhere else. As the chord changes, head for the next bench (chord tone) — that's the secret to making a melody feel natural.
Scale = the park you run in. Chord tones = the benches where you rest right now. When the chord changes, the benches move. These three ideas form the basic structure of melody writing.
🎯 Three Things to Take Away
① Stay in the scale and your melody stays in tune (running through the park)
② Land on a chord tone at the end of a phrase and it settles (sitting on a bench)
③ When the chord changes, the "stable notes" shift — even within the same scale (benches move when chords change)
🎹 ① The Scale Keeps You in Tune
In a song in C major, the C major scale (C–D–E–F–G–A–B) gives you 7 notes to work with. Any combination of those 7 will work as a melody.
As long as you stay inside the park, wherever you walk is fine. Stay within the scale's 7 notes and your melody stays in tune.
Listen for it: Beethoven's "Ode to Joy." The entire melody is built from notes in the D major scale — and most of the movement is stepwise, moving to adjacent notes one at a time. Smooth walking through the scale is enough to produce that majestic, enduring melody. No special tricks.
Steps and Leaps
Melodic motion comes in two basic forms:
- Step: Move to the adjacent note (C → D → E) — smooth, singable
- Leap: Jump to a distant note (C → E → G) — dramatic, memorable
In the intervals article, we learned that "Amazing Grace" opens with a perfect 4th jump — that's a leap. Most memorable melodies use steps as the foundation, then leap at key moments to give the line its sense of shape and drama.
🎯 ② Land on a Chord Tone and It Settles
Staying in the scale keeps you safe. But which note you land on at the end of a phrase makes all the difference in how settled or suspended it sounds.
When a C chord is playing in C major:
| Note | Degree | How it feels when you land |
|---|---|---|
| C | Root (1st) | Most stable. "I'm home." |
| D | 2nd | Floaty. Wants to move |
| E | 3rd | Stable. Bright and cheerful |
| F | 4th | A little tense. Wants to resolve |
| G | 5th | Stable. Strong and grounded |
| A | 6th | Slightly floating. A stylish aftertaste |
| B | 7th | Tense. Wants to resolve to the root |
The other notes (D, F, A, B) serve as passing tones or neighbor tones — paths you walk between chord tones.
Chord tones are the benches; everything else is the path between them. End a phrase on a chord tone and it settles. Deliberately avoid one and you create suspension or tension.
❓ Do I have to calculate chord tones while playing?
Not at all. Almost no one consciously calculates chord tones in real time.
Most musicians choose notes by ear — "this feels good" — and they end up on chord tones without thinking about it. Guitarists especially tend to have scale positions memorized in their fingers and just go by feel.
So why learn this at all?
- You'll understand why a note "feels good" when you play it instinctively
- It gives you a fallback when you're lost ("I don't know what to play next")
- You can deliberately miss the chord tone — to create suspension or tension on purpose
Chord tones aren't a rule to obey. They're knowledge that sets you free.
🔄 ③ When the Chord Changes, the Benches Move
Here's the most interesting part.
In C major, the scale (C through B, 7 notes) never changes. But as the chords progress — C → Am → F → G — the chord tones (where you land and feel settled) shift.
| Chord | Chord tones (your destination) |
|---|---|
| C | C(R) · E · G |
| Am | A(R) · C · E |
| F | F(R) · A · C |
| G | G(R) · B · D |
The same note "C" sounds completely different depending on the chord underneath:
- Under C: the root (most stable)
- Under Am: the 3rd (stable, but a little bittersweet)
- Under F: the 5th (stable, like an anchor)
- Under G: not a chord tone (slightly suspended)
Same park, same note — but when the chord changes, the bench moves, and the melody's expression changes completely. This is why the chords article said "the same melody sounds completely different with different chords underneath."
🎸 Into Soloing — The 5-Note Pentatonic Shortcut
For guitar solos and improvisation, you don't need all 7 notes. Just 5 — the pentatonic scale — are enough to make expressive phrases.
A minor pentatonic: A – C – D – E – G (5 notes only)
It's the 7-note scale minus the 2 most likely to clash — a shortcut map with only the safe zone left. Almost any note you land on works, making it the ideal starting point for improvisation.
Listen for it: Pink Floyd's "Comfortably Numb." David Gilmour's crying, emotive guitar solo is built primarily around the B minor pentatonic scale. Just 5 notes in that shortcut map — and all of that emotion comes through. The pentatonic's potential, right there.
Why the Pentatonic Works So Well
- Only 5 choices — less to overthink
- No clashing notes — relatively safe over any chord in the key
- Works across rock, blues, pop, R&B — truly genre-agnostic
🎛️ Experience Melody & Scales in OtoTheory
OtoTheory lets you see the "park" and "benches" of melody writing in real time.
* Fretboard display: Choose a key and scale, and the fretboard shows which notes are in the scale, color-coded. When a chord plays, chord tones (root, 3rd, 5th) are highlighted — so you can see at a glance "these are the stable notes right now"
* Scale info display: Select a scale and its note names and degrees appear on screen. Switch to pentatonic and the 5 notes snap into view — your shortcut map, visible at a glance
* Chord progression builder: Build a progression and hit play. As the chords change, the fretboard highlights shift in real time. "Same park, but the benches move" — watch it happen live
Try this: In OtoTheory, set the key to C major and play C → Am → F → G. Watch the fretboard. Every time the chord changes, the highlighted notes (chord tones) shift. Which notes are stable landing spots right now? That's your melody's bench — moving, one chord at a time.
✅ Summary
A melody moves through the scale's "park" and lands on chord tone "benches." The scale keeps you in tune. Chord tones give you stable landing spots. When the chord changes, the benches move — and the same notes take on a completely different character.
* ① Scale = the park — Stay within 7 notes (or the pentatonic's 5) and you stay in tune
* ② Chord tones = the benches — Land on the root, 3rd, or 5th at the end of a phrase and it settles
* ③ Benches move when chords change — Same scale, different chord, different impression
* For solos and improv, start with the pentatonic (5 notes) — it's the safest shortcut
* Use OtoTheory's fretboard to watch the "map" and "destination" shift in real time as chords change
📖 References
The following sources were used to verify theoretical accuracy and song examples in this article.
Melody & Chord Tones* Songwriting Tips: How to Write a Melody – Berklee Online — Core principles of melody writing
* Chord Tones and Passing Tones – StudyBass — The role of chord tones and passing tones in melody
* Melody – Wikipedia — Definition and theoretical framing of melody
Scales & Soloing* 5 Essential Guitar Scales for Beginners – Fender — Pentatonic scale fundamentals
* Pentatonic scale – Wikipedia — Pentatonic theory and worldwide usage
* Comfortably Numb Guitar Solo Lesson – Guitar World — Analysis of the B minor pentatonic solo
In the next article, we go deeper into the "5-note shortcut map" introduced here — the pentatonic scale. Why can 5 notes produce such expressive phrases? Which pentatonic fits which scale? From rock to blues to folk music around the world, we'll explore what makes the pentatonic so universal.

