May 24, 2026 · Songen
How to write a counter melody that adds depth
A counter melody adds depth by contrasting your main line in rhythm, register and timbre. Six steps to write one that reads as a new layer, not a copy.
A counter melody is a second melody that plays against your main one to add depth, and the way to write a good one is contrast. Give it a different rhythm, a different register, and a different instrument so the ear hears a new layer instead of a copy of the lead. The rest is keeping it in key and in shape with the main theme. Six steps get you there.
Does your main melody hold up first?
A counter melody can’t rescue a vague main theme, so make the lead coherent before you add anything. You should be able to hum the main phrase and say how it develops. If the tune wanders without a clear shape, fix that first. A strong answering line needs a strong line to answer.
Where does the counter melody go?
Put it in the gaps, especially the long held notes where the main melody sits still. Those sustained notes invite a short answering phrase to pop in, and so do the rests. Drop a little melodic figure into that open space and the two lines start a conversation. You don’t need both melodies sounding at once: a rest in the counter line gives the lead room to breathe.
How do you make it sound separate?
Separation is the whole game, and you get it three ways: rhythm, register, and timbre.
- Contrast the rhythm. Rhythm is the one contrast you always need. If the main melody moves slowly, answer with faster notes; if it’s busy, answer with a sustained line. Two different rhythmic patterns are what create the bounce.
- Move the register. Push the counter melody up or down an octave so the two lines stop crowding the same range and clashing.
- Change the instrument. A different timbre, a horn against strings or a flute against a plucked lead, lets you sit in the same octave and still read as a new layer.
How do you shape the notes?
Mirror the main melody’s shape, then flip it. A counter melody that copies the lead’s contour becomes a shadow the ear ignores. Send it the opposite way: when the lead climbs, the counter line falls. That move is called contrary motion, and it slots the two together while keeping them distinct. Inverting or reversing the main phrase does the same job. Keep some family resemblance so the line feels related, just not a copy.
How do you keep it in key?
Follow the harmony: land the important notes on chord tones, especially where the chord changes. The last note of an answering phrase tends to fall right on the next chord change, so know where the harmony is going and aim for it. Staying in key keeps the line from fighting the chords underneath. You can land on a tension, a major 7th over the chord for color, as long as you mean it.
Is the counter melody any good on its own?
Play the counter melody alone and check that it holds up as a phrase. It needs the same coherence you gave the main theme. If it only makes sense glued to the lead, it’s filler. A real counter melody is a small tune in its own right that happens to fit.
Generate the main loop in Songen, mute everything but the lead, and write the counter melody against it in the piano roll. Working from a finished theme instead of a blank page makes the skill click faster. If you’re still building that base loop, how to generate your first track covers it, then add a counter line on top.