
Physics Nerd
Dr. Leo Lexicon
Broader physics reading on forces, waves and the physical world.
View book →Three voices, one short tune, thirty-one bars. Press play, then pull the fugue apart: solo a voice, slow it down, watch the subject pass from hand to hand, turn the tune upside down, and test it against the rules of counterpoint that Bach bent and kept.

The notes below come from the Mutopia Project's LilyPond engraving of the Peters edition [1], parsed voice by voice and checked note for note against Mutopia's own MIDI file: all 751 notes in the MIDI file are matched by pitch and onset (three further notes are unisons between voices that the MIDI merges) [1]. Drag the roll to scrub; click the strip underneath to jump.
Section labels follow the published analysis at Tonic Chord [2] and Paul Walker's Grove article on fugue [3]. Click a row to hear it.
| Bars | Event | Voices | Key |
|---|
What this fugue does not have: Walker notes it lacks augmentation, diminution, inversion and stretto [3], and Tonic Chord lists "Stretti: None" [2]. So the stretto and transformations in the lab below are demonstrations applied to Bach's subject, not quotations from the piece.
The subject begins on the tonic C, leans on the dominant G at the downbeat of bar 2, and ends on the mediant E-flat at the downbeat of bar 3 [3]. The soprano's answer is tonal: its fourth note is changed from D to C to keep close to the home key [3]. Toggle the classic learned devices [3] and hear what happens.
Inversion here is a strict chromatic mirror around the first note; a composer writing a real inversion would usually adjust it to stay in the key. The stretto demo adds a second entry one bar later, a fifth lower.
Explore related ideas in our catalog.

Dr. Leo Lexicon
Broader physics reading on forces, waves and the physical world.
View book →Counterpoint is the art of keeping lines independent while making them sound well together. The Open Music Theory textbook sums up the strict first-species rules: begin on a perfect consonance, use only consonances, prefer steps, never write parallel perfect consonances (P5 to P5 or P8 to P8), end on a unison or octave, and prefer contrary motion, which best preserves the independence of the lines [4]. It also warns against moving into a perfect interval by similar motion ("direct" fifths and octaves) [4].
Consonant intervals between two voices: unisons, thirds, fifths, sixths and octaves. Dissonant: seconds, fourths (against the bass), sevenths and the tritone [4][5].
Method: for every pair of voices, compare each moment where both voices change note; flag two perfect fifths or two octaves in a row moving in the same direction. Final chords are counted by their top note.
The lower line is a fixed cantus firmus. Pick notes for the upper line. The starter line breaks rules on purpose; fix every red cell.
Bach's title suggests a twelve-note tuning in which every key is usable, a "circulating" or well temperament [6]. For much of the 20th century people assumed he meant equal temperament; modern scholars mostly suggest some unequal well temperament instead [6]. Forkel reported that Bach tuned his own harpsichords and clavichords [6].
Equal temperament divides the octave into twelve equal semitones [7], so every major third is 400 cents, wider than a pure 5:4 third (386.3 cents, which is 1200 × log2 of 5/4). Werckmeister III narrows four fifths by a quarter comma and leaves the rest pure, so thirds differ from key to key [8]: C to E is 390 cents, but C-sharp to F is 408.
Listen for the slow beating in the held chord: wider thirds beat faster. Uses the cent values published for Werckmeister III [8]; C is the same pitch in both tunings.
Bars: Werckmeister III. Black line: equal temperament, 400 cents. Dashed line: pure third, 386.3 cents (5:4).
Johann Sebastian Bach (1685 to 1750) was a German composer of the late Baroque [9]. In 1722, while court Kapellmeister at Köthen, he compiled a book of preludes and fugues in all 24 major and minor keys, rising chromatically from C major; a second book followed in Leipzig twenty years later [6]. The title page promises music "for the profit and use of musical youth desirous of learning, and especially for the pastime of those already skilled in this study" [6].
The only surviving autograph of Book I is Berlin, Staatsbibliothek, Mus. ms. Bach P 415: 45 leaves, dated 1722 on the title page, with later corrections in Bach's hand [10]. "Clavier" then meant harpsichord, clavichord or organ [6], which is why this page synthesizes a plucked, harpsichord-like tone.
Why it still works: the C minor fugue shows what Walker calls thematic tightness, with material from the subject or a countersubject in almost every voice at almost every moment [3], and its countersubject is written in invertible counterpoint so it sounds right above or below the subject [2]. The lines stay independent, yet the harmonic plan emerges from independent melodic lines, including passing dissonances.



Nine of the fourteen sources are not Wikipedia: Mutopia, Tonic Chord, Grove (via Kunst der Fuge), Open Music Theory, Bach Digital and four Wikimedia Commons image records.