EYAL HAR-NOY

Liner Notes / The Craft / Composition

The Craft · Composition

How to Write a Melody: Range, Contour and Lessons From McCartney and Coldplay

What “Yesterday,” “Yellow” and “Fix You” teach about building a vocal melody, what seven decades of hits reveal about range, and a method for your next session.

By the Liner Notes editorsNovember 27, 20268 min read
Paul McCartney singing at a painted piano on stage
Paul McCartney at the piano in Montevideo, Uruguay, April 2014. Photo: Jimmy Baikovicius from Montevideo, Uruguay · CC BY-SA 2.0 · via Wikimedia Commons

Here is a number every songwriter should know. When Madeline Hamilton and Marcus Pearce of Queen Mary University of London studied the main vocal melodies of the top five Billboard year-end singles from 1950 onward, more than 1,100 hand-transcribed melodies in all, they found that the average step from one note to the next had shrunk from about 2.3 semitones to about 2.0. Over the same decades, the melodies got busier: from roughly 1.8 notes per second to roughly 2.8. Their paper, published in Scientific Reports on July 4, 2024, identified two sharp breaks toward simpler melody, in 1975 and 2000, and a smaller one in 1996.

Read that the wrong way and it sounds like a eulogy. Read it the right way and it is a brief. A modern hit melody moves mostly by small steps, says more notes in less time, and saves its big moves for the moments that matter. That is not a lack of craft. It is a design constraint, and the classic records that taught pop-rock how to sing were working inside a version of it long before anyone measured it. Here is what three of them, and one of the most successful writers alive, show about building a melody, and a method you can use the next time you sit down with a guitar or a piano.

Melody first, words later: “Yesterday”

Paul McCartney has told the story many times, and it is still the best lesson in the craft. The tune arrived in a dream at the London home of the Asher family on Wimpole Street. He went straight to a piano so he would not lose it, and then spent about a month playing it for people in the music business, convinced he must have heard it somewhere else.

I woke up one morning with a tune in my head.Paul McCartney, The Beatles Anthology

What he did next is the part to copy. The melody had no words, so he held its shape in place with dummy lyrics, a breakfast phrase that gave the song its working title, “Scrambled Eggs.” The placeholder was not a joke for its own sake. It kept the rhythm and the vowel sounds of the line fixed while the real words had time to arrive. When they did, during a trip to Portugal in May 1965, he was hunting for three syllables with the right stress. In his 2021 book The Lyrics he describes weighing options: “You have possibilities like ‘yes-ter-day’ and ‘sud-den-ly’.” The melody chose the title, not the other way around.

The shape he was protecting is unusual. The main phrase of “Yesterday” runs seven bars, not the expected eight, while the bridge is a standard eight. The song sits in F major, though McCartney played it on a guitar tuned down a whole step, fingering it as if in G. He recorded it at Abbey Road on June 14, 1965, as the only Beatle on the track, with a string quartet added three days later. In the United States it went to No. 1 on the Billboard Hot 100 for four weeks from October 9, 1965.

The craft point: a melody is a rhythm of syllables before it is a set of pitches. If a line sings well on nonsense, it will sing better on the right words. If it only works once you know what it means, the melody is not doing its job yet.

Find the voice the melody belongs to: “Yellow”

Coldplay’s “Yellow” was written during a break. The band had just finished recording “Shiver” at Rockfield Studios in Wales and stepped outside, where co-producer Ken Nelson pointed out how clear the stars were. Chris Martin started singing a melody on the spot, in a deliberately exaggerated Neil Young voice. He later explained, in the band biography Coldplay: Nobody Said It Was Easy, that the word “stars” seemed to call for exactly that kind of voice. Drummer Will Champion told MTV in 2000 that the tune started off a lot slower and sounded like a Neil Young song.

That is a technique hiding inside an anecdote. Singing in a character, an impression, a register you would not normally choose, frees the melody from your habits. Martin did not keep the impression; the finished record, in B major at about 88 beats per minute according to the published sheet music, sounds like nobody but Coldplay. But the borrowed voice got the melody out of his hands and into a shape it would not otherwise have taken. Released on June 26, 2000, “Yellow” reached No. 4 in the UK and No. 48 on the Billboard Hot 100.

The other lesson is the word itself. The melody was built around how one word wanted to be sung. Max Martin, the Swedish songwriter and producer, put the same idea plainly on CBC’s Q with Tom Power in 2023: “To me, phonetics really matter.” Open vowels like the one in “stars” want long, high notes. Clipped consonants want short, rhythmic ones. Write the melody where the sound of the word wants to go.

Same notes, different energy

Max Martin’s most useful observation about melody is about what a melody does not need to do. In a 2016 masterclass with the Swedish journalist Jan Gradvall, after he received the Polar Music Prize, he pointed to Prince’s “I Wanna Be Your Lover.” As MusicRadar reported in March 2025, his point was that the verse and chorus melodies are essentially the same, and the listener does not notice, because the chorus arrives with completely different energy. A chorus melody can also be sung as a verse.

This matters because the most common melodic mistake in pop-rock is the opposite: writing a new, harder, higher tune for the chorus and hoping it lands. Often it lands better if the contour stays familiar and the delivery changes around it. More instruments, a harder beat, a doubled vocal, a lift of a few notes in the range: the ear hears a new section even though the shape is one it already knows. Repetition plus contrast is what a listener can follow on one hearing, and it fits the simpler, denser melodies Hamilton and Pearce measured in the charts. For more on making that section land, see our guide on how to write a catchy chorus.

Plan the range: “Fix You”

If “Yesterday” shows melody as rhythm, “Fix You” shows melody as architecture. The published sheet music puts the song in E-flat major at a slow tempo of about 70 beats per minute, with a vocal range of exactly two octaves, from a B-flat up to the B-flat two octaves above it. That is a wide span for a pop-rock song, and the record spends it carefully.

Chris Martin opens in a soft falsetto over a hushed electric organ. The arrangement grows under him: acoustic guitar and piano, then strings in the early choruses, then a three-note guitar line and drums. In the bridge the whole band arrives, and the melody becomes a group singalong. The song ends by returning to the quiet of the opening chorus over piano. The range is not used all at once. It is rationed, so that each new register arrives with each new layer of the arrangement, and the voice and the band peak together. Produced by Ken Nelson and Danton Supple with the band, it was released on September 5, 2005, and reached No. 4 in the UK and No. 59 on the Hot 100.

The working principle: decide where your highest note goes before you write the song’s busiest section, and do not spend it early. A melody that reaches its peak in the first verse has nowhere left to go.

A method for your next session

  • Start away from the instrument, or barely on it. Hum over a loop or a single chord so your fingers do not choose the notes for you. If you get stuck in habits, sing in a character, the way Chris Martin borrowed a Neil Young voice.
  • Record everything, then fix it with dummy words. Find syllables that match the rhythm and stresses of the phrase, as McCartney did, and do not commit to real lyrics until the shape feels inevitable.
  • Map the range before you write the chorus. Sing the lowest and highest notes you can deliver with conviction. As a starting point, keep the verse in the lower half, about a fifth wide, and keep the top two or three notes for the chorus.
  • Build from small steps. Let most of the line move by a step or a third. When you leap, make it mean something, usually toward the title, and let the line settle back afterward.
  • Repeat a motif, vary its ending. Two phrases that start the same and finish differently give the listener something to learn and something to discover.
  • Test the chorus against the verse. Sing the chorus melody over the verse chords. If it works there too, as Max Martin noted of Prince, your contrast will come from energy and arrangement, and the hook will feel familiar on first hearing.
  • Write the words to the sound. Put open vowels on long and high notes and crisp consonants on fast ones. If a lyric fights the melody, change the word before you change the note.

Mistakes to avoid

The first is the melody that follows the chords. If every phrase lands on the root of the chord under it, the tune sounds like an arpeggio with words. Try starting phrases on the third or fifth, or holding a note while the chord changes beneath it. The second is starting too high: a verse that begins near the top of the singer’s range leaves the chorus nothing to climb. The third is too many new ideas. A verse with three unrelated motifs is harder to remember than one motif used three ways. And the last is writing a melody only the writer can sing. Check it in the key the artist will actually perform, and on a tired night, not a good one.

Checklist

  • Does the melody hold up sung on nonsense syllables?
  • Is the highest note saved for the chorus, on a word that matters?
  • Does the verse sit lower and narrower than the chorus?
  • Is there one clear motif that repeats, with a changed ending?
  • Do the longest notes fall on open vowels?
  • Can a friend hum the chorus back after hearing it twice?

Nobody can schedule a dream. But everything McCartney did after he woke up with “Yesterday” was craft: catch it, hold its shape with dummy words, and wait for the right three syllables. The dream is not in your control. The rest is.

Liner Notes is published by eyalharnoy.com and edited by Rockstar Music. We do not accept payment for coverage.