Composition

How To Write A Piece

Introduction

Every composer eventually encounters the same question:

"I have a melody. Now what?"

Perhaps you have discovered a beautiful motif while improvising at the piano. Maybe you have written a memorable theme, an emotional chord progression, or a short musical fragment that feels full of potential. For a few moments everything seems promising. The idea sounds interesting, emotionally convincing, and worth developing.

But transforming that small idea into a complete piece is often where the real challenge begins.

The goal of composition is not simply to create musical events one after another. Instead, it is to guide the listener through a journey. Like a good story, a piece of music needs direction, contrast, development, tension, release, moments of reflection, and a satisfying conclusion.

In this article, we will explore how a simple musical idea can gradually evolve into a complete composition.

We will also look at how many film composers, improvisers, and songwriters rely on the same fundamental principles regardless of style. Whether writing a piano piece, a film cue, a song, or an orchestral work, the challenge remains largely the same: how do you take a small musical seed and allow it to grow into something larger?

Example 1 - Where to Start

Where should you start a piece? Surprisingly, NOT at the beginning!

One of the most common mistakes beginning composers make is assuming that a piece of music must be written from the beginning to the end in a perfectly linear fashion.

After all, that is how we experience music as listeners. We hear the introduction first, then the main theme, then the development, and finally the ending. It seems natural to assume that composers work in exactly the same order.

In reality, this is often not the case.

Many composers struggle when they try to begin with an introduction. The problem is simple: an introduction is supposed to introduce something. If that "something" does not exist yet, what exactly is the introduction leading toward?

This often results in a frustrating situation. You write a few atmospheric chords, perhaps a nice arpeggio pattern or an interesting texture, but then quickly find yourself staring at a vast landscape of empty measures with no clear idea of where the music should go next.

A much more practical approach is to start with the core of the piece instead.

Write a melody. Create a motif. Find an interesting chord progression. Develop a short musical idea that feels emotionally convincing. It does not need to be perfect. It does not even need to be long. The important thing is that you now have something concrete to work with.

Once this material exists, the introduction suddenly becomes much easier to write. You already know what emotional world the piece belongs to. You know which themes, harmonies, rhythms, or textures can be hinted at before the main material arrives.

The same principle applies to endings. If you are writing a short exercise or a small composition, a simple closing section can often be created after the main material is finished. Perhaps the melody slows down, perhaps fragments of the theme return one last time, or perhaps the harmony gradually settles into a final resting point.

Suddenly, what began as a single musical idea has become three distinct sections:

This is an important shift in perspective. Instead of trying to solve an entire composition at once, you focus on finding one strong idea and build outward from it. The introduction begins serving the music rather than the music being forced to serve the introduction.

Many pieces are not born from a carefully planned beginning. They grow around a central idea that gradually reveals what came before it and what should come after it. Once that core idea exists, the rest of the structure often becomes far easier to imagine.

Example 2 - Contrast

Once you have a main idea and perhaps even a simple introduction leading into it, the next logical question becomes: what happens after the theme has been presented?

This is where many pieces begin to stagnate. The composer simply repeats the same material over and over until the music loses momentum. While repetition is important, a piece also needs contrast. The listener should feel that the music is moving somewhere rather than remaining in the same emotional and musical space indefinitely.

One of the simplest solutions is to create a contrasting middle section, often called a B section.

The word "contrast" can sound intimidating, but it does not necessarily mean writing an entirely new theme. In fact, some of the most effective contrasting sections are built from the very same material that appeared in the main theme. The difference lies in how that material is presented.

A useful approach is to take small fragments from the original melody and place them into a different context. Perhaps a short motif becomes a sequence. Perhaps a rhythmic pattern is repeated over a new chord progression. Maybe a melodic fragment appears in a different register or is stretched into longer note values. Even a simple change in accompaniment can create enough contrast to make the section feel fresh.

The goal is not to disconnect from the original theme, but to view it from a different angle.

This contrast can be achieved in many ways:

Contrary to popular belief, the B section does not need to be dramatically different. It does not have to suddenly switch from major to minor or completely abandon the original mood. Often a subtle change is all that is required. The listener simply needs to feel that a new chapter of the musical story has begun.

Once this contrasting section has fulfilled its purpose, the return of the original material becomes incredibly satisfying.

The listener has spent time exploring new territory and now recognizes something familiar when the main theme returns. This is one of the reasons forms such as ABA appear so frequently throughout music history. The contrast provides variety, while the return provides unity and emotional closure.

Even better, the final return does not need to be identical to the first appearance. Many composers choose to present an A' section instead of a strict repetition. The original theme may return with richer harmony, different accompaniment, expanded textures, additional counter-melodies, or subtle melodic variations.

This creates the feeling that the music has learned something from its journey. The theme returns home, but it is not quite the same as before.

For beginning composers, this simple idea can be incredibly powerful. Start with a main theme, create a contrasting middle section from fragments of that material, and then return to the original idea in either its original or a varied form. Suddenly, what began as a short melody has grown into a complete miniature composition with structure, direction, and emotional balance.

Example 3 - The Second Subject

So far, we have explored how a simple musical idea can grow into a small but complete composition. We began with a main theme, created an introduction, developed a contrasting middle section, and eventually returned to the original material. This ABA approach is one of the most effective ways to create structure and balance in shorter pieces.

But what happens when you want to write something longer?

At some point, simply developing the same theme may no longer provide enough contrast or variety. This is where introducing a second subject can become incredibly useful.

A second subject is more than just a variation of the original theme. It is a new musical idea with its own identity, character, and emotional role within the composition. While the contrasting B section of an ABA form creates local contrast, a second subject can create contrast on a much larger scale.

Think of it as introducing a new character into a story.

Until now, the listener has been experiencing the world through a single musical perspective. The second subject suddenly opens the door to a different emotional landscape. Perhaps it is more lyrical, more energetic, more dramatic, more mysterious, or simply built from different melodic and rhythmic ideas.

What makes this approach particularly powerful is that the second subject can undergo the same developmental process as the first one.

Just as the original theme had its own contrasting section, variations, and transformations, the second subject can also be expanded, developed, fragmented, sequenced, and varied. In effect, you are creating an entirely new set of musical building blocks to work with.

This is where composition often becomes easier rather than more difficult.

Many beginning composers assume that longer pieces require constantly inventing new material. In reality, once several themes have been established, the number of possibilities begins to grow rapidly. Material from the first subject can interact with material from the second. Fragments can be exchanged, combined, reharmonized, layered, or transformed. Themes can answer one another, compete for attention, or appear together in completely new contexts.

As the composition grows, so does your collection of usable material.

A short motif from the first theme may become a transition. A rhythmic figure from the second subject may become an accompaniment pattern. A fragment from an earlier section may return unexpectedly during the climax. The more material you create, the more opportunities you have to recycle and transform it.

This is one of the reasons many large-scale compositions feel so rich and interconnected. The composer is no longer working with a single idea, but with an entire musical vocabulary developed throughout the piece.

The result is a composition that feels both larger and more unified. Rather than constantly searching for new ideas, you begin discovering new relationships between the ideas you already have. The music starts building upon itself, and each new section creates additional possibilities for future development.

In many ways, this is where composition becomes truly exciting. The piece gradually develops its own internal world, and every new theme, motif, or subject becomes another tool that can be reused, transformed, and woven into the larger musical journey.

Conclusion

Throughout this article, we explored a practical approach to transforming simple musical ideas into complete compositions. Rather than attempting to write an entire piece from beginning to end in a single step, we examined how larger structures can emerge gradually from a small collection of musical material.

We began with a perhaps surprising realization: the best place to start writing a piece is often not the beginning at all. By first creating a theme, motif, or core musical idea, it becomes much easier to later write an introduction and an ending that serve a clear purpose within the composition.

From there, we explored the importance of contrast and how a simple ABA structure can provide both variety and unity. We looked at how fragments of an existing melody can be transformed and placed into new contexts to create contrasting sections without abandoning the identity of the original theme.

Finally, we expanded the concept further by introducing the idea of a second subject. We saw how additional themes can dramatically increase the possibilities available to a composer, creating new opportunities for variation, development, interaction, and large-scale structure. As more material is introduced, composition often becomes easier rather than harder, since every new idea creates additional possibilities for future development.

Perhaps the most important lesson is that complete pieces are rarely built from a constant stream of unrelated ideas. Instead, they grow through the careful development, transformation, and reuse of existing material. The more deeply you explore the possibilities hidden within a theme, the more musical possibilities begin to reveal themselves.