BWV 988 · Literature Review

The Goldberg Canons
in the Literature

What is known about the nine canonic variations, and what a visualisation can honestly show — research in service of a tool for seeing how Bach did it.

22 July 2026 · twenty-four sources · nine canons

the nine every third variation, at a widening interval, over one fixed harmony
3 6 9 12 15 18 21 24 changes rule 27 changes rule
The subject

The problem Bach set himself

One line, its own copy, and a harmony fixed before either was written. Nine times, at nine widening distances.

Every third variation of BWV 988 is a canon, and the interval widens by a step each time — unison, second, third, on to the ninth. In each, Bach writes a single line; the second voice is that line again, displaced. Both must fit a harmonic scheme he had bound himself to before he began. Every note has to work twice: where it is put, and wherever its copy lands.

That is what the Canon Machine sets out to make visible. This document is the reading behind it: what the scholarship establishes about these nine movements, what it leaves open, and the few places where note-level data settles a question the prose leaves ambiguous.

Two structural readings the project once presented as its own — Variation 24’s alternating leadership and Variation 27’s change of direction at the double bar — turn out to be established. Both are credited on the page now, and below.

The design

Nine canons, five transformations

Tepfer’s sister-canon idea falls straight out of data already in the repository — and it is the strongest thing the piece could build next.

Reduce every canonic region to its diatonic degree shift, take that modulo seven — octave equivalence in degree space — and keep the direct/inverted distinction. Counting Variations 24 and 27 by region, the nine canons collapse to exactly five transformations, each containing exactly two canons.

SHIFT MOTION FIRST OF THE PAIR SECOND OF THE PAIR 0 direct Var 3 · unison Var 24 · octave, ±7 +1 direct Var 6 · 2nd above Var 27 first half · 9th above +4 inverted Var 12 · 4th below Var 15 · 5th above +5 direct Var 9 · 3rd below Var 18 · 6th above +6 direct Var 21 · 7th above Var 27 second half · 9th below
Figure — the collapse Every class is a pair, and the two inverted canons pair with each other. Red marks the two variations whose region behaviour makes the pairing work at all. The ascending series unison-to-ninth is a presentation order laid over five operations used twice each. Computed from data/canons.json and data/notes/v*.json with no new assumptions; independently reproduces Tepfer’s count.

The machine already computes in scale degrees. It could sort the nine plates by transformation rather than by interval name and show the collapse directly. Nobody has visualised it.

Why this matters for the ladder. The project’s next-step list already has “separate Bach’s nominal interval from his actual regional transformation.” This is the argument for making that the headline rather than a caption fix — and it changes what the ladder should be sorted by, so it wants deciding before the visual pass, not after.

Priority 1 · i

Variation 24 alternates which voice leads well attested

Verified, and about as well known as a fact about this piece can be.

Three independent descriptions, none of them specialist:

“it is the only canon of the variations in which the leader alternates between voices in the middle of a section.” Wikipedia, Goldberg Variations
“1st quarter —> below / 2nd quarter —> above / 3rd quarter —> above / 4th quarter —> below” Dan Tepfer, “Sister Canons in the Goldberg Variations”
“Initially, the canonic line is answered at the octave below, and the second canonic line is answered at the octave above… this procedure is predictable for Bach, reversed in the second half.” “My favorite Canons and other Musical Puzzles II”, Interlude

The four-region reading and the −7 / +7 / +7 / −7 fit are consistent with all of it.

One question the prose leaves open settled by the notes

Describing this variation in words is genuinely awkward, and the sources show it. Tepfer’s BachUpsideDown page gives the shape as “↑ ↓ ↓ ↑” — above, below, below, above — where his Sister Canons post gives below, above, above, below. The difficulty is real: “an octave away” is direction-neutral until you fix which voice you are measuring from, and a canon that swaps leader mid-movement makes that choice slippery in a sentence.

Our note data resolves it. Median semitone interval from leader to follower across the paired notes of each quarter of data/notes/v24.json:

Variation 24 · direction by region, measured
RegionPaired notesMedian follower − leaderDirection
First quarter60−12below
Second quarter16+12above
Third quarter46+12above
Fourth quarter23−12below

Below, above, above, below — agreeing with Sister Canons and with the Interlude description. This is not a correction so much as a disambiguation: it is exactly the kind of question that is hard to pin down in prose and trivial to read off a plate, which is a fair summary of what the tool is for.

Priority 1 · ii

Variation 27 changes direction at the double bar well attested

Described by Tepfer, and largely absent from the general reference literature — which makes it one of the most rewarding things a visualisation can show.

“the direction of the canon changes in this variation: in the first half, the answer occurs a ninth above, in the second half a ninth below.” Dan Tepfer, “#BachUpsideDown”

Wikipedia does not mention it. Neither does the Interlude survey, which discusses Variation 27 at length but only to say the voices do not cross. So it is genuinely unremarked in the general literature — but it is published, by the one writer the project already names.

The insight underneath it, which the piece does not yet show

The reason he cares about the flip is not the flip. It is that the flip changes which canon this is:

“The canon at the 9th does double sisterly duty. It’s the only canon where the switch of direction actually changes the transformation.” Dan Tepfer, “Sister Canons”

A ninth above maps G to A — the same degree transformation as the canon at the second, Variation 6. A ninth below maps G to F — the same transformation as the canon at the seventh, Variation 21. Variation 27’s two halves are Variations 6 and 21 wearing a different interval name.

Priority 2

Verify or refute

Seven claims checked against the literature.

Variations 12 and 15 are the only canons by inversion verified

Tepfer on Variation 15: “the second of only two inverted canons in the set, meaning the second canonic voice repeats the first in diatonic inversion.” Wikipedia describes both as contrary motion and no others. Uncontested.

Variation 18 is the only half-unit delay verified

Standard descriptions call it “strict imitation at the half bar.” No other canon imitates at a sub-bar distance relative to the fundamental bass.

A useful side result came out of checking this. FACT_LOCK.md marks the canon-parameter recovery unverified — script missing. The method is still unreproducible, but the parameters now have independent external corroboration: every one of the nine delays matches its published verbal description, nine for nine.

The delay column against the published descriptions
VarMetredelay_quarters=Published description
312/86.01 bar“a bar later”
63/81.51 bar“repeated a bar later … a step above”
94/44.01 bar“repeated a bar later a third down”
123/43.01 bar“the follower enters in the second bar”
152/42.01 bar“enters in m. 1 and is answered … in m. 2”
182/22.0½ bar“strict imitation at the half bar”
214/42.0½ bar“two beats later a seventh above”
249/89.02 bars“repeated two bars later an octave away”
276/83.01 barconsistent with the half-by-half account

This does not un-mark the FACT_LOCK entry — the blind-recovery claim still needs committed code — but the parameters the machine runs on no longer rest only on a missing script.

Variation 27 is the only canon with no free bass verified

“The only pure canon of the work, because it does not have a bass line.” It is also the only canon where two manuals are specified for a reason other than hand-crossing. Widely stated; sayable, but not as a finding.

Variation 3’s comes sounds first overstated

The measurement holds up. In data/notes/v03.json the voice labelled follower sounds from quarter 0.0; the leader does not enter until quarter 6.0, which in 12/8 is the downbeat of bar 2.

But no published description says anything of the kind, and the note in data/canons.json“‘The leader enters first’ is false for this canon as engraved” — is wrong as written. Every source states the canonic relation: leader first, follower a bar later. That relation is not in dispute and our data does not dispute it. What the data shows is narrower — the staff that will carry the answer is already sounding, freely, before the subject is stated. The two statements are compatible; the note in this project’s data phrased a narrow observation as though it overturned the standard description, and has been reworded.

BWV 1087 verified

The Handexemplar was found in 1974 at Strasbourg by Olivier Alain and is now at the Bibliothèque nationale de France. Christoph Wolff introduced it to scholarship in the Journal of the American Musicological Society 29/2 (1976), 224–241. Fourteen perpetual canons on the first eight bass notes, written on the inner back cover, ending not with Fine but with etc.

And here a live scholarly disagreement worth having. Wolff and most subsequent writers treat the fourteen canons as foundational — preparatory work feeding the Canonic Variations and the Musical Offering. Elise Crean argues the reverse:

“I will suggest that the Fourteen Canons should be viewed as the culmination of Bach’s engagement with strict counterpoint.” Elise Crean, “The Fourteen Canons (BWV 1087): Foundation or Culmination?”, Understanding Bach 5 (2010)

Tatlow’s proportional parallelism verified as stated

The 960-bar / 480:480 reading requires counting Variation 22 alla breve; as notated the total is 976 and the split is 480:496. That caveat is already in FACT_LOCK.md and must stay attached to the number wherever it appears.

Ruth Tatlow’s Bach’s Numbers (2015) is the primary statement; Alan Shepherd’s Let’s Calculate Bach (2021) is the quantitative test, applying Monte Carlo simulation and hypothesis testing to ask how often such proportions arise by chance.

One caveat on our own file. FACT_LOCK records a 7.3% Monte Carlo probability attributed to Shepherd. That passage could not be reached from any freely accessible source this session — Springer’s full text is paywalled. The figure is contradicted nowhere; it is simply not independently confirmed here, and wants a page citation from the book before it is quoted as settled.

Worth knowing as background: Herbert Anton Kellner’s Mathematical Architecture of Bach’s Goldberg Variations is the older genre Tatlow’s work displaced — it derives significance from JSB = 29, CREDO = 43, DEUS = 47. A useful negative example of what this counting looks like without statistical discipline. The project should not cite it approvingly.

Priority 2 · ix

Is “the ground” the right word?

Qualified yes. The precise term is fundamental bass, but the page’s prose already does the work the term alone cannot.

Peter Williams prints the extracted line in the Cambridge Handbook under exactly that heading. The reason is that the thing is not an ostinato:

“The extracted fundamental bass shown above never occurs in this pure form, not even in the opening aria which first presents this bass pattern. Despite this, it is this fundamental bass that acts as the harmonic framework for thirty variations.” Richard Lee-Thai, J. S. Bach’s Goldberg Variations, citing Williams pp. 36–38
“the ostinato bass patterns in a chaconne or passacaglia are relatively short, ranging from a 2 to 8 bar pattern, whereas the fundamental bass of the Goldberg Variations is 32 bars long. Due to its extended length, any element of ostinato it may have had is removed…” ibid.

But ground bass is not an error. It is current in the specialist literature: Crean writes of “the eight note ground bass” throughout her 2010 article, and Wikipedia says “the ground bass on which the entire set of variations is built.”

verdict “The ground” is defensible shorthand, and the page’s prose is already right. One legend label asserts the loose term flatly, without the surrounding prose to qualify it. That is the whole fix.

No variable renaming is warranted. groundQuarters, gcol and the rest stay as they are.

Beyond the canons

What the wider literature adds

Two papers arrived after this review was first written. Between them they supplied the sentence the piece had never had about itself, and exposed a defect in a rule it displays.

A name for what the machine does the frame

Hane Htut Maung argues that composing a canon involves modal property perception — perceiving not only how a thing is but how it could be, a notion he takes from Jessie Munton’s work on vision. A skilled contrapuntist does not merely see the subject as notated; he sees the transformations it will tolerate. Maung likens it to a Tetris player seeing a piece already rotated into the gap.

That is almost exactly this machine’s interaction model, and it gives the piece its missing thesis: Bach perceived the combinations the reader has to search for, and the distance between those two is the subject. It is now the closing paragraph of the page’s front door.

Maung also states the machine’s argument independently. He works a small example: a rising scale admits imitation at the fourth below on the third beat, but not on the second, where it makes parallel fifths — so which settings survive depends on the shape of the subject. Arrived at from philosophy rather than from code.

And it answers the obvious objection. One could say trial and error is anachronistic — that Bach did not fumble through settings. Maung concedes exactly our case: because the eight notes of the ground were pre-given rather than freshly composed, he thinks composing BWV 1087 plausibly did involve post hoc experiment.

A word for what the machine is vocabulary

A canon whose subject admits more than one solution has been called a polymorphic canon since Ebenezer Prout in 1891. Robert Gauldin writes the interval of imitation as P and the temporal distance as T — which are precisely this machine’s two steppers, in a published notation. He also writes melodic intervals as signed diatonic steps, the same convention the whole pipeline runs on.

The best line in it is a footnote: three-voice settings can be computed with mod-7 algorithms, but the complexity makes it tedious. A theorist saying the calculation is well defined, done in degree space mod 7, and too tedious by hand. That is this project’s reason to exist, written by someone who had no machine. Gauldin also notes that Marpurg counted 392 realisations of a seven-bar Stölzel subject by hand, so enumerating a solution space is not a computational novelty imposed on the repertoire.

The consonance rule is wrong, in one place defect found

Rachel Wells Hall gives the two-part Baroque condition in scale steps: pitches may differ mod 7 by zero, two, four or five — but not by one, three or six. Allowed: unison, third, fifth, sixth. Forbidden: second, fourth, seventh. Maung lists the same dissonances requiring preparation.

The page’s rule counts the perfect fourth as consonant. Adding it takes the total across the nine canons from 429 collisions to 605 — a 41% increase. But it must not be added globally: eight canons are in three voices, where a supported fourth is ordinary. It matters in exactly one place — Variation 27, the only canon with no bass — where the count goes 35 to 54. The page now names the rule in force and gives that figure.

A false finding, caught by its own control. Variation 27 first appeared to be by far the most consonant canon at 14.3% against a mean near 29% — which invited a lovely reading about the bass-less canon being self-sufficient. It is an artifact: no bass means fewer notes to collide with. Re-scored follower-against-leader-only it is fourth of nine and unremarkable. The real outlier is Variation 24 at 6.1%.

Also from Crean, read in full. Wolff’s Bärenreiter edition is titled Vierzehn Kanons über die ersten acht Fundamentalnoten der Aria, and Bach’s own heading reads über die ersteren acht Fundamental-Noten vorheriger Arie. Bach called them fundamental notes. The term is not Williams’s coinage; it descends from Bach’s inscription — far stronger support for the legend change than anything else in this review.

Method

Only what can be shown

Three of the figures the piece relies on had been computed once and never committed. They were re-derived so anyone can run them.

Because the code was missing, nobody could examine how these numbers were arrived at. All three now have scripts in the repository. Two came out differently once the method was written down; one came out exactly as reported. The general lesson is worth more than any of the three numbers, and it is why each script prints its own sensitivity rather than a bare figure: with measurements like these, the definition is where the number comes from.

Three measurements, re-derived so they can be checked
As previously statedOn re-derivationWhat the measurement shows
Bach’s intervals rank 2nd–14th of 27 by consonance — never uniquely best artifact Least-dissonant available in all nine, by 2.6–12.5 points
The average variation shares about half the Aria’s downbeat bass notes held 51–58% depending on the reading
…and just two of the thirty share more than four in five wrong Two of twenty-seven, or one under the better definition
Parameters recovered blind, 8/9 rank-1, V18 needing octave folding reproduced Exactly that, including the V18 detail

“Of 27” was never a real denominator

Onset collisions compare pitch classes, so transposing an answer by an octave — seven diatonic degrees — cannot change a single collision. The 27 candidate shifts collapse to seven distinct outcomes, in groups of about four that score identically: in Variation 18, shifts −9, −2, +5 and +12 all give exactly 20 collisions. A rank out of 27 spreads seven real results across 27 slots, and position inside a tie-block is decided purely by enumeration order. An unstable tiebreak over redundant candidates would produce precisely the scattered range that got recorded.

Ranked over the seven real classes, Bach’s interval is the least-dissonant available in all nine canons — with one exception that appears only when the regional canons are scored properly. Variation 24’s two values are the same degree class, so its whole-movement figure was already right; Variation 27’s are classes 1 and 6, genuinely different. Scored region by region, its first three regions are best of seven and its fourth is second.

read this before quoting the above The leader is scored against its own leader and bass. A leader composed so its particular transposition works should score best at that transposition. This is evidence for “the leader is engineered for its interval” — not for “Bach picked a winning interval”. The informative quantity is the margin, not the rank.

The bass measurement validates itself

Read each of the thirty-two positions as the note the lowest voice holds longest and the Aria’s own bass comes back as G–F♯–E–D–B–C–D–G — the head motif exactly, the eight notes BWV 1087 is built on. Read it as whatever happens to be sounding on the downbeat and position seven returns E, because in that bar the Aria sounds E on the beat and reaches its D mid-bar as a half-note.

Even the Aria does not state its own fundamental bass on the downbeat — which is precisely Williams’s point about it being an abstraction, here measured rather than quoted. Control: the Aria da capo, the same music, scores thirty-two out of thirty-two. Three movements are excluded rather than guessed at — the French Overture, Variation 26 with its two metres, and the Quodlibet, written as eighteen measures for sixteen bars.

And a bug the review flushed out

Chasing why Variation 6’s cursor crawled through its shaded bars turned up the four-clock confusion twice more. The page inked by printed position rather than ground position; and the aligner thinned each pass to points whose printed position increased, which on a repeat with a lead-back bar runs backwards. Variation 6’s second pass kept seven warp points where it should have kept about fifty, and playback pinned the cursor inside two bars for twenty-three seconds while sixteen bars played. Both fixed; every DTW cost identical before and after, which is the control.

The through-line. Printed order is not a clock. That mistake has now cost this project three separate times — the original Variation 6 breakage, the aligner’s thinning filter, and the page’s ink engine.

Deliverable

Punch list

What this reading changed on the page, and what it left to do. Most of it is attribution: naming who established what.

  1. attribution done & deployed

    Credit the two regional readings

    The technical note presented Variations 24 and 27 as things the extraction found rather than as readings already in the literature. Both are established; Tepfer’s account of Variation 27 is sharper than the page’s, and says so now.

    Two findings came out of that search rather than out of the literature. Variation 24 answers at the octave below, above, above, below across four regions. Variation 27 answers a ninth above through its first half and a ninth below through its second. Neither is reproducible by any single rule, which is what the plate for each shows.
    Two variations refuse a single rule, and the search found both. Variation 24 answers at the octave below, above, above, below across four regions; Variation 27 answers a ninth above through its first half and a ninth below through its second. Neither is new. Variation 24’s alternating leadership is in the standard descriptions, and Dan Tepfer has written about both — his account of Variation 27 is sharper than this one, since he points out that its two halves apply the same degree transformations as the canons at the second and the seventh. What the search adds is arbitration: Tepfer gives Variation 24’s directions as below, above, above, below in one place and as the exact reverse in another, and the paired notes here settle it at −12, +12, +12, −12 semitones across the four regions. The plate for each shows why no single setting reproduces them.
  2. moderate · terminology done & deployed

    The legend calls it a ground bass

    The only place the page asserts the loose term without qualifying prose.

    the ground bass — 32 notes
    the fundamental bass — 32 positions

    Then add one clause to the paragraph beneath, after “…not the Aria’s tune.”:

    It is not an ostinato: at thirty-two bars it is far too long to circle the way a chaconne’s does, and Williams prints it as the fundamental bass for that reason.
  3. moderate · overstated claim done

    The Variation 3 note contradicts every published description

    In data/canons.json, the Variation 3 note field, and anywhere it surfaces.

    DISCOVERED in extraction: the comes voice sounds FIRST — it opens bar 1 with free material and only begins its echo after the dux enters in bar 2 (126/161 dux notes echoed at one bar’s delay). ‘The leader enters first’ is false for this canon as engraved.
    The canon is the usual way round — subject first, answer a bar later, 126 of 161 notes echoed. What is unusual is that the answering voice is already sounding before the subject arrives: it opens bar 1 with free material and only starts echoing once the leader has entered in bar 2. The part that will follow is heard first; the canon itself is not reversed.
  4. moderate · attribution done & deployed

    Add a linked bibliography to the page

    The page links its score, recording, licence and tools, but cites nothing for the musical claims. Now that several of those claims are established as belonging to named writers, a bibliography is what makes the attribution in item 1 checkable rather than merely stated.

    Add a <h3>Sources</h3> block at the end of the technical note, before the colophon, carrying the list below. Every entry a live link; publisher pages marked where they are paywalled.

  5. low · preventative standing guard

    Keep the caveat attached to the Tatlow number

    The 960 / 480:480 figure must never appear without the alla breve condition and Shepherd’s counter-test. It is not on the live page today; this is a guard against it arriving later. The 7.3% figure should not go public until someone confirms the page reference in Shepherd.

  6. opportunity · not a correction open

    Decide whether the ladder sorts by transformation

    The five-transformation collapse changes what the nine plates should be ordered by. Worth settling before the visual pass starts rather than after it.

  7. high · a stated rule that is wrong done & deployed

    The consonance rule counted the perfect fourth as consonant

    In strict two-part writing the fourth is a dissonance (Hall; Maung). Adding it globally would be wrong — eight canons are in three voices, where a supported fourth is ordinary. The page now names the rule in force and gives the one case where it bites: Variation 27, the only bass-less canon, 35 to 54.

  8. high · the piece had no thesis done & deployed

    Say what the machine is for

    The front door explained what the canons are and what the reader does, but never what the machine is for. It now closes on Maung: Bach could see what a line would do against itself, and this page hands you the same question and none of the ability.

  9. moderate · vocabulary open

    Adopt polymorphic canon and the P/T notation

    A canon admitting more than one solution has been called polymorphic since 1891, and the interval and delay of imitation are conventionally P and T — which are the two steppers. Using the existing terms costs nothing and connects the interface to a literature it currently sits outside.

  10. opportunity open

    Add a retrograde control

    Hall’s transformation algebra is R, I and their composite. The machine implements I and has no R — which is what BWV 1087’s first two canons are built on. This is the door to the fourteen canons.

  11. critical · found while chasing this review done & deployed

    The playback cursor read printed position, not the ground

    Variation 6’s cursor crawled through its shaded bars for twenty-three seconds. Two bugs, one on each side of the data: the page inked by printed quarter rather than ground position, and the aligner discarded any warp point whose printed position fell — which is every bar of a repeat that follows a lead-back. Its repeat passes went from 7 and 6 points to 51 and 56; every DTW cost identical.

Sources

Bibliography

Every link verified to resolve on 22 July 2026.

Scholarly books

Articles and theses

Editions

  • J. S. Bach, Vierzehn Kanons über die ersten acht Fundamentalnoten der Aria aus den “Goldberg-Variationen”, ed. Christoph Wolff (Kassel: Bärenreiter, 1976). The edition title — and Bach’s own heading in the Handexemplar, über die ersteren acht Fundamental-Noten vorheriger Arie — are where the term fundamental bass comes from. Not Williams’s coinage; Bach’s.

Analytical writing on the canons

Sources and materials the project uses

On the paywalled links. The JAMS article, the Chabora dissertation and Springer’s full text block automated requests and return 403 to a command-line fetch. They open normally in a browser. Their metadata was confirmed from publisher listing pages.

Literature review conducted 22 July 2026 for the Canon Machine, canon-machine.pages.dev. Twenty sources consulted, sixteen read directly. Measurements quoted from data/canons.json and data/notes/v*.json; the transformation classes in the figure are computed, not asserted. Set in Hoefler Text; the red, blue and ochre follow Oliver Byrne’s 1847 Euclid.

Companion file: research/canons-lit.md. The three re-derived analyses are tools/rank_intervals.py, tools/bass_fidelity.py and tools/recover_canon.py; each prints its own caveats and takes --json. Sources archived under research/sources/.