Theme and Variations: How to Transform a Simple Melody
One of the most useful skills a composer can develop is learning how to get more from less.
You don't always need another melody.
Sometimes you need to discover what is already hiding inside the melody you have.
One of the best ways to practise this is through theme and variations.
The basic idea is simple: begin with a musical theme, then repeat it several times while changing different aspects of the music. The listener can still recognise the original idea, but each variation presents it from a new perspective.
This makes theme and variations an excellent compositional exercise—especially for classical guitarists.
Start with a simple theme
A theme doesn't need to be complicated. In fact, a relatively straightforward theme often gives you more room to develop it.
You might begin with:
a clear melody
a simple chord progression
a regular phrase structure
a relatively uncomplicated texture
Think of this as the raw material.
The goal isn't to write something elaborate immediately. The interest comes from what you subsequently do with it.
In a recent lesson, we took an existing melody and began turning it into a theme and variations. The original melody and harmony remained our reference point, but almost immediately we discovered several ways of transforming the music.
Variation 1: Change the accompaniment
Perhaps the easiest place to begin is the accompaniment.
If your theme contains block chords, try breaking those chords apart.
For example, instead of:
Melody + chord
you might create:
Melody + flowing arpeggio
The harmony can remain almost exactly the same, but suddenly the music has movement.
You can experiment with different arpeggio patterns, including patterns inspired by Alberti bass, where the notes of the chord are continually reorganised into a repeating accompaniment figure.
This is an important principle:
You don't have to change the harmony to create a variation.
Sometimes changing the texture is enough.
Variation 2: Use pedal notes
Another possibility is to introduce a pedal note.
While the melody moves, one note can continually return underneath or between melodic notes. On the guitar, open strings make this especially effective.
The pedal might be:
the tonic
the dominant
an open string belonging to the harmony
a note that creates interesting tension against changing chords
This can turn a relatively static harmonisation into something much more active while still retaining the identity of the original theme.
Variation 3: Make the bass melodic
The bass doesn't have to simply play the root of each chord.
If the melody is sustaining or moving slowly, the bass can become more active.
For example, underneath a held melody note you might create a descending line:
D – C – B – A
Now there are two layers of musical interest: the original melody above and a new melodic line below.
This begins to move us towards a more contrapuntal way of thinking.
Instead of asking only:
What chord goes here?
ask:
Where could each voice move?
That question can completely change the way you write for guitar.
Variation 4: Break chords into different textures
Suppose your theme contains several notes played simultaneously.
In the variation, those notes don't necessarily need to occur together.
Try separating them.
You could play:
melody first, then accompaniment
bass first, then upper voices
alternating notes between voices
continuous arpeggios
repeated inner notes
broken-chord patterns
The pitches might remain almost identical to the theme, yet the result can sound completely different.
This is one of the great lessons of variation writing:
Rhythm and texture can transform harmony without changing the chords themselves.
Variation 5: Change the bass or pedal on a repetition
What happens when the melody repeats?
Don't assume the accompaniment needs to repeat exactly too.
Keep the melody but change the pedal note.
Change the bass.
Create a descending line.
Move the harmony into another inversion.
Continue a rhythmic pattern that previously stopped.
This allows repeated melodic material to develop rather than simply repeat.
A useful composing question is:
What can remain the same, and what can change?
That balance is at the heart of variation form.
Variation 6: Move into another register
The guitar gives us another simple but powerful possibility: register.
Move the melody up an octave.
Suddenly the same theme has a different colour.
Higher positions also give you access to different open strings, chord voicings and resonances. A familiar D major chord, for example, can sound completely different high on the fingerboard with an open string ringing through it.
Register isn't merely a technical choice.
It is a compositional tool.
You can even use register to shape the overall direction of the variation: begin low, gradually climb the instrument, and create a high point near the end.
Variation 7: Change the mode
One of the most dramatic traditional variation techniques is changing major to minor, or minor to major.
If your theme is in a major key, try creating a minor variation.
You immediately gain contrast without abandoning the structure of the theme.
The melody may need some adjustment, but the listener can still recognise its underlying shape.
This can also help give a complete set of variations a larger emotional journey rather than simply becoming a collection of increasingly difficult decorations.
Think in terms of increasing energy
Variations don't have to be random.
They can build.
For example:
Theme
Simple melody and harmony
Variation 1
Broken-chord accompaniment
Variation 2
More active bass movement
Variation 3
Pedal notes and continuous rhythmic motion
Variation 4
Minor-key transformation
Variation 5
Melody moved higher on the guitar
Variation 6
Virtuosic or contrapuntal finale
Now the entire work has an arc.
The original theme becomes the starting point for an increasingly elaborate exploration.
And there is no fixed number of variations. A piece might contain only a handful, while some famous examples are enormous. Beethoven's Diabelli Variations contains 33 variations, while Bach's Goldberg Variations contains 30.
The important question isn't how many you write.
It's whether each variation reveals something new about the theme.
A practical theme-and-variations challenge
Choose a simple melody you already know—or write an eight- or sixteen-bar theme of your own.
First, write the theme as simply as possible.
Then create three variations.
For Variation 1, keep the melody and harmony almost completely unchanged, but transform the accompaniment using arpeggios or pedal notes.
For Variation 2, concentrate on the bass. Create bass movement, inversions, passing notes or a descending line underneath the melody.
For Variation 3, make a more substantial transformation. Move the melody into another register, change the mode, alter the rhythm, introduce counterpoint, or combine several techniques from the earlier variations.
You don't need to reinvent the piece every time.
In fact, that's the challenge.
The listener should still be able to hear the original theme inside each transformation.
Variation is composition in miniature
Theme and variations teaches one of the most important lessons in composing:
Development doesn't necessarily mean adding more material.
A single melody contains enormous possibilities.
Change the rhythm.
Change the texture.
Change the bass.
Change the register.
Change the mode.
Change which voice is active.
Change the density.
Change the accompaniment.
But keep enough of the original idea that we can still recognise where the music came from.
This is useful far beyond writing a formal theme-and-variations piece. The same thinking can help you develop a composition, arrange a melody for classical guitar, reharmonise a song, improvise, or simply make the second appearance of an idea more interesting than the first.
Before searching for your next musical idea, try asking a different question:
What else can I do with the idea I already have?