Writing Musical Themes


Writing Musical Themes

Anna
Have you ever thought about how composers come up with melodies? I used to think it was all about inspiration, but apparently there’s a lot of structure behind it.

Corey
Absolutely. In classical music, a theme isn't just any catchy tune—it’s a minimal structure with complete meaning, usually ending with a cadence. Think of it like a sentence: 'I have to' has meaning, but 'I have to study' is complete.

Anna
That makes sense. And just like punctuation gives closure to a sentence, cadences do that in music. A perfect authentic cadence feels like a period, while a half cadence is more like an ellipsis.

Corey
Exactly. There are two main types of tight-knit themes: the sentence and the period. Both are typically eight bars long, but they work differently. The sentence has one cadence at the end, while the period has a question-and-answer structure.

Anna
Let's start with the sentence. It begins with a presentation, which prolongs the tonic harmony. Then comes a continuation that destabilizes the flow and leads to a cadence.

Corey
Right. The presentation is usually two bars of a basic idea—a small group of motifs, not just one. Simple is better. Then bars 3-4 can repeat it exactly, transpose it melodically, sequence it, or use a continuous phrase.

Anna
I like the continuous phrase option—where the basic idea extends into a single four-bar phrase, often with a tonic pedal. It feels more seamless.

Corey
Then the continuation has two main approaches: sequential continuation, which feels like a third repetition of the basic idea, or fragmentation, where you break the idea into smaller bits, often with faster harmonic rhythm.

Anna
Fragmentation can lead to liquidation, where the motifs dissolve. That’s common in classical music, but sometimes the fragments aren't even motivically related. And the cadence can be perfect authentic, imperfect authentic, or half cadence.

Corey
Perfect authentic cadence—bass moves from fifth to first, top line steps to tonic—very conclusive. Imperfect is similar but top ends on third, less conclusive. Half cadence ends on dominant, open-ended.

Anna
Sentences can also modulate to another key, usually the fifth degree in major or the third in minor. That changes the cadence's effect.

Corey
Now the period. It has an antecedent and a consequent. The antecedent ends with a weak cadence—half, imperfect, or deceptive. The consequent repeats the basic idea but ends strong, usually perfect authentic.

Anna
The antecedent can follow a question-answer pattern: a basic idea followed by a contrasting idea. Or it can be a mini-sentence, compressed into four bars. The consequent must start with a recognizable basic idea, then either repeat the contrasting idea or substitute something else.

Corey
There are also interesting variations like the anti-period, where the cadences are reversed—antecedent strong, consequent weak. And the contrasting period, where the consequent doesn't restate the initial basic idea at all.

Anna
William Caplin calls those hybrids. And themes don't always stick to eight bars. They can be shorter or longer, or extended with extra material. Sometimes the listener’s perception differs from the written time signature.

Corey
Compound themes are sixteen bars where at least one half is a complete eight-bar theme. The compound sentence has an eight-bar presentation followed by an eight-bar sentence that acts as a big continuation. The compound period repeats the same sentence twice—first weak cadence, then strong.

Anna
Composers like Mozart combined these principles in sophisticated ways. For example, the opening of his Piano Sonata in A minor blends techniques from both sentences and periods into one unified structure.

Corey
Exactly. Understanding these building blocks helps you analyze music and even write your own themes. It’s not just inspiration—it’s craft.

Ask anything
We've read this whole study set, so questions about it get the best answers.