Skip to content

Episode 12: Johann Sebastian Bach, The Recursive Loop in Music

In 1723, Johann Sebastian Bach accepted a position as music director for Leipzig’s churches.

The job required him to compose, rehearse, and perform a new cantata every single week. That’s roughly 20 minutes of original music. For choir, orchestra, and soloists. Every week. For years.

Most composers would consider this impossible. The workload alone would break creative quality.

Bach did it for over 20 years. And his manuscripts show something specific: he wasn’t just producing work fast. He was using each composition to inform the next one.

The recursive loop is made visible in musical notation.

This is The Integration Practice. I’m [Your Name]. And today we’re looking at what Bach’s documented creative process reveals about sustaining integration under deadline.

Let’s talk about what we actually have from Bach’s working life.

First, there are the manuscripts. Over a thousand compositions survive with Bach’s own handwriting. Cantatas, organ works, keyboard pieces, orchestral suites, choral works. And crucially, we have multiple drafts of many pieces showing his revision process.

The Bach Digital project has digitized most of these manuscripts. You can see corrections, additions, crossings-out. The thinking process visible on the page.

Second, there are the parts he created for performers. Bach didn’t just write the full score. He copied out individual parts for each musician. These parts often contain additional markings and corrections that aren’t in the main score. They show him refining ideas even during the copying process.

Third, there are church records from Leipzig documenting exactly what was performed when. We know which cantatas were played on which Sundays. We can track his output week by week for over 20 years.

Fourth, there are teaching materials. Bach trained students throughout his life. His son Carl Philipp Emanuel wrote down his father’s teaching methods. We have exercise books Bach created showing how he taught compositional technique.

And fifth, there are contemporary accounts. Letters from other musicians, records from church councils, descriptions of his working methods from people who knew him.

So we’re not guessing about how Bach worked. We have documentation spanning five decades showing a consistent pattern.

And here’s what makes this evidence particularly valuable: Bach worked under constant deadline pressure. He couldn’t wait for inspiration. He had to produce high-quality work on schedule, year after year.

His manuscripts document exactly how he did that. And the pattern they reveal is systematic.

To understand what Bach was managing, you need to know what the Leipzig position actually required.

Every Sunday and feast day needed new music. That’s roughly 60 performances per year. Each requires a cantata of 20-25 minutes.

But it wasn’t just composition. Bach had to:

  • Write the music
  • Copy out all the instrumental and vocal parts
  • Rehearse the choir (which included students from the church school)
  • Rehearse the orchestra (professional musicians and advanced students)
  • Conduct the performance
  • Sometimes play organ during the service

And he was doing this for multiple churches simultaneously. St. Thomas Church was his primary responsibility, but he also provided music for St. Nicholas Church and occasionally for university services.

Plus he was teaching. He had 15-20 private students. He taught at the St. Thomas School. He examined organ installations across the region.

Plus he had a family. He and Anna Magdalena raised 13 children who survived infancy, several of whom he trained as musicians.

This isn’t a composer in a quiet study waiting for inspiration. This is systematic creative production under relentless demand.

Most musicians of the period would compose a cantata every few months when they had time. Bach was producing one per week while managing everything else.

And here’s what the manuscripts show: the quality didn’t degrade. Look at a cantata from 1724 and compare it to one from 1744. The same level of compositional sophistication. The same attention to text setting. The same structural integrity.

He maintained creative standards under production pressure that should have forced compromise.

That’s what makes his working method worth examining.

So let’s look at what Bach’s manuscripts actually reveal about his process.

It starts with systematic foundation. Not improvisation. Not waiting for inspiration. Systematic structural work.

Look at the cantatas from his first few years in Leipzig. The manuscripts show him working through different formal structures methodically.

One cantata uses a particular opening chorus form. The next explores a variation of that form. The third tries a different approach. Then he returns to the first form with modifications based on what he learned from the variations.

This is documented in the manuscripts themselves. You can see him testing different structures, keeping what works, discarding what doesn’t.

Here’s a specific example. In 1724, he composed a series of chorale cantatas, works based on Lutheran hymn melodies. The manuscripts show him developing a template.

First cantata: Opening chorus on the chorale melody, recitatives and arias developing the text, closing chorale in simple four-part harmony.

Second cantata: Same basic structure, but the opening chorus treats the chorale melody differently, it’s in the bass instead of the soprano.

Third cantata: The template is established, but now he’s adding contrapuntal techniques within the structure.

By the tenth cantata in the series, he’s working within a form he’s mastered. The manuscripts show faster composition because the structural decisions are already made. He’s working within a framework he’s tested and refined.

This isn’t formulaic. Each cantata is musically distinct. But the underlying structure provides foundation so he doesn’t have to reinvent the architecture every week.

This is integration of analytical structure with creative expression. The structure gives stability. Creativity operates within that stability.

And you can watch this happen across his entire career. The Well-Tempered Clavier, 48 preludes and fugues in all keys, is basically a systematic exploration of keyboard technique through structured variation.

He takes the form, prelude followed by fugue, and explores every possible way to work within it. Some preludes are flowing and meditative. Others are virtuosic. Some fugues are simple. Others are complexly contrapuntal.

But the structure stays consistent. And that consistency let him produce this massive work while simultaneously composing cantatas, teaching students, and fulfilling church duties.

The manuscripts show drafts and corrections. He’s refining individual pieces. But the structural foundation is solid from the beginning.

Here’s what his son Carl Philipp Emanuel wrote about his father’s method: “He began with the fundamentals of harmony and counterpoint, ensuring students understood the rules thoroughly before attempting free composition.”

Bach taught the same way he worked. Master the structural foundation first. Then creativity operates within that foundation.

For the cantatas, this meant he could compose quickly without sacrificing quality. The structural decisions were systematic. The creative decisions, how to set this particular text, what affect to convey, could focus on expression rather than basic architecture.

Look at the annotations in his teaching materials. When he’s showing students how to develop a theme, he’s not saying “wait for inspiration.” He’s showing systematic techniques for melodic development, harmonic progression, contrapuntal treatment.

The manuscripts reveal this isn’t just pedagogy. It’s how he actually worked.

He’d establish a structural foundation for a series of works. Then compose within that foundation systematically. Then, based on what each composition revealed, refine the foundation for the next series.

That’s the first part of his integration practice. Systematic structure providing stability for creative work under pressure.

The second part of Bach’s documented method is what makes the weekly deadline sustainable.

Each composition informed the next one. The recursive loop made explicit in his manuscripts.

Look at how Bach treats fugue subjects across his career. A fugue is built on a short melodic idea, the subject, that appears in different voices throughout the piece.

In his early organ fugues from around 1708, the subjects are relatively straightforward. Clear melodic shapes. Simple rhythmic patterns.

Move forward to the fugues in The Well-Tempered Clavier from 1722. The subjects are more sophisticated. They’re designed to work well in multiple keys. They contain intervallic relationships that create interesting harmonies when combined with themselves.

Then look at The Art of Fugue from the 1740s. The subjects are constructed so they can be inverted, augmented, diminished, combined with other subjects. The complexity has increased dramatically.

But here’s what the manuscripts show: he didn’t suddenly leap to this complexity. Each fugue taught him something that informed the next one.

You can track specific techniques appearing, being refined across several pieces, then becoming standard tools he uses without hesitation.

Take stretto, a technique where the fugue subject overlaps with itself, one voice starting before the previous statement finishes. In early fugues, Bach uses simple stretto near the end as a climactic device.

By the middle of his career, he’s building entire fugues around complex stretto schemes where multiple voices overlap in different time relationships.

By late career, he’s combining stretto with subject inversion and other techniques simultaneously.

The progression is documented. Each piece explores a technique. The next piece builds on what that exploration revealed. Eventually the technique becomes integrated into his standard vocabulary.

This is the recursive loop in action. You don’t master everything before starting. You use what you know. Each piece reveals something. That revelation informs the next piece. Capability builds through iteration.

The cantata manuscripts show this even more clearly because we have them in chronological order from the church records.

Look at how Bach sets text to music across the Leipzig cantatas. Early cantatas: relatively straightforward text painting. A word like “joy” gets a rising melodic line. A word like “death” gets a descending chromatic line.

Middle period cantatas: the text setting becomes more sophisticated. He’s using harmonic relationships to convey meaning. A single word might trigger a modulation to a distant key that creates emotional impact.

Late cantatas: the text and music are completely integrated. Musical structures reinforce textual structures. Harmonic progressions mirror theological concepts. The relationship between text and music is so tight that neither makes complete sense without the other.

And you can watch this progression happen composition by composition. A technique appears in one cantata. The next cantata develops it. The third integrates it with other techniques. By the tenth, it’s a natural part of his vocabulary.

His teaching materials show he was conscious of this process. He’d have students take a simple melody and develop it through systematic variation. The first variation adds ornamentation. Second, change the rhythm. Third, put it in different keys. Fourth combines multiple variations.

This is recursive refinement as a pedagogical method. Each variation teaches something. That learning informs the next variation. Capability builds through structured iteration.

The manuscripts of The Art of Fugue show this same pattern taken to an extreme. It’s a single work consisting of 14 fugues and 4 canons, all based on the same subject. Each piece explores different contrapuntal possibilities of that subject.

Fugue 1: Simple four-voice treatment Fugue 2: Same but with slight variations Fugue 3: Introduces inversion of the subject Fugue 4: Uses both regular and inverted subject simultaneously And so on, building in complexity.

Bach didn’t write these all at once. The manuscripts show they were composed over several years. Each one explored what the previous fugue revealed was possible. The final fugue, which he didn’t finish before his death, attempted to combine three separate subjects with the original theme simultaneously.

This is systematic exploration through recursive refinement. Each piece asks: what else is possible with this material? The answer informs the next piece. Complexity builds through iteration.

The third part of Bach’s practice is less obvious but equally important.

He integrated what he learned by teaching it.

His teaching materials aren’t just pedagogical exercises. They’re documentation of his own understanding systematized for transmission.

Take the Inventions and Sinfonias, short keyboard pieces he composed specifically for teaching. The manuscript from 1723 has a title page explaining their purpose: “Instruction showing clearly how to play not just with two voices but eventually with three, and how to develop good ideas while achieving a cantabile style of playing.”

That’s not just “here are some pieces to practice.” That’s systematic instruction in compositional thinking.

And the pieces themselves show this. The Two-Part Inventions start simple. Clear two-voice counterpoint. Each voice has melodic integrity. They’re independent but work together harmonically.

Progress through them and the complexity increases. Later inventions use more sophisticated rhythmic relationships, more distant modulations, more intricate contrapuntal treatment.

Then the Three-Part Sinfonias do the same thing with an added voice. Same systematic progression from simpler to more complex.

But here’s what matters: Bach wasn’t just teaching students. The act of creating systematic teaching materials forced him to clarify his own understanding.

You can see this in how his compositional style evolved after creating teaching materials. The Clavier-Übung series, keyboard works he published as teaching material, shows techniques that then appear in his church music.

He’d systematize a technique for teaching. That systematization clarified how it worked. That clarity then fed back into his own compositional practice.

This is integration through externalization. The act of making your methodology explicit enough to teach others forces you to understand it more clearly yourself.

His son Carl Philipp Emanuel documented this. He wrote that his father would often work through compositional problems by demonstrating them to students. “In teaching he would discover solutions he hadn’t seen while working alone.”

The teaching wasn’t separate from the creative work. It was part of the integration process.

This shows up in the cantata manuscripts in a specific way. Many of them have pedagogical annotations. Bach would note why he made certain choices, not for himself, but for students who might study the scores.

These annotations reveal his thinking process. “This modulation prepares the listener for the text change in the next section.” “The bass line here must support both the harmony and provide melodic interest.”

He’s teaching through the manuscripts themselves. And in doing so, he’s reinforcing his own systematic understanding of what makes composition work.

The recursive loop closes. He composes. He teaches what he learned from composing. Teaching clarifies his understanding. That clarity improves his composition. Which gives him new things to teach.

So what can we learn from Bach’s documented working method?

Three specific practices that transfer to any creative work under deadline.

First, build a systematic foundation before you need speed.

Bach didn’t wait until he was under a weekly deadline to develop compositional structures. He spent years mastering counterpoint, harmony, and form before taking the Leipzig position.

When deadline pressure hit, he had systematic approaches already developed. He wasn’t learning fundamentals while trying to produce.

For us, this means building capabilities in advance of need. What fundamental skills or structures will you need to work quickly later? Develop them now when you have time to learn thoroughly.

If you wait until deadline pressure forces you to work fast, you’ll cut corners. You’ll default to what’s easy rather than what’s good.

Bach’s manuscripts show he never cut corners. The weekly cantatas maintain the same structural integrity as works he had months to compose. Because the foundations were already solid.

Second, make each piece of work inform the next one.

Bach didn’t treat compositions as isolated projects. Each one was an experiment that revealed something useful for future work.

His manuscripts show systematic exploration. Try a technique. See what happens. Refine it. Try a variation. Eventually it becomes integrated into natural practice.

For us, this means building reflection into our process. After finishing something, what did this reveal? What worked? What would you do differently? What new possibility did this open up?

Don’t just move to the next project. Extract the learning. Let it inform what comes next.

That’s the recursive loop. Each iteration improves the next iteration. Capability builds through systematic reflection and refinement.

Third, integrate learning through teaching or explanation.

Bach didn’t keep his methods private. He taught them. He created pedagogical materials. He annotated manuscripts for students.

And in doing that, he clarified his own understanding.

For us, this means externalizing our thinking. Write down your process. Explain it to someone. Create documentation. Teach what you’ve learned.

The act of making methodology explicit forces clarity. You discover gaps in your understanding. You find better ways to articulate what you’re doing. That clarity feeds back into better practice.

You don’t have to be a formal teacher. Just explain your process to someone else. Write documentation for future you. Create notes about what you learned.

The externalization is the integration tool.

What did this systematic integration under deadline actually produce?

Over his career, Bach composed:

  • Over 200 cantatas (estimates suggest he wrote over 300, but many are lost)
  • The St. Matthew Passion and St. John Passion, massive choral works
  • The Mass in B Minor
  • The Well-Tempered Clavier, 48 preludes and fugues
  • The Goldberg Variations
  • The Art of Fugue
  • Six Brandenburg Concertos
  • Dozens of organ works
  • Orchestral suites, violin sonatas, cello suites
  • Teaching materials that are still used today

This isn’t just quantity. Three hundred years later, Bach’s work is still studied as the foundation of Western musical composition. His fugues are still used to teach counterpoint. His harmonizations are still analyzed for voice leading.

The recursive loop, each piece informing the next, systematic refinement over decades, integration through teaching, produced work that transcended the weekly deadline it emerged from.

And here’s what matters: the manuscripts show this wasn’t a genius waiting for inspiration. It was systematic practice maintained across five decades under continuous deadline pressure.

He had weeks when he was sick. Weeks dealing with difficult church councils. Weeks with family crises. The cantatas got composed anyway. At the same level of quality.

Because the practice was systematic enough to function even when circumstances weren’t ideal.

The Integration Practice, my book on thinking clearly in the age of AI, teaches this same recursive loop through modern tools.

Bach’s manuscripts show how systematic foundation plus iterative refinement plus integration through teaching creates sustainable creative output under deadline.

The weekly cantata requirement is like the constant demands of modern work. The deadline doesn’t stop. The quality still matters. How do you sustain both?

Bach proved it’s possible through disciplined integration practice. Not through superhuman creative power. Through systematic methods applied consistently.

Build a foundation. Let each piece inform the next. Externalize your learning.

That’s the recursive loop. It worked in 18th century Leipzig. It works now.

The tools change. The principle stays the same.

Next time, we’re looking at Barbara McClintock.

While Bach sustained integration through weekly creative demands, McClintock maintained it through decades of professional isolation.

Her laboratory notebooks document how she kept systematic scientific thinking alive when the entire field rejected her conclusions. For 30 years. Until they finally recognized she’d been right all along.

That’s next time on Conscious Choice.

@ 2025 Lee Greene