A melody is not a scale. A scale is the alphabet; a melody is a sentence. Knowing every mode in every key tells you as much about writing a tune as knowing the dictionary tells you about writing a paragraph — which is to say, necessary and nowhere near sufficient.

What follows is what a melody is actually made of. Most of it is not about pitch at all: shape, repetition, rhythm and silence do more work than note choice, which is the opposite of how theory is usually taught.

Contour — the shape Steps against leaps The motif Question and answer Tension and release Rhythm is half of it Space One high point What the mode does Actually writing one What usually goes wrong

Contour — The Shape

The first thing anyone hears, before a single note is identified

Play a melody to someone and ask them to describe it. They will not say "it went to the flat seventh." They will move their hand — up, over, down. That gesture is contour, and it is the most memorable property a melody has.

ARCH rise, peak, fall most songs, most of the time FALLING starts high, settles — resignation, release, sighing RISING builds and does not resolve — tension, a question left open WAVE circles one centre — hypnotic, but goes nowhere on its own
Sing any melody you love. It is almost certainly one of these, or two of them joined. The pitches are negotiable; the shape is what survives being hummed badly.

The practical use: decide the shape before the notes. Draw it in the air. A melody that knows where its high point is and when it gets there will beat one assembled note by note from a scale, every time.

Steps Against Leaps

Two kinds of motion, and the rule that governs them

Moving to the next note in the scale is a step. Jumping further is a leap. Melodies made only of steps wander and feel shapeless; melodies made only of leaps sound like exercises and are hard to sing.

The convention that has held across centuries and genres: a leap creates a debt, and steps in the opposite direction pay it back. Jump up a sixth, then walk back down. Your ear expects it, and honouring the expectation is what makes a wide interval sound intentional rather than accidental.

Break it deliberately and you get a specific effect: two leaps in the same direction sounds heroic, unstable, or unhinged depending on the harmony under it. That is a choice. Doing it by accident is the most common reason a melody feels like it is falling over.

The Motif

The smallest unit anyone can remember

A motif is a fragment short enough to recognise instantly — often three or four notes, sometimes two. It is the atom of melodic writing, and almost every melody worth remembering is one motif, repeated and altered.

That is the part people resist. Writing feels like it should mean constant invention, so beginners write eight bars of continuously new material and wonder why nothing sticks. Memorability comes from repetition. Interest comes from varying what you repeat. Those are not in conflict; they are the whole technique.

Ways to repeat without repeating

Sequence — the same shape, starting on a different note. The single most useful device in melodic writing, and instantly recognisable once you know the name.

Inversion — the same shape upside down. Up a third becomes down a third.

Retrograde — backwards. More useful as a source of ideas than as something an audience hears.

Augmentation / diminution — same notes, doubled or halved in length. A hook slowed to half speed becomes a pad; sped up it becomes a riff.

Same rhythm, new notes — often the strongest of all, because rhythm is what the listener actually locked onto.

Question and Answer

Why melodies come in pairs

Melodies group into phrases, and phrases come in pairs: one that leaves you hanging, one that resolves. The formal names are antecedent and consequent; every songwriter knows them as question and answer.

The question usually ends on an unstable note — the second, the fifth, the seventh — or over a chord that is not home. The answer often starts identically and then ends differently, landing on the root. That shared opening is what makes the pair feel like one thought rather than two fragments.

Four bars out, four bars back is the default in most popular music, and defaults exist because they work. Deviate once you can hear why you are deviating.

Tension and Release

Which notes are safe, which are not, and why you need both

Against any chord, the notes of that chord are stable — land on them and the melody feels settled. Everything else is tension, and tension is not a mistake. A melody built only from chord tones is an arpeggio, and arpeggios are boring precisely because nothing in them needs to resolve.

The craft is in how you leave and return. The classical names describe motions you already use by ear:

Passing tone — step through a non-chord tone on your way between two chord tones. Invisible, universal.

Neighbour tone — step away and come straight back. Decoration around a note you are holding.

Suspension — hold a note from the previous chord into the next one, so it is briefly wrong, then resolve down by step. The most reliable source of emotion in Western music, and the reason sus chords sound the way they do.

Appoggiatura — leap onto a tension note on a strong beat, then step off it. Hits harder than a passing tone because it arrives unprepared and on the beat.

The single most useful adjustment for a melody that sounds flat: find where it lands on a chord tone on a strong beat, and move that note up a step. You have just written an appoggiatura. Let it resolve down on the next beat.

Rhythm Is Half Of It

Probably more than half

Take a melody you know and play every note as an even quarter note. It dies. Take the original rhythm and put completely different pitches under it and it is still recognisably the same tune. Melodic rhythm carries more identity than pitch does, which is not what the way theory is taught would lead you to expect.

Two things to control deliberately. Where the phrase starts — on the beat is stable and declarative, before it (a pickup) is conversational and propulsive. And where the long notes fall — the note you hold is the note the listener remembers, so hold the one that matters, not whichever one happened to land at the end of the bar.

Space

The notes you do not play

Beginner melodies are continuous. Good melodies breathe. Rests are not gaps waiting to be filled — they are what makes the next phrase land, and they are where a vocalist takes a breath, which is a real physical constraint worth respecting even when nobody is singing.

A useful test: if you cannot sing it in one breath, it is probably one phrase too long. Instruments have no lungs, which is why instrumental melodies so often sound exhausting.

One High Point

Not two

A melody should reach its highest note once, and preferably late. That note becomes the emotional peak simply by being the extreme — no other device needed. Hit the same high note four times and it stops being a peak and becomes the ceiling.

This is the easiest structural fix available. Find your highest note. If it appears more than once, lower all but the last one and hear what happens to the shape.

What The Mode Actually Does

Every mode has one note doing the work

Modes do not have moods because of some mystical property. Each one differs from a familiar reference by one or two specific degrees, and that degree is the entire character. Find it, lean on it, and the mode announces itself. Avoid it and you have written in the parent scale by accident — the most common reason a "Dorian" idea just sounds minor.

ModeThe note doing the workHear it
DorianThe natural 6th, against an otherwise minor scale. Land on it. run it ↗
PhrygianThe ♭2, a semitone above the root. Instant tension, Spanish colour. run it ↗
LydianThe ♯4. Everything lifts. Overused in film scoring for a reason. run it ↗
MixolydianThe ♭7 in a major context — the rock and blues one. run it ↗
Harmonic minorThe raised 7th, and the augmented 2nd it creates below it. run it ↗
Melodic minorRaised 6 and 7 going up, natural coming down — the shape changes with direction. run it ↗

Beyond twelve notes

The maqamat of Arabic and Persian music go further: several of their characteristic degrees sit between the keys of a piano. Maqam Rast has a third about 50 cents below the major third — not a flat third, not a major third, a note Western notation has no room for. Maqam Bayati's second sits similarly between.

This matters for melody rather than for harmony. Those microtonal degrees are where the ornamentation lives, and a melody that treats them as "close enough to E♭" is not in that maqam — it is in a Western scale wearing its name.

MaqamWhat makes it itselfHear it
RastHalf-flat 3rd and 7th — roughly 350 and 1050 cents. run it ↗
BayatiHalf-flat 2nd, around 150 cents. The most common maqam in Arabic music. run it ↗
HijazThe augmented 2nd between ♭2 and 3 — no microtones, all character. run it ↗
ChahargahPersian dastgah, two augmented seconds, ceremonial. run it ↗
There is a second thing these traditions do that Western scale theory has no slot for: the way up is not the way down, and the melodic path itself — the sayr — is part of the maqam's identity, not just its note set. The synth's scale runner lets you set the ascent and descent separately for exactly this reason. It ships with them symmetrical because the real descents vary by performer and phrase, and putting one in the code would be inventing an authority that does not exist.

Actually Writing One

An order of operations that works

1. Rhythm first, no pitches. Tap or program the rhythm of the line alone. If it is not interesting as rhythm, no choice of notes will save it.

2. Draw the contour. Where does it start, where is the peak, where does it land. One arch is enough for four bars.

3. Find three or four notes that are the motif. Play them until they feel inevitable.

4. Build the phrase by repeating that motif — sequenced, inverted, rhythmically altered. Resist writing new material.

5. Write the answering phrase starting the same and ending on the root.

6. Now check it against the chords and adjust the strong beats — chord tone where you want rest, a step above where you want ache.

Doing it in that order means the melody has shape before it has notes, which is the whole difference between a tune and a scale run.

What Usually Goes Wrong

In rough order of frequency

It never repeats. Eight bars of continuous invention. Nothing to hold onto. Fix: take bar 1 and make bar 3 a sequence of it.

It never rests. Wall-to-wall notes. Fix: delete every fourth bar's worth and let the harmony carry it.

It has no peak, or four of them. Fix: find the highest note, keep one.

It is all steps. Wanders like someone reading a scale. Fix: one leap, early, then step back down through it.

It avoids every tension note. Technically correct, emotionally inert. Fix: the appoggiatura trick above.

It ignores the mode's characteristic degree. A Lydian idea that never touches the ♯4 is in the major scale. Fix: land on that note, on a strong beat, early.

Related on this site: Theory for the scales and chords themselves, Writing Harmony for what goes underneath, Rhythm & Beats and Groove & Timing for the half of melody that is not pitch, and the Synth's scale runner to hear any of this move.