Writing Melodies

Motif development

How to turn a 3-note idea into a full melody. The same techniques classical composers and pop songwriters both use.

What a motif is

A motif is the smallest meaningful musical idea — usually 2 to 7 notes with a specific rhythm and contour. The opening of Beethoven’s Fifth is a four-note motif. The “Star Wars” main theme starts with a five-note motif. The opening of “Smoke on the Water” is a four-note motif.

A motif is small enough to remember instantly and large enough to recognise. Whole pieces of music can be built from a single one.

The basic development techniques

1. Exact repetition

Just play the motif again. The simplest, most powerful tool. The brain recognises the repetition and pays attention.

2. Sequence (move to a new pitch)

Play the motif starting on a different note, keeping the same rhythm and shape. Pachelbel’s Canon is built almost entirely from sequenced motifs.

If the motif is “1 - 3 - 5” in C (notes C-E-G), sequence it to “2 - 4 - 6” (D-F-A) — same shape, different starting pitch.

3. Rhythmic variation

Keep the pitches; change the rhythm. The motif “C D E” played as three quarters sounds different from the same notes played as two eighths and a half.

4. Inversion

Flip the contour upside down — where the motif goes up, the new version goes down. Often used by classical composers; less common in pop.

If the motif is “1 → 3 → 5” (up, up), the inversion is “1 → ♭6 → 4” (down, down) — same intervals, opposite direction.

5. Augmentation / diminution

Augmentation = play the motif at twice the original length (all notes doubled in duration). Diminution = half the length. Each gives the listener the same idea at a different time-scale.

6. Fragmentation

Take a piece of the motif and use it alone. If the motif is 6 notes, develop the last 3 of them on their own.

A worked development

Start with a motif: C - E - D - G (in 4 quarter notes).

Now develop:

  • Repeat: C-E-D-G | C-E-D-G
  • Sequence: C-E-D-G | D-F-E-A (each note up a step)
  • Rhythmic variation: original | dotted-quarter, eighth, quarter, half on same pitches
  • Fragment: just D-G held longer
  • Inversion: C-A-B-F (down where original went up)

String these together with a sense of phrase shape (rising to a peak, returning home) and you have an 8- or 16-bar melody from a single 4-note motif.

How real songs do this

Listen to “Lean on Me” (Bill Withers). The chorus is one motif sequenced up the scale, twice. That’s the entire chorus.

Listen to “Eleanor Rigby” (Beatles). The verse melody is one motif, repeated with small variations, gradually moving up. That’s the entire verse.

Listen to the main theme of “Star Wars”. The opening 5 notes are the motif; the entire 60-second main theme is variations on that single fragment.

You can do this. Pick a motif. Develop it. The melody writes itself.

Try this

Hum any 4-note fragment — anything. Now:

  1. Sing it twice in a row.
  2. Sing it again starting one step higher (sequence).
  3. Sing it again with the first two notes only (fragment).
  4. Sing it one more time, full motif, landing the last note on the tonic of your key.

Total: 7 short phrases. You just composed a melody by following development rules. The whole exercise takes about 20 seconds. Do it ten times today.