Nathaniel School of Music

How to Compose a Better Piano Melody (Part 1)

To build a better piano melody, take a simple idea, shape it into AAB phrases like a poem, give it rhythm through beat division (eighth notes, triplets, straight or swing), change a note or two in the repeats, and support it with bass roots and fifths such as D, B, G and A (I–vi–IV–V) in D major.

Video lesson by Jason Zac · Beginner · 24 min

Can't see the video? Watch it on YouTube.

Key points

What this lesson teaches

This is Part 1 of Jason Zac's series on building melodies at the piano. It is for anyone who already has a small tune in their head, perhaps one that came to you over a meal or in the shower, and wants to grow it into something catchy and complete. Jason Zac compares it to a seed: the idea exists, but it only becomes a tree if you water it and work on it. The approach works for beginners, and later parts add more intermediate ideas.

The starting tune is just four notes in D major (two sharps, F# and C#): D, E, G, F#.

Step 1: Think like a poet (AAB form)

Poetry verses are often built from repeated lines with a contrasting line, such as A A B. Blues lyrics work the same way: a line is sung, repeated, and then answered by a new line.

Apply this to the melody:

  1. Line 1: play the four-note idea (A).
  2. Line 2: repeat it (A).
  3. Line 3: repeat it again, much the same.
  4. Line 4: play a new line (B), the turnaround.

The B line can be more complicated than the original, or, as in this lesson, simpler. A simpler closing line breaks the monotony and brings the melody to rest, acting like punctuation at the end of a sentence or paragraph.

Step 2: Give the melody rhythm

A melody is not just a string of notes. It needs to groove. If you play each note on beats 1, 2, 3 and 4, you quickly run out of slots and the music feels slow and flat.

Divide the beat by two (eighth notes)

Count 1 and 2 and 3 and 4 and. Now you have eight slots in a bar of four. Instead of playing E on beat 2, place it on the and after 2. Place the next notes on offbeats too, and leave a gap before the phrase returns. The notes are the same, but the melody now has space, feels less monotonous and becomes far more singable.

Divide the beat by three (triplets)

Count 1 and a 2 and a 3 and a 4 and a. Four beats times three gives twelve slots per bar, so you have even more places to put each note.

Straight or swing

Decide whether the melody is straight or swung. Playing the same phrase both ways completely changes its texture. Jason Zac calls these choices time feels: always have a beat division in your head, whether straight or swung.

Step 3: Change a note or two

Poems rarely repeat a line word for word, because that becomes boring. Do the same with your A lines: keep the shape, but change one note in each. For example, one A line can reach up to the fifth of the scale (A in D major), and a later line can go higher still. Changing two notes can make two lines feel like a question and answer.

Let the piano act as a second composer. Explore, and stay open to ideas the instrument gives you.

Step 4: Add harmony with bass roots

Harmony moves the melody through changing moods. Under the four lines, use these bass roots:

Octaves in the bass give a richer sound.

Stack the fifth

Think of the piano as a choir under your fingers. Add the fifth above each root, for example D with A, for a full sound. For more finger independence, hold the root and fifth while the right hand plays the remaining melody notes. This strengthens the downbeat.

Colour the ending

Because the melody simply holds its last note, you have room to colour the ending, for example with a suspended sound and an inner voice stepping down A, G, F# instead of staying static.

How to practise

Questions about this lesson

How do I turn a simple tune into a full melody?

Repeat your idea in an AAB pattern, give it rhythm by dividing the beat and using offbeats, vary a note in the repeats, then add bass roots and fifths underneath. Each layer makes the original idea catchier without throwing it away.

Why does my melody sound boring when I play it on the beat?

Playing only on beats 1 to 4 leaves no extra slots, so the melody feels slow and flat. Dividing the beat into eighth notes or triplets and placing notes on offbeats adds space and groove.

What chords go with a melody in D major?

This lesson uses bass roots D, B, G and A, which are I, vi, IV and V in D major, then returns to D. You can enrich them with octaves in the bass and by adding the fifth above each root.

Should the last line of my melody be more complex or simpler?

Either works. In this lesson the B line is simpler than the A lines, which breaks the monotony and brings the melody to rest like punctuation at the end of a sentence.

Practise it

Related lessons