How to Write a Melody: A Beginner's Method

beginner · about 20 minutes · checked

You will write a four-bar melody in C major over your drum beat.

All lessons
Watch · 3:06Video: Make Your First Song Online (Beginner)

To write a melody, pick a key (a family of notes that sound good together), invent a short rhythm, and repeat it while changing the notes. Use mostly small steps, and rest your ear on long notes. In this lesson you build a four-bar tune in C major, one note at a time.

Before you start

  • You have the song from how to make a drum beat, with 90 BPM, a 4-bar loop and the key set to C Major.
  • Click Chorus in the Sections list.

A melody is the line you would hum. C major uses the notes C, D, E, F, G, A and B.

Step 1: choose a sound and open the editor

On the Lead track, open the voice menu (number 1 below) and choose Grand Piano. Then press the full-screen button (number 8).

Track controls with numbered highlights: 1 is the voice menu and 8 is the full-screen editor button
Track controls with numbered highlights: 1 is the voice menu and 8 is the full-screen editor button

Step 2: find your rows

Higher rows are higher notes. Only the C rows are labelled, so use C5 as your landmark. The number tells you how high the note is.

Because you chose a key, rows outside C major are shaded darker. The SNAP button in the top bar keeps your clicks in the key.

NoteHow to find it
C5the row labelled C5
D52 rows above C5
E54 rows above C5
F55 rows above C5
G57 rows above C5
A59 rows above C5

These counts include the darker rows. Click the left edge beside any row to hear it.

A full-screen melody editor with the C3, C4, C5 and C6 rows labelled on the left, showing a different tune
A full-screen melody editor with the C3, C4, C5 and C6 rows labelled on the left, showing a different tune

Step 3: draw the notes

Each beat is four small boxes wide. A click makes a note half a beat long, so drag for longer notes.

  • For 1 beat, press in the first box of the beat, drag right, and let go in the 4th box.
  • For 2 beats, let go in the 8th box.

Enter these notes in order.

BarBeat 1Beat 2Beat 3Beat 4
1E5, 1 beatG5, 1 beatE5, 2 beats(E5 still sounding)
2D5, 1 beatG5, 1 beatD5, 2 beats(D5 still sounding)
3C5, 1 beatE5, 1 beatA5, 1 beatG5, 1 beat
4F5, 1 beatA5, 1 beatC5, 2 beats(C5 still sounding)

The editor should show 13 notes.

Why does this melody work?

  • It repeats. Bars 1, 2 and 4 share one rhythm: short, short, long. Your ear remembers it.
  • It changes once. Bar 3 has four short notes, which adds movement before the end.
  • It leans on home notes. In each bar, the notes on beats 1 to 3 belong to the chord you will add later. G5 at the end of bar 3 is a passing note that steps down to F5.
  • It loops smoothly. The last C5 is only a small hop from the first E5.

What you should hear

Press Space. The piano sings over your drums. The loop lasts about eleven seconds and then starts again. Bars 1 and 2 sound like a question asked twice. Bars 3 and 4 sound like the answer.

If something goes wrong

ProblemFix
A note is too shortDrag the right edge of the note further right
A note jumped to another rowSNAP moved it into the key. Drag it to the row you want
You cannot find C5Scroll up or down in the grid until you see the label
The grid is too small to clickHold Ctrl (Cmd on a Mac) and scroll to zoom
A note sounds sourCompare its row with the table, then drag it into place

What to try next

Change one note in bar 3 and listen. Keep the change if you like it, or press Ctrl+Z (Cmd+Z). The rest of the lessons work best with the notes in the table. Then learn how to make a bassline. For more tune practice, try Ode to Joy.

Try it now

Reading helps; clicking teaches. Open your dashboard and do the steps.

Open my dashboard

From the blog