📘 CodingMarble Learn

Music Composition: How to Build a Piece from a Tiny Idea

Composing means building music from small ideas. Start with a motif (a few notes). Develop it by repetition, sequence (the same shape higher or lower), and variation (change rhythm, turn it upside down). Put harmony under it: chords like I, IV, V, I, ending with a cadence. Choose a texture (tune alone, tune with chords, or many tunes together). Shape the whole piece with a form like A B A or verse-chorus. Improvising is composing on the spot. A brief tells you the purpose, length and instruments; you plan, draft, test and refine.

🎬 Step-by-step story

  1. Every piece starts small. Here is a motif: just four notes, C D E C. Blocks higher up are higher notes. Left to right is time.
  2. Repeat the motif so it sticks in the ear. Then play the same shape one step higher. This is a sequence.
  3. Now change it. Turn the motif upside down: where it went up, it now goes down. This is variation by inversion.
  4. Add harmony. Green bars are chords (notes played together) under the tune: C, F, G, then home to C.
  5. Shape the whole piece. Section A, then a different B, then A returns. The return feels like coming home.
  6. Try it: tap squares in the grid to place notes, then press Play and watch the red line read your tune.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

How can four notes become a whole song?

By repeating, shifting and changing them. Step 1 shows one motif turning into 12 notes.

Isn't changing the motif the same as writing a new one?

No. In step 2 the inversion keeps the same steps and rhythm, just flipped, so the ear still links it to the motif.

Why does a tune sound finished at the end?

Because the harmony goes home to chord I. Step 3 ends on C, the home chord.

Why do songs repeat the chorus?

A returning section gives unity and a "home" feeling, like A coming back in step 4.

Do I need to read notation to compose?

No. You can compose on a grid like step 5, by ear or with software, and write notation later.

Starting with a motif

A motif is a short musical idea, often 2 to 6 notes, with a clear rhythm and shape. A phrase is a longer musical sentence, often 4 bars, made from motifs.

Ways to develop a motif

Good melodies mix steps (next-door notes) with a few leaps, and have one high point (climax).

Harmony, cadences and texture

Harmony is notes sounding together. A chord is usually three notes stacked in thirds (C–E–G). In a key, chords are numbered: I (home), IV, V (wants to go home).

Cadences: musical punctuation

Texture

Arranging means giving the parts to instruments: tune to flute, chords to guitar, bass to cello. 20th-century composers also used new sounds: clusters, whole-tone scales, repeating patterns (minimalism).

Form: the plan of a piece

Form is the order of sections. Letters name them:

Contrast (new key, speed, instrument or mood) keeps interest; repetition gives unity. Great pieces balance both.

Improvising and composing to a brief

Improvisation is making music on the spot. Start safe: use only 5 notes (a pentatonic scale), copy and change a partner's idea (call and response), or add notes over a repeating chord loop. Jazz, raga music and many folk styles are built on improvising.

Composing to a brief

A brief is a task, such as "90 seconds of music for a sports advert" or "a lullaby for piano". Steps:

  1. Read the brief: purpose, mood, length, instruments.
  2. Collect ideas: motifs, a chord loop, a rhythm.
  3. Plan the form (for example ABA) and the timeline.
  4. Draft, record or write it in notation or software.
  5. Listen, get feedback, refine.

For film or video (audiovisual projects) the music must fit the pictures: changes happen on cuts, and tempo fits the action.

Key formulas and definitions

Worked examples

1. A motif goes C–D–E. Write its sequence one step higher and its inversion starting on E.

Sequence one step higher: D–E–F (same shape, shifted up). Inversion from E: E–D–C (steps go down instead of up).

2. A 40-bar piece has 8 bars each of A, B, A, C and then A again. Name the form.

A B A C A: this is rondo form, because A keeps returning between different sections.

3. Brief: 60 seconds of calm music for a nature video. Plan it.

Mood calm: slow tempo (about 70 beats per minute), major or pentatonic scale, soft instruments like piano and flute. Form ABA: A = gentle motif over chords I–IV (20 s), B = tune moves to the flute, new chords vi–IV (20 s), A returns and ends with a perfect cadence V–I (20 s).

Common mistakes

Practice quiz

1. A short musical idea that a piece grows from is a:
2. Repeating a motif at a higher pitch is called:
3. A tune with chord accompaniment has which texture?
4. Chord V followed by chord I is a:
5. ABA is called:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

How do I start composing music as a beginner?

Make a short motif of 3 to 5 notes, repeat it, move it higher (sequence), change it a little, and put simple chords I–IV–V–I underneath.

What are the main composition techniques?

Repetition, sequence, inversion, augmentation, ostinato, contrast, and careful use of harmony, texture and form.

What is composing to a brief?

Writing music for a set purpose, mood, length and instruments, like an advert or a film scene.

Where this is taught

ItalySecondaria di secondo grado – classe 3ªHistorical theory and composition
ItalySecondaria di secondo grado – classe 4ªHistorical theory and composition
ItalySecondaria di secondo grado – classe 5ª (esame di Stato)20th-century analysis and final project
NetherlandsHAVO 5 (eindexamenjaar)Analysing and interpreting
NetherlandsVWO 5Analysing and interpreting
Spain2º ESOPerformance, improvisation and stage creation
Spain3º ESOPerformance, improvisation and stage creation
Spain4º ESOPerformance, improvisation and stage creation
Spain1º BachilleratoMusical form
Spain1º BachilleratoEnsemble practice
Spain1º BachilleratoMusical Practice
Spain2º BachilleratoEnsemble practice
England (GCSE, A level)Year 9Performing and composing
England (GCSE, A level)Year 10Performing and composing skills
England (GCSE, A level)Year 11Component 3: Composing music
England (GCSE, A level)Year 12Skills
England (GCSE, A level)Year 13Component 3: Composition
Japan中学2年Performance
Japan中学3年Performance
Japan高校1年Performance
Japan高校2年Performance
Japan高校3年Performance
FranceQuatrièmeSkills
FranceTroisièmeSkills
FrancePremièreMusic practice (music)
FranceTerminaleMusic practice (music)

Learn first

Learn next

Related lessons

All Music lessons