Sowlea
English

Melody: how a tune is made

A melody is the part you hum: one note after another, each with its own pitch and length. Good tunes are not random. They have a shape, small ideas that come back, places to breathe and a moment that feels like the top of the hill. Listen to each idea, then try writing four bars of your own.

Reviewed 7 October 2026

In this lesson

A melody is a line with a shape

Draw a line through the notes of a tune and you get its shape, called its contour. Some tunes climb like stairs, some slide down, and many rise and then fall like an arch or a wave.

The shape changes the feeling. A tune that keeps climbing and stops high sounds excited, as if it is not finished yet. A tune that rises and then comes back down sounds calm and complete, like throwing a ball and catching it again.

  • A tune that climbs all the way up and stops high, still waiting.
  • A tune that rises to the top, then comes home.

Steps and leaps

When a tune moves to the next note of the scale, such as Do to Re, that is a step. When it skips over notes, such as Do to Sol, that is a leap. Steps sound smooth and are easy to sing. Leaps sound bold and bright, and they make you notice.

Most singable tunes use mostly steps with a few leaps. The famous "Ode to Joy" theme from Beethoven's Ninth Symphony moves almost entirely by step. "Twinkle, Twinkle, Little Star", a French tune first printed in 1761, opens with a leap from Do up to Sol.

A handy habit: after a big leap, many tunes turn around and walk back by step, filling in the gap they jumped over. It is a guide, not a law, but it keeps the line balanced.

  • A tune that only moves to neighbouring notes.
  • Same rhythm and chords, but every move is a jump.
  • Beethoven's tune (1824): almost all steps.
  • The 1761 French tune: a leap from Do to Sol right at the start.
  • Two big jumps up, each followed by steps back down.

Motifs: a small idea that comes back

A motif is a short idea of just a few notes that you can recognise again. The opening of Beethoven's Fifth Symphony is a famous one: short-short-short-long, G G G E♭, then the same pattern a step lower, F F F D. Much of that movement grows from those four notes.

Composers reuse a motif and change it a little each time, so the tune feels both familiar and new. You can repeat it exactly, move it up or down to start on another note (a sequence), or flip its direction so that up becomes down. Listen to one motif, five notes long, used in three ways.

  • The motif, then the same motif again, then an ending.
  • The motif moved up one step, then up again, like climbing stairs.
  • The motif, then upside down: what went up now goes down.
  • Short-short-short-long, twice: G G G E♭, F F F D (1808).

Phrases: where the music breathes

A phrase is a musical sentence. Many phrases are about four bars long, though they can be shorter or longer. Each one ends with a small rest point: a longer note or a short silence, where a singer can take a breath. That resting place is called a cadence.

A tune without breathing places sounds like someone talking without stopping for air. Listen to the same notes with and without breaths.

  • Two short phrases, each ending on a longer note and a breath.
  • Similar notes in one long stream that never stops to rest.

Question and answer

Phrases often come in pairs, like a question and its answer. The first phrase stops somewhere that feels open, often on Re or Sol over the V chord. That is a half cadence, a comma. The second phrase starts the same way but ends on Do over the I chord, a full stop. That is an authentic cadence.

Musicians call the pair antecedent and consequent. You can hear more about cadences in the "Harmony" lesson. Listen to the question alone, the answer alone, and then both together.

  • Two bars that stop on Re: it sounds unfinished.
  • The same start, but it lands on Do: done.
  • Question, then answer: four bars that feel complete.

The high point

Many good tunes have one high point, the top of the hill, often reached only once and somewhere after the middle. The tune climbs toward it, arrives, and then walks home. Because you reach it only once, it feels special.

If a tune never goes anywhere, or hits the same top note again and again, it loses that moment. This is a guide, not a rule, but it is worth trying in your own tunes.

  • The tune climbs to one top note in bar 3, then comes home.
  • A tune that stays in the same few notes the whole time.

Write your own four bars

Start with the five notes of the major pentatonic scale on C: Do Re Mi Sol La (C D E G A). They sound good together in almost any order, so it is hard to go wrong (see the "Scales" lesson). Clap a simple rhythm first, then give each clap a note.

Make bars 1–2 a question that stops on Re or Sol, and bars 3–4 an answer that starts the same way and ends on Do. Move mostly to nearby notes with only one or two big jumps, and save your highest note for bar 3. Here is an example made exactly that way.

  • Pentatonic, four bars: the question stops on Re, the answer comes home to Do.

Try it: on a piano or a phone keyboard, use only C D E G A. Play four bars: bars 1–2 end on D, bars 3–4 end on C, and the highest note appears once in bar 3. Sing it back. That is your first melody.

Piano sound: Salamander Grand Piano by Alexander Holm (CC BY 3.0).

Music theory

  1. Note names
  2. The staff
  3. Rhythm and note lengths
  4. Bars and time signatures
  5. Advanced rhythm
  6. Intervals
  7. Scales
  8. Chords
  9. Chord symbols
  10. Harmony
  11. Circle of fifths
  12. Transposition
  13. Song form
  14. Performance marks
  15. Melody
  16. Texture
  17. The science of sound
  18. Italian terms

All music theory lessonsMusic library

In this lesson