Features Pricing
Apps Desktop Plugin Mobile
Resources Docs Blog Contact
Start Writing

How to Write a Melody From Scratch (With Real Songs)

Write a melody from scratch even when chords and lyrics come easy but tunes don't. A step-by-step method: capture the hum, give it shape, and make it singable.

Table of Contents
  1. What is a melody, really?
  2. Why is the tune the hardest part to write?
  3. Start where you already are: your words and chords
  4. Should you hum it or build it note by note?
  5. How do you turn a hummed idea into notes you can edit?
  6. Which notes should the melody land on?
  7. Give the tune a shape
  8. Setting a lyric line to a tune, one note per syllable
  9. Can you actually sing it? The range check
  10. Make each section its own tune
  11. How do you know the tune is finished?
  12. Frequently Asked Questions

You can write chords. You can write lyrics. Then it comes time to sing the thing, and the tune just will not show up. The words sit on the page and the chords sit on the page, but the melody, the single line a listener actually hums back, has to be pulled out of thin air.

That gap is real, and it is not a talent problem. It is a workflow problem. A melody only exists once you sing it, so it feels un-catchable in a way words and chords never do. This guide walks the whole path from nothing to a finished, singable tune: how to start from what you already have, how to capture a melody before it slips away, which notes to land on, how to shape it, and how to know when it is done.

Quick summary

To write a melody from scratch: speak your lyric line to hear its rhythm, then either sing the tune and capture it or place notes deliberately one at a time. Land chord tones on the strong beats, move mostly by step with the occasional leap, and build a short idea you repeat with small changes. Keep the whole thing inside a singable range, roughly an octave to an octave and a half, and give it one clear high point. Sing it back with no instrument: if you can, it is working.

2
Ingredients in every melody: pitch and rhythm
8ve
A comfortable singable range is about an octave to a 10th
3+
Notes before Song Cage can suggest chords for your tune

What is a melody, really?

A melody is the single line of notes you sing or hum, made of two things: pitch (how high or low each note is) and rhythm (how long each note lasts and where it falls against the beat). It is the part a listener remembers and can sing back without the record playing. The melody sits on top of the chords; it is not the chords themselves. That distinction is the whole reason the tune feels missing when the harmony is already there.

Berklee songwriting professor Jack Perricone puts it plainly: the two basic elements of music that define melody are pitch and rhythm. Chords are a stack of notes sounding together, harmony underneath. A melody is one note at a time, moving through time. When you can already write chords and words, you have built the frame and the furniture. The melody is the person walking through the room, and it is the part people remember they visited.

Why is the tune the hardest part to write?

A songwriter humming a melody into a phone to capture it before it's gone, an acoustic guitar in the warm background

Chords and lyrics hold still. You can write a progression, walk away, and it is exactly where you left it. A melody is different: it only becomes real the moment you sing it out loud, and the second you stop, it is gone unless you caught it. That is why so many songwriters end up with a phone full of half-remembered voice memos, hundreds of nameless recordings they can no longer tell apart, none of them ever finished.

So the hard part is rarely inventing a good line. Most people hum something decent in the shower every week. The hard part is holding onto it and turning it into notes you can actually work with. Frame it that way and melody writing stops being a mystery about talent and becomes a question of capture and craft, which is the rest of this guide. If you want the wider view first, here is how to write a song from scratch.

Start where you already are: your words and chords

Most melody guides hand you a blank scale and tell you to noodle. You are further along than that. You have a lyric with a built-in rhythm and chords with built-in landing notes, and both of them will write half the melody for you.

Start by speaking the lyric line out loud, not singing, just saying it the way you would in conversation. Notice which words you lean on and which ones rush by. That spoken rhythm is your melodic rhythm before you have chosen a single pitch. Then look at the chord under each moment. The chord gives you a small pool of safe notes to land on, so you are never guessing in the dark. This is the same relationship, run in reverse, that lets Song Cage suggest chords for a melody you hummed. For more on the raw materials, see writing the words and chord progressions worth writing over.

Should you hum it or build it note by note?

There are two honest ways in, and which one you use depends on whether a tune is already playing in your head.

Path A, sing it. When you can hear the line but cannot find it on an instrument, hum it. This is the fastest, most natural way to write a melody, because your voice does not care whether you can play. Capture the hum first, worry about the notes second.

Path B, place it. When nothing is coming, build the line deliberately, one note at a time. In Song Cage you can click an on-screen piano, type the tune on your computer keyboard's home row, or enter it as fret numbers on a guitar-tab lane, so you never need keyboard technique to get a note down. Turn on Follow Chord and those keys remap to the notes of the current chord, which means every key you press already fits the harmony and there is no wrong note to hit. If guitar is your instrument, writing a song on guitar covers the shapes side.

How do you turn a hummed idea into notes you can edit?

Here is the step every other melody guide skips. They all say "hum it into your phone," and then leave you staring at an audio file you still have to transcribe by ear or redraw by hand. A voice memo is not a melody you can work with. It is a recording of one.

Song Cage closes that gap. Record your hum, then press Detect melody, and it pulls the pitches you actually sang into note chips you can drag straight onto the line. From there you develop the idea: nudge a note's timing, fix one stray pitch with the arrow keys, repeat the phrase and change its ending. A few honest caveats: it needs a real, voiced take (steady humming or singing, not mumbling), it reads the notes you sang rather than inventing any, and it runs on your own device, so nothing leaves your machine. That last point matters: Song Cage never writes the tune for you. Every note comes from a key you pressed or a note you sang. The full walkthrough lives in every way to enter a melody note.

Which notes should the melody land on?

Not every note carries the same weight. The ones that fall on strong beats, the downbeats a listener feels, do most of the emotional work, so those are the notes to choose on purpose.

The reliable move is to land a chord tone on each strong beat and let quicker, in-between notes pass by as steps. Chord tones sound settled; the notes between them create a little pull that resolves. Land on the home note (the key's first degree) and the line feels finished; leave it on an unsettled note, like the second or the sixth degree of the scale, and it leans forward into the next line, aching instead of resolving. And it runs the other way too: the notes your hum naturally lands on tell you which chords fit underneath. Once you have at least three melody notes placed, Song Cage's Auto Chords suggests a progression that fits them, with a dial for how busy the harmony moves, Held, Steady, or Active. If your chords already feel flat, here is why chord progressions sound boring.

Give the tune a shape

A hand playing a single note on a piano while shaping a melody's contour

A melody with no shape wanders and the ear has nothing to hold. Three tools give it a shape, and they are the same three behind most songs you already know.

Contour. Sketch the line's rise and fall. The most common shape is an arch: climb to a high point, then come back down. "Twinkle, Twinkle, Little Star" does exactly this, rising to its peak and stepping home. Give the line one clear high point and it has somewhere to go.

Steps and leaps. Move mostly by step, the way "Joy to the World" walks straight down the whole scale one note at a time. Save leaps for impact. After a big jump, a leap of a fifth or more, turn around and step back the other way so the line stays singable. "My Bonnie Lies Over the Ocean" opens with a reaching leap of a sixth and then settles.

A motif, repeated. Take a short idea and say it again with one thing changed. Beethoven built an entire symphony movement from a four-note cell (short-short-short-long), restated at new pitches over and over. You do not need a symphony; you need one small idea worth repeating.

Ways to develop one small idea

  • Repeat it. Say the exact same phrase again, right away or later.
  • Repeat and vary. Return the phrase but change one thing: the last note lands a step higher, or the rhythm clips shorter.
  • Sequence it. Play the same shape starting on a higher or lower note.
  • Call and response. Answer a "question" phrase with a matching "answer" phrase, the way "Swing Low, Sweet Chariot" trades a call and a reply.

Setting a lyric line to a tune, one note per syllable

When you already have the words, the most concrete way to write the melody is to give each syllable its own note. Speak the line for its rhythm, then place one melody note per syllable and shape the pitches from there. "Happy Birthday" is the plainest version of this: one note per syllable, straight through, with a two-note pickup before the first strong beat.

Stretch a single syllable across several notes only when a word deserves the spotlight. That is melisma, and a little goes a long way. The carol "Angels We Have Heard on High" spreads the "o" of "Gloria" across sixteen notes, and Whitney Houston's recording of "I Will Always Love You" drags the opening "I" across a run of notes for nearly six seconds. Used everywhere, that trick buries the lyric; used once, it lands. Put long notes on the words that matter and short notes on the filler. In Song Cage, putting each syllable on its own beat gives every syllable its own note slot, and shaping the lyric with internal rhyme and word swaps helps you fit a word that scans better when a stressed syllable lands wrong.

Can you actually sing it? The range check

A melody you cannot sing is not finished, no matter how good it looks on a grid. The single most common beginner mistake is a line that leaps all over the place or climbs out of a normal voice's reach.

Check the span from your lowest note to your highest. A comfortable range for most voices runs about an octave to an octave and a half, so aim to keep the whole tune inside that window. Find your own comfortable range by singing down to your lowest easy note and up to your highest before it strains, and keep the tune between them. Reserve the very top of the range for the peak, the "money" note, a term often traced to producer David Foster telling Barbra Streisand a certain high note "sounds like money." Its power comes from scarcity, so spend it once. If a line runs past your range, you have three fixes: move the leap to a smaller interval, drop the whole phrase down an octave, or transpose the entire section to a friendlier key. Play the notes back and listen to the span rather than guessing on screen.

Make each section its own tune

A song is not one melody; it is a few, and their contrast is what keeps a listener leaning in. Give each section its own register and shape instead of reusing the same one with different words.

The usual arc: the verse sits lower and closer to speech, holding back so it has somewhere to go. The chorus climbs into a higher register, gets more repetitive, and resolves home so it feels like arrival. The bridge breaks the pattern on purpose, often a new contour entirely. Bon Jovi's "Livin' on a Prayer" is a textbook lift: the verse broods low, the chorus jumps up into a belt, and the final chorus shoves the whole thing up another minor third with a key change. A quick diagnostic from songwriting teacher Gary Ewer: write the lowest and highest note you sing in each section, and make sure the chorus actually reaches higher than the verse. Song Cage keeps each section's melody its own object, so you can shape the song section by section and hear the contrast build.

How do you know the tune is finished?

Most melody guides trail off into a tip list and never tell you when to stop. Here is a checklist you can actually run on a finished section.

Is the melody done?

  • Can you hum it back after one or two listens, with no instrument in your hands?
  • Does it breathe? Are there rests where a singer would take a breath, instead of wall-to-wall notes?
  • Does it land home when the section is supposed to feel resolved, and lean forward when it should pull onward?
  • Does it contrast the section next to it in register and shape?
  • Does it sit inside your range the whole way through, with the high note saved for the peak?

If you can check all five, the tune is done, and the fastest way to get better is to write a lot of them. Repetition is not just a melodic trick, it is a career one: a study of 2,480 songs on the Billboard Hot 100 found that more repetitive songs were more likely to reach number one, and reached it faster. Write more tunes, keep the ones that stick, and your instinct for a good line sharpens every time.

▶ Watch: humming a melody into Song Cage and turning the take into notes you can drag onto the line.

Capture the tune before it's gone

Hum your melody into Song Cage and it turns the take into notes you can move, shape, and harmonize. Place notes by ear on the piano, type them on your keyboard, or sing them in, then let it suggest the chords that fit. No notation, no music theory required, and every note stays yours. Capture your song before it's gone.

Hum it, keep the notes No notation needed Every note stays yours
Start writing free
Free to start. 14 days of full Pro included, no card needed.

Frequently Asked Questions

How do you write a melody if you can't read music?

+

You don't need notation to write a melody. Sing or hum the line and capture it, or place notes by clicking an on-screen piano or typing on your keyboard. In Song Cage you can record a hum and it turns the pitches you sang into editable notes, so the tune goes from your voice to something you can work with, without a single note of written music.

Should you write the melody or the chords first?

+

Either works, and many writers do both at once. Some set a chord progression and sing melodies over it; others hum a tune first and find the chords that fit afterward. They feed each other: the notes your melody lands on suggest chords, and the chord under a beat suggests safe melody notes. You don't have to finish one before starting the other.

What makes a melody catchy or memorable?

+

Repetition, mostly. A short idea repeated with small variations gives the ear something to hold, which is why a study of 2,480 Billboard Hot 100 songs found more repetitive melodies reached number one more often and faster. Add a clear high point, keep the motion mostly stepwise, and stay inside a singable range, and the line sticks.

How wide should a melody's range be?

+

For most singers, keep the span between the lowest and highest note to about an octave, and no more than an octave and a half. That's a comfortable window for most voices, and it keeps the tune singable and easy to re-key. Find your own window by singing to your lowest comfortable note and your highest before it strains, then write between them.

Why do my verse and chorus melodies sound the same?

+

Usually because they share the same register and contour. The fix is contrast: keep the verse lower and closer to speech, then lift the chorus into a higher register with a more repetitive, resolving shape. Write the highest and lowest note in each section and confirm the chorus actually reaches higher than the verse. Giving each section its own tune is what makes the chorus feel like an arrival.

Can an app write a melody for me?

+

Song Cage deliberately won't. It captures and shapes the tune you sing or play; it doesn't generate one for you. You hum or place every note, and the app's job is to capture what you sang, let you edit it, and suggest chords that fit. The melody stays yours from the first note, which is the point: the goal is to help you write your song, not hand you someone else's.

Start capturing your song ideas

Song Cage helps songwriters capture lyrics, chords, and melodies, all in one place. Start free in your browser, or capture on the go with the free iPhone and Android apps.

Start free in your browser →

On your phone? Capture ideas free on iPhone & Android:

← All posts