Aha Chord
CoursesReviewTopics

© 2026 LastCapsule Inc.

  • Tools
  • About Aha Chord
  • Terms of use
  • Privacy policy
  • Contact(opens in a new tab)
Basics · About 9 min

How to start writing a song

Where do you begin when you write a song?

You want to write a song, but you don’t know where to start. First, let’s listen to the opening of a song.

1 / 4

Learn

Predict

Think about the 11-second song opening you just heard. How much of it do you think was a new idea from the songwriter?

Trust your first instinct and pick one within 10 seconds (10 sec left).

Here are the first 5 seconds. Time runs from left to right. goes up from bottom to top.

1234

Each space between the thin lines is 1 beat (one clap). A group of 4 beats between the thick lines is called a bar. These 5 seconds are 2 bars.

First, tap “First 5 seconds” below to play it.

Now, let’s make your own 5 seconds. Tap the pads 8 times to make 2 bars. Any pad is fine.

Your 5 seconds
1234

Each tap plays a sound right away. The squares fill from the left.

Insight

You can write a song without thinking of all of it at once. First, choose one 5-second idea. Then add chords to it, repeat it, and end it. It grows into the opening of a song.

A short idea that you decide on first, like these 5 seconds, is what we call a seed here.

2 / 4

Recap

What we found

  • In the 11-second example, only the first 5 seconds were new
  • Adding chords gave the 5 seconds support, repeating made it feel whole, and a long last note on a pitch that feels settled made a clear stopping point
  • The same three things also grew your own 5 seconds into a song opening
  • You can start a song from a small seed, without thinking of all of it at once

Terms

beat
The steady pulse that marks time in a song, where you clap along
bar
A group of a set number of beats. In this song, 1 bar is 4 beats
seed (our name for it)
A short idea that you decide on first when you write a song. Close to what music theory calls a “motif”
3 / 4

Apply

The first thing you decide can be a melody, lyrics, or chords

The line of notes in the part that is sung is called the melody. Starting with the melody, like we did here, is called melody first. Each way of working is named after what you decide first, like this.

Melody first
What you decide first: the melody. The lyrics are added later.
Lyrics first
What you decide first: the lyrics. The melody is made to fit the words.
Chords first
What you decide first: the chord progression (the order of the chords). Then you look for a melody over it.
Riff first
What you decide first: a short phrase that repeats (a riff). Common in rock and dance music.
From humming
What you decide first: a melody that you hummed. This is a kind of melody first.

You can switch between starting points along the way. For example, it’s normal to write the melody first and later change it to fit the lyrics. These names are just labels for ways of working. There is no correct order.

Even a tune you hum without thinking can be a seed

Let’s put a tune that someone hummed without thinking onto the diagram from Learn (time from left to right, pitch from bottom to top). A voice wobbles, so the notes are not straight blocks. You get a line like this.

Wobbling is normal. Tap the two buttons below to tidy it up.

Even a tune that you hum without thinking can be a seed once you tidy it up like this.

Moving each pitch onto the nearest note of a is called snapping to the scale. Moving the timing onto the beats is called quantizing. These are also features of a DAW (software for making music). This diagram is the same as the screen that a DAW calls the piano roll.

Start by making 4 bars

You don’t need to aim for a finished song from the start. When you have 4 bars, play them and listen. Grow a few sets of 4 bars like this and put them one after another. That becomes a whole song. → “Song structure and form”

Side noteThere are more possible melodies than you could ever listen to

In Learn, there were 6 pads and 8 squares. If you count the ways to fill them, there are about 1.68 million. Your 5 seconds are one of them.

5 seconds made with the pads
About 1.68 million
Listening to them one by one: about 100 days nonstop
6 pads in 8 squares
4 bars using C D E F G A B
About 33 trillion
Listening the same way: about 11 million years
Within 1 octave, 1 note per beat

If you also change the , there are even more. You could never listen to all of them and choose one. People and AI don’t write songs by choosing from random arrangements of notes. Both narrow down the choices by using patterns that make music sound like a song, such as repeats and endings. → “How to approach AI songwriting”

Going by the numbers alone, you don’t need to worry about running out of melodies. There must be many arrangements that nobody has played yet. Find a melody that sounds good to you.

Level: BeginnerGo deeper
  • With lyrics first, there are ways to fit a melody to the rhythm of the words and to how their pitch rises and falls. → “Lyrics and melody: setting words to music”
  • There are techniques for making a seed longer, such as shifting it or turning it upside down. → “Motif development”
  • There are many more ways to use an ending to make a clear stopping point. → “Musical phrases and periods”
  • When you start with chords, there are standard patterns you can use. → “Common chord progressions”
  • In AI songwriting, the idea is the same. You choose what to decide first and what to leave to the AI. → “AI songwriting workflow: how to refine a generated song”
  • If you add the black keys and choose from all 12 notes, 4 bars (1 note per beat) have about 184 quadrillion arrangements. → “Note names on the piano keyboard”
4 / 4

Check

Listen and compare · 1 / 2
Build in the piano roll · 2 / 2
Up nextDraft

How to approach AI songwriting

If you ask an AI for a song and give it no details, what kind of song do you get?

Next topic

Answer all the Check questions above to move on.