All articles

tutorialmelodyhookcompositiontheory

Writing a memorable melody: motif, repetition and Miller's law (hook workshop included) 🎵

Read in FrenchRead in Spanish

Why do some melodies stay in your head for days, while others are forgotten instantly? It isn't luck: memorable melodies share a few simple principles you can learn and apply. Here they are, followed by a workshop to write your own hook. 🎵

1. 🧠 What makes a melody memorable

  • A short motif: a small idea of a few notes, easy to recognise.

  • A recognisable rhythm: we often remember the rhythm before the notes.

  • A clear contour: a rise, a fall, a peak. The shape sticks.

  • A limited range: the melody fits within about an octave, like a voice.

  • An ending that settles: a stable landing note, often the tonic.

2. 🔢 Miller's law and repetition

In 1956, psychologist George A. Miller published a famous paper, “The Magical Number Seven, Plus or Minus Two”: our short-term memory holds only about 7 items at once. More recent research even puts this capacity closer to 4 “chunks”. But the brain can group items into chunks (that's called chunking): a four-note motif becomes a single unit.

What it means for melody:

  • keep short motifs (3 to 7 notes);

  • repeat them: each repeat turns the motif into a chunk the ear already knows;

  • build the phrase from a few chunks, not fifteen different notes.

💡 Pro tip

If you can't hum your melody after hearing it twice, it carries too much information. Remove notes or repeat the main motif more.

3. 🔁 The A A A' B form

It's one of the most effective forms for a four-bar phrase: you present the motif, repeat it exactly, vary it (same start, different ending, often higher), then conclude by coming down to the tonic.

4-bar piano roll: a motif, its exact repeat, a variation that climbs higher, then an ending that comes down to C

4. 📈 Contour, leaps and peak

  • Stepwise motion (neighbouring notes) for most of it, a few leaps for interest.

  • After a big leap, come back by small steps in the other direction: the ear likes that rebalancing.

  • Save the highest note for a single moment of the phrase: it will be the emotional peak.

5. 🥁 Rhythm first

The same rhythm played on different notes stays recognisable: that's what lets you vary the melody without losing it. Use rests and a few offset notes (syncopations) to give it drive. The basics are in the foundations of rhythm and groove.

6. 🛠️ Workshop: writing a hook in 7 steps

  1. Choose a key and a tempo (for example A minor, 124 BPM).

  2. Tap a two-bar rhythm on a single note until it hooks.

  3. Pick 3 to 5 notes from the pentatonic scale (A, C, D, E, G) and place them on that rhythm.

  4. Apply A A A' B: repeat, vary the ending, conclude.

  5. Place the peak (the highest note) only once, in the A' variation.

  6. End on the tonic (A), or on a note of the chord playing underneath.

  7. Test your memory: listen again the next day. If you're still humming it, keep it! 🎉

💡 Pro tip

Write three different hooks in ten minutes each rather than one in an hour. The best of the three will almost always beat the one you would have polished.

7. 🎬 The video to go further

Watch on YouTube
Watch on YouTube

To play with melodies in the browser, the Melodies chapter of Learning Music is perfect. And for the sound that will carry your hook, read creating a “gimmick” lead.

8. 🥁 And with Pulsia?

A hook needs drums that give it air. In Pulsia's Workshop, prepare a sparse beat under the melody and a richer one between its phrases, using scenes; with Live 12, ask for “sparser” variations under the hook and compare them by ear.

🧰 5 melody tips

  • Sing before you play: the voice naturally finds simple melodies.

  • One motif, four lives: transpose it, invert it, slow it down, chop it.

  • Let it breathe: a rest between two phrases draws attention to the next one.

  • Answer the motif with another instrument rather than doubling it.

  • Limit yourself: five notes and a strong rhythm beat the whole keyboard.

🧠 Quiz: melodic principles

  1. According to Miller's law, about how many items do we hold at once? a) 2 · b) 7 ± 2 · c) 20

  2. In an A A A' B form, A' is… a) an unrelated motif · b) a variation of the motif · c) a rest

  3. For a hook that's easy to remember, the range usually fits within… a) about an octave · b) three octaves · c) the whole keyboard

  4. A phrase often ends in a stable way on… a) the tonic · b) a random note · c) the highest note

Answers: 1 b · 2 b · 3 a · 4 a

✅ Key takeaways

  • Short motifs, a recognisable rhythm, a clear contour, a limited range.

  • Repetition turns a motif into a memory: A A A' B.

  • A single peak, an ending that settles on the tonic.

Happy writing! 🎶 A question? Write to us.