Syllabus
The plan of record of Music, Built: the standard every part meets, the devices, and every part chapter by chapter.
Goal: a music education in video, from the first lesson to the research frontier and into the industry. It aims to be as complete as a conservatory and a music-technology degree together, as technical as a graduate seminar, as practical as a working engineer's or arranger's knowledge, and as close to the frontier as primary sources allow. It is made to the standard of Computer Science, Built and renders on macOS and Linux. Each part runs 30–60 minutes and its content decides where in that range it lands. Sixty-eight parts come to about 50 hours.
The plan has the shape of several degrees laid end to end:
- Act I is a course in musical acoustics and psychoacoustics (Benade; Fletcher & Rossing; Hartmann; Moore; Sethares).
- Acts II and III are the undergraduate theory sequence, fundamentals through chromatic harmony, counterpoint, form and analysis (Aldwell & Schachter; Laitz; Fux; Gauldin; Caplin; Hepokoski & Darcy; Lerdahl & Jackendoff), with the ear-training sequence run inside every part (§1).
- Act IV is the music-history survey (Burkholder, Grout & Palisca; Taruskin), told as technical problems.
- Act V is post-tonal theory and the graduate course in mathematical music theory (Straus; Forte; Lewin; Cohn; Tymoczko; Toussaint; Amiot).
- Act VI is world music and ethnomusicology, jazz theory, and popular-music studies (Nettl; Agawu; Levine; Temperley; Ohriner).
- Act VII is the composer's and performer's training: orchestration (Adler), composition, performance science, media scoring (Collins; Lehman).
- Act VIII is the graduate course in music cognition (Huron; Patel; Krumhansl; Bregman; Deutsch).
- Act IX is the music-technology and audio-DSP core (Roads; Smith's four online books; Zölzer; Välimäki; Bilbao; Puckette).
- Act X is the industry curriculum of an audio-engineering or Tonmeister degree and a music-business programme: transducers, rooms, recording, mixing, mastering, coding, live sound, rights and money (Kuttruff; Beranek; Izhaki; Katz; Bosi & Goldberg; McCarthy; Passman; Krueger).
- Act XI is the graduate course in music information retrieval and generative modelling (Müller; Lerch; the ISMIR literature).
- The research tier runs through the whole series: every part closes its content with a Frontier chapter (§1.1), and Part 67 is about how each kind of music research is done.
§2.5 maps the series onto degree programmes and onto the jobs people do with them.
1. The standard every part meets
The standard is AI, Built's (../ai/SYLLABUS.md §1 and
../ai/LECTURE_GUIDE.md) with Computer Science, Built's additions
(../cs/SYLLABUS.md §1), plus the rules specific to a series that makes sound, marked (M).
A part is a story. It opens on a hook: a question, a failure, a famous night, a sound that should not be possible. It closes on the answer and on the question the next part takes up. Each part below states its story. A chapter that does not serve the story is cut, or moved to the part it serves. The stories are chosen so that a viewer who is not a student stays: a court case, a hoax, a prince with an abacus, a pianist who falters on take one.
A chapter is a lecture segment of 3–5 minutes, in this order:
- A motivating question, sound or failure.
- A definition card.
- The derivation on screen, every step, each with a margin reason.
- A computed experiment or a run of the thing we built, (M) heard as well as seen.
- A worked example or a pause-and-listen question.
- The takeaway, with a forward link.
Per part:
- An objectives card.
- Definition, theorem and algorithm cards; code from the repository is excerpted and highlighted as it runs.
- (M) The ear thread. Three to six pause-and-listen questions per part, graded in difficulty across the series the way an aural-skills sequence is: which is higher, which interval, which chord quality, which inversion, which cadence, which mode, where the modulation is, which microphone, which compressor setting, which bitrate. The answer is always shown as a picture after the pause. The part's interactive on the course site drills the same skill with fresh examples.
- (M) The Variation. One variation on the Tune (§2.2), 20–60 seconds, written with what the part taught, played in full near the end with its score and its ledger row.
- A problem set: 4–6 problems, about 90 s on screen, full solutions in the part's README. At least one is an ear problem (answered by listening to a file the lab renders), one is a build problem against Monochord ("add a fourth string to the piano model's unison and measure the double decay"), and one is a research problem (★).
- A reference card: textbooks, classic papers, frontier papers, and for repertoire the edition used.
- An In practice card in the outro: the jobs, tools and skills the part maps to.
- A Frontier chapter before the outro (§1.1).
The history thread.
- Every part opens with its era, lit on the timeline strip.
- Every idea is credited with its people and year, its dead ends included: the music of the spheres, the 22 equal shruti, the Telharmonium, quadraphonic sound, DAT, MQA.
- (M) Traditions outside the Western conservatory are taught from their own theory and their own scholars, with the terms of the tradition, and each such part is checked against primary sources and recent ethnomusicology in its frontier sweep. Variations written in a tradition's idiom are labelled as studies.
Frontier sweep. Before a part is written, its literature is checked against primary sources up to the writing date. Recent or uncertain facts this plan relies on are marked (verify) and must be checked before they go on screen. Industry facts (prices, loudness targets, royalty rates, product behaviour, court outcomes) are dated on screen ("as of …") and, for law, given with their jurisdiction.
Numbers are real. As in the other series: computed numbers come from the part's compute.py, cached under
.cache/musicN/; published numbers are cited; schematics are labelled schematic and made-up examples
illustrative. Narration that states a result is an f-string over the data and branches on the computed verdict.
CPU budget: ≤ 2 h per part by default, seeded and resumable; the named exceptions are listed per part.
(M) Sounds are real.
- Every sound is produced by Monochord in the part's
compute.py, seeded, cached as a 48 kHz float WAV under.cache/musicN/audio/, and addressed by name. A scene never synthesizes sound itself and never loads audio from outside the cache. - Every sound carries a label on screen when it first plays:
physical model,synthesized,rendered from the score (edition), orrecording (source, licence)for the few measured references the Library holds. - A claim about how a real instrument sounds is checked against a measured reference in
tests/music/(partial frequencies, inharmonicity, odd-even balance, spectral centroid, decay times), with tolerances. - No third-party recording is played as music, and no copyrighted composition is performed (§2.4).
- Levels are content. A demonstration of +6 dB is +6 dB in the master (§3). Sounds that are loud, harsh or piercing are announced on screen two seconds before they play, and nothing exceeds the series' peak ceiling.
(M) See what you hear.
- While a sound plays, a picture locked to it is on screen, drawn from the same sample buffer or the same event
list.
tools/dead_air.pygains the converse check: no sound over an empty or static screen. - Every argument made by ear is also made by eye (a difference signal, a measured curve, a count), so the film is followable on a phone speaker and with the sound off, and the subtitles describe each example.
- A demonstration that depends on the playback chain says so:
headphonesfor binaural and stereo effects,needs bassfor content below 100 Hz,your platform's codec appliesfor differences near transparency. The phone-speaker audition of §3 is run on every part.
Bilingual standard (subject to §9): as Computer Science, Built. The glossary MUSIC_ZH_GUIDE.md fixes
note names, solfège and terms (音程, 和弦, 对位, 十二平均律, 泛音, 混响, 响度, 采样定理, …); score text and code are not
translated.
Gates per part: tools/lecture_length.py (floor 30, ceiling 60; it must count listening windows, §3),
contact_sheet.py, dead_air.py in both directions, the audio gates of §3, collect_text.py --check,
check_narration.py, the part's tests/music/test_musicN_*.py, and tools/check_course.py music N.
1.1 The research tier
Every part ends its content with a Frontier chapter (4–8 minutes) at the level of a qualifying exam or a first-year graduate seminar. It does four things, as in Computer Science, Built:
- The limit. What is the best possible, and how close is the state of the art? Computed where we can: an oracle mask's separation score beside our separator's, the Gabor limit beside a listener's measured acuity, the entropy of a corpus beside a model's cross-entropy.
- What is open, stated precisely, with the current record and its date.
- Recent papers: two or three, with what each changed, checked in the frontier sweep.
- A research problem (★) in the problem set, with what is known, how one would attack it, and which module of Monochord is the place to start.
Each part's Frontier topic is given in §5. Part 67 collects the ★ problems into the map of open problems.
2. The devices
2.1 Monochord, the instrument we build
Monochord lives in explainer/music/monochord/. It is tested Python on numpy and scipy, with numba where a loop is
hot (it is already a dependency) and torch only for the neural layers of Act XI. Nothing in it imports manim, so
the labs can use all of it. Each layer is built in the part that teaches it and checked against something that does
not share its code.
| Layer | Module | Built in | Checked against |
|---|---|---|---|
| Strings, tubes, membranes, bars by finite differences; modal synthesis | physics/ |
1, 2, 7–9 | d'Alembert and Fourier solutions; Bessel zeros; energy conservation; Mersenne's laws |
| STFT, constant-Q, windows, resampling, filters | dsp/ |
3, 48, 49 | scipy.signal; Parseval; analytic transforms |
| Gammatone cochlea, loudness, masking, roughness, pitch models | ear/ |
4, 5, 45 | ISO 226 contours; published Plomp–Levelt and masking data; the missing-fundamental result |
| Pitch, intervals, tunings and temperaments, the tuning lattice | pitch.py, tuning.py |
6 | exact rational arithmetic; published cent tables |
| The score: spelled pitches, exact rational durations, voices; readers and writers; the engraver bridge | score/ |
10 | round trips through MusicXML/MEI and MIDI; published examples |
| Rhythm, meter, scales, chords, keys | theory/ |
11–15 | enumeration against Burnside counts; key finding against the Well-Tempered Clavier's titles |
| Counterpoint and voice-leading checkers, harmonizer, figured-bass realizer, canon solver, form and grammar tools | voices/ |
16–25 | brute force on small cases; Bach's chorales as held-out data |
| Sets, rows, the T/I and PLR groups, orbifolds, minimal voice leading, DFT of chords, Euclidean rhythms, tilings, temperaments as lattices | math/ |
28–33 | brute-force group tables; published set-class and row counts |
| Idiom modules: tala and tihai, maqam and jins in cents, gamelan cycles and interlocking, timelines, swing, changes | idioms/ |
34–40 | published measurements and treatises, cited per item |
| Instruments: plucked, struck and bowed strings, reeds, brass, flute, voice, percussion, bronze | instruments/ |
7–9, 36 | measured spectra and decay times from the Library's references |
| The performer: expressive timing, dynamics, vibrato, ensemble asynchrony | perform/ |
43 | published timing profiles; the phase-correction model's stability bounds |
| Oscillators, filters, envelopes, modulation, FM, grains, waveguides, samplers | synth/ |
51, 52 | alias levels measured; Bessel sideband amplitudes; analog prototypes' responses |
| Effects: EQ, delay, reverb, dynamics, distortion, pitch and time | fx/ |
49, 50 | scipy.signal; closed-form static curves; energy decay against Sabine |
| The sequencer and audio graph; MIDI files; a pattern language | seq/ |
53 | the MIDI specification's examples; bit-identical offline and block renders |
| Microphones, loudspeakers, rooms, spatial rendering | studio/ |
54, 55 | closed-box alignments; rectangular-room modes; Sabine and Eyring; a spherical-head model |
| The mixer, the mastering chain, loudness and true-peak meters | mix/, master/ |
56, 57 | pan-law power sums; ffmpeg's ebur128 readings to 0.1 LU |
| Codecs: a lossless coder, a perceptual MDCT codec, a residual vector quantizer | codec/ |
58 | bit-exact round trips; perfect reconstruction of the MDCT to machine precision |
| The PA: arrays, feedback loops, RF planning | live/ |
59 | closed-form array factors; the Nyquist criterion |
| The listeners: f0, onsets, transcription, beat, alignment, chords, structure, fingerprints, recommendation, separation | mir/ |
61–64 | Monochord's own ground truth; optional independent references in tests (librosa, mir_eval) |
| The generators: Markov models, a small transformer, a DDSP instrument, a token model | gen/ |
65, 66 | held-out likelihood; memorization tests; the analyzers of Acts II–III as critics |
Two properties make Monochord more than a prop. It supplies its own ground truth: a transcriber, a separator or a beat tracker is tested on audio whose score, stems and beat times are known exactly, as Statistics, Built tests methods on a World whose truth is known. It is the series' orchestra: every instrument heard in Part 68 was derived on screen.
2.2 The Tune and the Variations
The Tune is Ah! vous dirai-je, maman (anonymous, France; first published 1761 (verify)), known as Twinkle, Twinkle, Little Star, the alphabet song and Baa, Baa, Black Sheep, and the theme of Mozart's twelve variations K. 265 (1781–82). It was chosen because:
- nearly every viewer in every country can already sing it, so every transformation is audible as a change;
- it is in the public domain everywhere;
- it opens on a rising perfect fifth (the 3:2 of Part 1) and then walks down the scale from the fifth degree to the tonic, so it is an interval, a scale and a cadence in twelve bars;
- it is a rounded ternary form with a harmonization any first-year student can write and any later part can complicate;
- variation on it is a tradition (Mozart, Dohnányi, generations of piano students), which Part 26 meets head on.
The Variations (explainer.music.variations, .cache/music*/variations.json): each part adds one row.
| Row | Part | The Tune … |
|---|---|---|
| 1–9 | Act I | on one simulated string; on tuned bottles; built from partials; without fundamentals; in parallel intervals that are consonant only for a bent timbre; in eight temperaments; for plucked, struck and bowed strings; for winds and a voice; on bars and bells |
| 10–15 | Act II | in ten notations; in five meters; in every mode; in block chords and re-voiced; ornamented and inverted by a model of surprise; modulating round the circle |
| 16–22 | Act III | as a cantus firmus in five species; as a chorale; over ground basses; reharmonized chromatically; as a round, a crab canon and a fugue exposition; as a miniature sonata; reduced to its skeleton and regrown |
| 23–27 | Act IV | as chant, organum and isorhythmic motet; as a point of imitation; as a French overture and chaconne; as a Classical variation set beside Mozart's; as a nocturne and a Lied |
| 28–33 | Act V | in whole tones and octatonic ostinato; as a twelve-tone row; phased against itself and as a spectrum; as a walk on the Tonnetz; rerouted through chord space; as a tiling canon and in change ringing |
| 34–40 | Act VI | as alap and gat; in Rast, Bayati and Hijaz; as balungan with interlocking parts; emerging from an ensemble's inherent patterns; as a blues and a riff chart; as a bebop head; as a pop single that samples Variation 7 |
| 41–44 | Act VII | orchestrated eight ways; composed by generate-and-test; as written against as performed; as a film cue, a leitmotif and an adaptive game score |
| 45–47 | Act VIII | hidden inside another melody; with three engineered endings; after thirty generations of simulated oral transmission |
| 48–53 | Act IX | at one bit; in simulated rooms and through a phaser; sung, tuned and vocoded; on a modelled analog synthesizer; in FM and grains; as a tracker module and a tempo canon |
| 54–60 | Act X | through virtual microphones and loudspeakers; walked through four halls; recorded and mixed three ways; mastered loud and dynamic; at five bitrates with the discarded residue; from three places in an arena; with its royalty statement |
| 61–66 | Act XI | transcribed and re-rendered five times; followed by an accompanist; recognized from five noisy seconds; separated and recombined; continued by a transformer; rendered by a model trained on our own instruments |
| 67–68 | Coda | as a critical edition; then the suite |
Rules for the Variations:
- A variation is written by the series. Where a part builds a generator (Parts 16, 17, 42, 65, 66), the generator's output is shown with its seed and its rejected candidates, and any human edit is shown as a diff.
- A variation's quality claim is measured, not asserted: the counterpoint checker's verdict, the listener model's surprise curve, the loudness, the transcription error.
- The ledger keeps, for each row: the score, the audio, the key, tempo and duration, and the part's measurement.
- The full set goes on the course site with a player per part. Part 68 performs a suite chosen and ordered from it (10–12 minutes), not all sixty-seven.
2.3 The Chain, the timeline and the payoffs
explainer.music.chain: drawn on every chapter card with the part's links lit. The inner loop is mind → score → hands → instrument → air → ear → mind. The outer loop, lit from Act IX on, is microphone → console → master → codec → stream → loudspeaker. Act XI adds the return path, sound → machine → score, which closes the loop in Part 68.explainer.music.timeline: a strip on a compressed scale: 40,000 BCE, 3000 BCE, 500 BCE, 1000, 1600, 1750, 1900, 1950, 2000, 2030. Each part's milestones are added as it lands.- The bridge (
explainer.music.play_next_part) is every part's last screen from Part 12 on: the Chain lit with the part's links moves to the next part's, the act's parts sit as beads with the next one lighting, and the next part is announced by the scene it opens on (a place and a year, or what the viewer will be asked) and its question. The teaser names only what the next part's hook then shows. Then the part ends on music: after the narration, under the next part's title, the opening six seconds of its own Variation (bridge.signoff, cut bypartkit.signofffrom the Variation's clip and set 3 dB under an example), in a listening window whose picture is the strip, the label and a ring on the next part's bead that swells with the sound. Watched in order, the series' episode endings are the Tune changing, part by part. - Payoff cards ("where this comes back") link forward. Callbacks link to the other series instead of repeating
them: the FFT and dynamic programming in Computer Science, Built Parts 19 and 21, Shannon's theorems in its
Part 28, lock-free queues in its Part 33, the path tracer in its Part 51; Fourier analysis in Analysis, Built;
transformers and diffusion in AI, Built; meta-analysis, multiple testing and evaluation in Statistics, Built
(Part 67 uses
explainer.stats.kitdirectly); present values in Quant, Built (Part 60).
2.4 The Library, and what the series may play
explainer/music/library/ holds the series' sources. Each item has a manifest entry: what it is, where it came
from, its licence or public-domain basis with the jurisdictions considered, and the date it was checked. The
snapshot is committed when the licence allows, fetched by compute.py otherwise.
- Scores as data. Bach's four-part chorales and The Well-Tempered Clavier; Mozart's K. 265; Fux's examples; Josquin and Palestrina masses; Beethoven and Chopin piano works; Joplin's rags; public-domain folk-tune collections. Encodings are taken from open corpora whose licences permit it (verify each), or entered by the series.
- Measured references. Instrument samples that are free to use (the University of Iowa set (verify)), a
public HRTF set (MIT KEMAR (verify)), ISO 226 contours, published tunings (gamelans, maqam and raga
intonation studies), published timing profiles. These calibrate and test Monochord. They appear on screen as
measurements, labelled, and are credited in
docs/CREDITS.md.
The rights rule (M). The series plays only (a) its own renderings of compositions in the public domain in the jurisdictions recorded in the Library, (b) material written for the series, and (c) short measured references whose licence permits it. Works still in copyright (most jazz standards, almost all popular song, much twentieth-century concert music) are taught through their published analysis and corpus statistics, through harmonic and rhythmic skeletons in Roman numerals, and through original pastiche written by the series in the style. Parts 28–30 and 38–40 depend on this rule most. Each part's README lists every piece it renders with its Library entry, and the list is reviewed before the part is rendered. This is a production rule set conservatively; the owner confirms it in §9.
2.5 The degrees and the industry
| Programme | Acts and parts |
|---|---|
| BMus core: theory, aural skills, history | II, III, IV; the ear thread; 28–29; 41–43 |
| Acoustics and psychoacoustics | I; 45; 54–55 |
| Music technology / audio engineering (BSc, Tonmeister) | I; IX; X |
| Jazz and popular-music programmes | 11–15; 38–40; 56–57 |
| Ethnomusicology | 34–37; 47; 67 |
| Graduate theory and mathematical music theory | 22; 29; 31–33 |
| Music cognition (MSc/PhD) | 4–5; 14–15; 45–47; 67 |
| MIR and music AI (MSc/PhD) | 3; 61–66; 67 |
| Music business | 40; 60; 63 |
| Role | Where it is taught |
|---|---|
| Composer, arranger, orchestrator, songwriter | 16–22, 38–42 |
| Performer, conductor, teacher | the ear thread, 6, 11, 43 |
| Media composer, game audio designer | 44, 51–53 |
| Recording, mixing, mastering engineer; producer | 48–50, 54–58 |
| Live sound and systems engineer; acoustician | 2, 49, 54, 55, 59 |
| Audio DSP and plug-in developer | 3, 48–53, 58 |
| Instrument and loudspeaker designer | 7–9, 54 |
| MIR, recommender and generative-audio engineer | 61–66 |
| Musicologist, theorist, music psychologist | 22–37, 45–47, 67 |
| Label, publishing, rights and data roles | 60, 63 |
The course material follows videos/coursekit/: levels U (a first degree in music or music technology), M
(a master's or conservatory graduate course), D (doctoral research) and I (industry practice), four tracks
through the chapters, a lab and an interactive per part.
3. Sound: the pipeline
The repository's scenes have so far carried one kind of sound, narration (explainer/voiceover.py adds each line's
WAV to manim's file writer, and tools/build.py masters the stitched track). A series about music needs a second
layer with stricter requirements. This section is the specification; Phase 0 (§7) builds and tests it.
Clips. A clip is a named, cached array: 48 kHz, float32, mono or stereo, produced by the part's compute.py
through Monochord, with a sidecar of events (note onsets and offsets, beat times, section boundaries) in seconds.
load_clip("tune.var06.meantone") returns both.
SoundScene (explainer/music/sound.py, on VoiceoverScene):
self.sound(clip, gain_db=0)starts a clip at the current time, under or between narration.with self.listen(clip) as snd:opens a listening window: narration is silent, the clip plays, andsnd.wait_until("bar3")orsnd.at(event)times animations to the clip's events exactly asvo.wait_untiltimes them to words.- Visual instruments take the clip itself (
Spectrogram(clip),Staff(score).playhead(snd)), so picture and sound cannot drift. - Each scene writes a cue sheet (
<Scene>.cues.json: clip, start, gain, bus) beside its narration record.
Mixing and mastering. Today tools/build.py applies highpass=f=60 and two-pass loudnorm to the whole
soundtrack. That is right for a voice and wrong for music: the high-pass removes the fundamentals of a double
bass, a kick drum and the lowest two octaves of the piano. The series therefore gets its own profile:
- narration and music are kept on separate stems; the cue sheet lets
build.pymix the music stem itself, in stereo, at full resolution, instead of relying on manim's mixer (the pilot checks what manim'sadd_soundpreserves, and the preview path may still use it); - the high-pass applies to the narration stem only;
- loudness is anchored on the narration (the same −16 LUFS target), and the music stem's gain is fixed for the whole series, so relative levels between examples are the ones written in the code;
- a true-peak ceiling (−1.5 dBTP for every clip, −1.0 dBTP for the mixed film) is enforced on the music by a check, not by a limiter: a part that exceeds it fails the gate and is fixed at the source;
- the narration, and only the narration, passes a look-ahead limiter after its gain (found on Part 1's first narrated build: the voice has rare peaks some 20 dB above its loudness; limiting them moves its loudness by 0.1 LU);
- Part 57 explains this chain on screen and measures the series' own masters with the meter it builds.
Gates (tools/qa_sound.py, new):
- sync: a test scene flashes and clicks at known times; the offset measured from the rendered file is under one frame;
- overlap: no narration over a listening window; music under narration only where the cue says
underscore; - peaks and levels: the true-peak ceiling; no clip louder than the stated maximum above the narration level;
- silence: every cue has signal; every listening window has a moving picture;
- phone audition: each part's soundtrack is rendered through a band-limited mono filter (300 Hz–8 kHz) and
every example is tagged
survives,visual carries itorlabelled; - length:
tools/lecture_length.pycounts listening windows from the cue sheets.
What the viewer's chain does. Video platforms re-encode audio with a lossy codec (verify the current formats and bitrates when Part 58 is written). Demonstrations near the threshold of audibility (bit depth, dither, high bitrates, small level differences) are therefore shown as difference signals, amplified residues and measured curves, labelled as such; the course site carries the lossless files.
Notation. Manim has no music engraver. The plan is to keep scores in Monochord's own format and render them to SVG with an engraving library that tags every note, then import the SVG so that notes can be highlighted in time. Verovio (a Python wheel, no system install) and LilyPond are the candidates; the pilot of Phase 0 chooses, on three tests: the SVG imports into manim cleanly, each notehead can be addressed, and macOS and Linux agree.
The course site. Interactives make sound with the browser's Web Audio API, started by the reader's first
click, with no libraries and no network. This needs a small addition to the shared widget core and to
tools/check_widgets.js (§6). Labs may write a WAV next to their figure when run with --wav.
4. Visual instruments
Built in explainer/music/viz/ as they are first needed; each takes a clip, a score or both.
- Scope and Spectrum: waveform, partial bars with harmonic markers, phase.
- Spectrogram: scrolling, linear, mel or constant-Q, with a playhead and note overlays.
- String, Tube, Membrane: the simulated object in motion, slowed, with its mode shapes.
- Cochlea: the unrolled basilar membrane with its travelling wave and critical bands.
- Keyboard, Staff (engraved, with playhead and highlights), PianoRoll, Tablature.
- PitchClock and CircleOfFifths: the twelve hues; chords as polygons.
- TuningLattice: fifths against thirds, commas as short vectors.
- DissonanceCurve: roughness against interval for the timbre on screen.
- RhythmNecklace and MeterGrid: onsets on a circle; the metric hierarchy as dot columns.
- Tonnetz: the plane and the torus, with P, L and R as flips.
- ChordSpace: the Möbius strip of dyads and the prism of triads, with voice leadings as paths.
- KeyTorus: Krumhansl's map with a piece's path.
- FormArcs and SelfSimilarity: repetition as arcs and as a matrix.
- VoiceLeading: the four voices as coloured threads, errors flashing.
- SignalFlow: a live block diagram, levels moving on every wire.
- PoleZero: the z-plane beside the response it gives, draggable in the site's interactive.
- Meters: peak, RMS, LUFS, correlation, goniometer.
- Room: rays, image sources and the impulse response they build.
- PolarPlot and FieldMap: microphone patterns; the pressure field of a loudspeaker array.
- NextNote: a model's probability bars for the next note, with the surprise of what came.
- Ledger: the Variations, each a thumbnail score with its measurement.
Rules: one idea per frame, drawn big; the playhead always visible; the same sound shown in several pictures with the camera moving between them; derivations in place.
5. Part by part
Draft 1 gives each part its story, what it covers, what is built and heard, its Variation, its Frontier topic and its reading. Part 1 is written out chapter by chapter as the model; the other parts get their chapter lists (14–18 chapters each) when their act is opened, after the act's frontier sweep. Lengths in parentheses are targets.
Act I · Sound
Part 1 · One String (~45)
Story: The founding legend of music theory is false. Pythagoras is said to have heard consonances in a blacksmith's hammers and found their weights in the ratios 12:9:8:6; hammers do not behave that way, as Vincenzo Galilei showed by experiment in the 1580s. The monochord does: lengths in the ratio 2:1 give the octave, 3:2 the fifth. The part asks why a string has a pitch at all, finds the answer in the wave equation, and ends with the discovery that one string is already a chord.
- Hook: the hammers, and what happens when you actually weigh them. The Tune's first two notes, a fifth.
- The monochord: stopping the string at 1/2, 2/3, 3/4. Ratios of length, heard and drawn.
- What vibrates: tension, mass, length. Mersenne's laws (1636), verified on our string.
- A wave on a string: the travelling pulse, reflection at a fixed end, superposition.
- Deriving the wave equation from Newton's law on one small piece.
- d'Alembert's solution (1747): two travelling waves. The simulation and the formula, overlaid.
- Standing waves: two travelling waves make a mode. Nodes, and the harmonic touched on a guitar.
- The quarrel: Bernoulli says every motion is a sum of modes; Euler and d'Alembert object. Fourier settles it sixty years later (Part 3).
- The plucked string: its shape as a sum of modes, amplitudes falling as 1/n², and the harmonics missing at the plucking point.
- Sauveur (1701): the overtones are in the sound. One string, heard as a chord, partial by partial.
- Why the ratios: the octave shares every second partial, the fifth every third. A first, incomplete answer.
- Damping and stiffness: why real strings decay and are slightly sharp in their upper partials (paid off in Part 7).
- Monochord, the series' instrument, introduced; the Tune, the Variations and the Chain.
- Frontier: nonlinear strings (tension modulation, pitch glide, whirling); energy-conserving schemes.
- Variation 1: the Tune on one simulated string. Outro: problems, payoffs. What carries the sound to the ear?
Built and computed: a finite-difference string (numba), checked against d'Alembert and against the modal sum to a tolerance; Mersenne's three laws recovered by regression; pluck-position spectra. Heard and seen: the monochord's ratios; one mode at a time; the pluck moved along the string. In practice: instrument makers' string scaling; every physical-modelling synthesizer starts here. Reading: Mersenne, Harmonie universelle (1636); Fletcher & Rossing ch. 2; Benade; Bilbao, Numerical Sound Synthesis; Cohen, Quantifying Music.
Part 2 · Waves in Air (~35)
Story: In 1883 Krakatoa was heard nearly 5,000 km away and its pressure wave was recorded circling the globe. Sound is a pressure wave, and almost everything odd about it (bass that goes round corners, a bottle that hums one note, a siren that drops as it passes) follows from its wavelength.
- Hook: the Tune on six bottles; Krakatoa heard at Rodrigues four hours later; seven passages on the barographs.
- Sound needs air: Boyle's jar (1660); the monochord at a thousandth of an atmosphere; sound in helium, water, steel.
- What moves: a row of gas parcels; pressure and displacement; p = ρcu; how small audible motion is.
- The speed of sound: Newton's 15% error, Laplace's adiabatic correction, both run as simulations; temperature and the pitch of a pipe.
- How loud: intensity, the bel and the decibel; one string and ten; an ear question (3 dB or 6 dB).
- Spreading: the inverse-square law, simulated on a spherical ray; a string at 1, 2, 4, 8 m; a worked example.
- Round the corner: wavelength; a wall at 170 Hz and at 1,360 Hz; the loss against Maekawa's chart; the Tune behind the wall.
- Two sources: interference, Young's rule, a walk through the pattern; comb filtering between two loudspeakers.
- Air in a pipe: open and stopped pipes, simulated; the end correction; flute and clarinet; an ear question.
- A bottle: Helmholtz's resonator, the exact two-tube root and the simulation; filling it.
- Why a string needs a box: impedance; a step, air to water, a flare against a sudden opening.
- A source that moves: Doppler's formula derived; Buys Ballot's train; an ear question.
- Frontier: steepening against Fubini's solution; shock waves in trombones; thermoacoustics; Tonga 2022.
- Variation 2: the Tune on six bottles tuned by their filling. Outro: problems, payoffs. Can every sound be taken apart?
Covers: Boyle's bell in a vacuum; pressure and particle velocity; the speed of sound, Newton's 15% error and Laplace's adiabatic correction; intensity and the decibel; the inverse-square law; wavelengths from 17 m to 17 mm and diffraction; interference; standing waves in open and stopped tubes; the Helmholtz resonator; impedance; the Doppler effect. Built and computed: a chain of gas parcels, a 2-D finite-difference acoustic simulator and a variable-area tube; tube and bottle resonances against the formulas. Variation 2: the Tune on bottles tuned by their filling. Frontier: nonlinear propagation and the "brassy" trombone; thermoacoustics. Reading: Kinsler et al.; Pierce, Acoustics; Rossing, Moore & Wheeler.
Part 3 · The Spectrum (~40)
Story: In 1807 the Paris Academy declined to publish Fourier's claim that any function is a sum of sines. A square wave built on screen one harmonic at a time shows why they doubted and why he was right. Then a surprise: play one plucked note backwards, and its spectrum is unchanged while its sound is another instrument. Timbre is not only the spectrum.
- Hook: a square wave assembled from pure tones; Fourier, Lagrange and the Academy; three questions.
- A sum of sines: why sines; coefficients as averages; partial sums; Gibbs; the transform of a sound that happens once; an ear question.
- From a recipe to a machine: the DFT, the fast algorithm written out and timed, a pluck's spectrum; a worked example.
- What the ear does with it: Ohm's law, Helmholtz's resonators, a resonator bank on our string; Seebeck.
- The other half of the recipe: phase, heard at a low note and not at a high one.
- Time and frequency together: the spectrogram built column by column; how to read one; a gliding pitch.
- What a window costs: leakage, three windows against Harris's table, a weak tone revealed.
- The limit: one sound through two windows; counting cycles; Gabor's relation measured; tone bursts; an ear question.
- A ruler for music: constant Q; the Tune on both rulers.
- Sounds with no pitch: white, pink and brown noise; why noise spectra are averaged.
- More than the spectrum: one pluck forwards, backwards and without its attack; attack, brightness, flux.
- Frontier: reassignment; listeners who beat the uncertainty limit.
- Variation 3: the Tune assembled additively. Outro: problems, payoffs, and a tone with no fundamental.
Covers: Fourier series and transform; the DFT and the FFT; Ohm's acoustic law and Helmholtz's resonators; the
short-time transform; windows and leakage; the Gabor limit; constant-Q and wavelets; phase and when it is audible;
noise colors; attack, decay and spectral flux.
Built and computed: an FFT, STFT and constant-Q transform checked against numpy and scipy.signal; the
uncertainty product measured; a reassigned spectrogram.
Variation 3: the Tune assembled additively, more partials in every phrase.
Frontier: reassignment and superresolution; listeners who beat the Gabor limit (Oppenheim & Magnasco 2013).
Reading: Hartmann; Müller ch. 2; Smith, Mathematics of the DFT.
Part 4 · The Ear (~50)
Story: Békésy won the 1961 Nobel Prize for the travelling wave he saw in the cochleas of cadavers. The living ear is far more sensitive and so sharply tuned that it must contain an amplifier, as Gold argued in 1948; in 1978 Kemp put a microphone in an ear canal and recorded the ear making sound. The part follows a tone from the eardrum to a pitch, and finds a pitch that is not in the signal.
- Hook: two pure tones and the third that the ear adds; Kemp, Gold and Békésy; the plan.
- From air to water: the impedance mismatch; the middle ear as a transformer (a worked example); the ear canal as a stopped pipe.
- A wave that sorts: the cochlea unrolled; the travelling wave in a model and why it stops; seven octaves, equal distances (a worked example); Greenwood's map; hair cells.
- How fine is the ruler: Fletcher's experiment; the ERB formula (a worked example); beats, roughness, two tones (an ear question); a cochleagram; resolved and unresolved partials.
- How loud is loud: a sweep at constant pressure; the threshold; phons and the A weighting (an ear question); sones; a worked example (sixteen violins).
- What a loud sound hides: the masked threshold (a worked example and an ear question); upward spread; uses.
- A second clock: phase locking and volleys; where the clock stops; the smallest audible step (an ear question).
- The pitch that is not there: a note without its fundamental (an ear question); distortion ruled out; the autocorrelation model; a worked example; Schouten's shift; uses.
- Where pitch stops: the Tune above 5 kHz; the model's pitch strength and the piano's range.
- Two kinds of high: Shepard's scale (an ear question); chroma and height.
- The only pair you get: hair cells, the noise notch, a safe dose (a worked example); no sound.
- Frontier: outer hair cells as the amplifier; the cube-root law; the third tone with a guide; emissions; what is not known.
- Variation 4: the Tune without fundamentals, then without octaves. Outro: problems, payoffs, two pairs of strings.
Covers: the middle ear as an impedance match; the cochlea's place map; hair cells and the active process;
critical bands (ERB); loudness, phons, sones and the A weighting; masking; just-noticeable differences; place and
timing theories of pitch, phase locking and why the piano stops near 4 kHz; the missing fundamental and the shifted
residue; Shepard tones; noise-induced hearing loss and how to avoid it.
Built and computed: Monochord's ear (monochord/ear.py): a middle-ear transformer, a long-wave cochlea, a
gammatone bank and cochleagram, a threshold and masking model, an autocorrelation pitch model that predicts the
missing fundamental and Schouten's shift, a Hopf oscillator; masking patterns reused in Part 58.
Variation 4: the Tune with its fundamentals removed, still heard at pitch; then as Shepard tones.
Frontier: the cochlear amplifier; hidden hearing loss; music through cochlear implants; regeneration.
Reading: Moore, An Introduction to the Psychology of Hearing; Plack; Pickles.
Part 5 · Consonance (~50)
Story: Six answers in 2,500 years: number (Pythagoras), coinciding pulses (Galileo), the overtone series (Rameau), a formula (Euler), beats (Helmholtz), fusion (Stumpf). Then Plomp and Levelt (1965) measure it, Sethares shows that the consonant intervals move when the timbre does, and McDermott's team (2016) finds a society with no preference at all. The part computes each theory and lets the viewer hear where each fails.
- Hook: an exact octave that grinds and a wide one that is smooth; six answers; the plan.
- Number: the monochord's ratios; Euler's gradus (a worked example) for thirteen intervals; a fifth five cents wide (an ear question).
- Pulses that coincide: Galileo; three against two, sped up into a fifth; the same flaw, and why to keep the idea.
- Beats: the sum of two close tones; 1, 4 and 12 a second; tuning by beats (a worked example); roughness.
- Roughness, measured: Plomp and Levelt's curve and the critical band; two pure tones gliding apart (an ear question); a pure fifth and a pure tritone.
- A curve with no ratios in it: the partials of two notes; a fifth and a tritone (a worked example); the dissonance curve and its valleys; the curve heard.
- Bend the timbre: stretched partials move every valley; four sounds (an ear question); pianos, bells, gamelan.
- One note or two: fusion; the note inside 4:5:6 (an ear question); the fundamental bass; harmonicity from Part 4's pitch model; one tone to each ear.
- Major and minor: the same intervals (an ear question); 4:5:6 and 10:12:15; four triads; a map of all triads.
- What is learned: a history of the third; the Tsimane'; three layers.
- Frontier: a composite model; a quarter of a million judgments online; what is not known.
- Variation 5: the Tune in a bent timbre. Outro: problems, payoffs, and twelve fifths that do not close.
Covers: ratio theories (Pythagoras, Zarlino, Euler, Tenney); Galileo's coincidence theory; beats and roughness;
the critical band and the Plomp–Levelt curve; dissonance curves for harmonic and inharmonic timbres; harmonicity,
fusion and the fundamental bass; why major and minor triads differ though their intervals match; familiarity and
culture.
Built and computed: Monochord's consonance layer (monochord/consonance.py): Euler's gradus, beats, the
Plomp–Levelt curve in Sethares's form, dissonance curves whose minima fall on the just ratios, a timbre with
stretched partials for which a 2.1:1 "octave" is the smooth one, harmonicity from Part 4's pitch model, a
roughness map of all triads.
Variation 5: the Tune in a bent timbre, in parallel intervals that are consonant only for that timbre.
Frontier: composite models (Harrison & Pearce 2020); large online experiments on timbre and consonance (Marjieh
et al. 2024); what remains unexplained.
Reading: Helmholtz, On the Sensations of Tone; Sethares, Tuning, Timbre, Spectrum, Scale; McDermott et al.
(2016).
Part 6 · Tuning (~55)
Story: In 1584 Zhu Zaiyu, a prince of the Ming, computed the twelfth root of two to twenty-four decimal places on an abacus. He was solving a problem every keyboard has: twelve pure fifths overshoot seven octaves, so the circle does not close. A choir that sings pure chords round one common progression ends a fifth of a semitone flat. Every tuning system is a decision about where to hide the error.
- Hook: one progression four times in pure chords, sinking 86 cents; Zhu Zaiyu; the plan.
- The circle that will not close: twelve fifths and the Pythagorean comma; a worked example (no power of three is a power of two); Pythagorean tuning and its wolf.
- The other comma: four fifths against a pure third (an ear question); three thirds against an octave; just intonation as a lattice; its wolf.
- The comma pump: a worked example in exact fractions; four rounds; Benedetti.
- Pure thirds, and a wolf: quarter-comma meantone (a worked example); three tunings of one chord; the wolf (an ear question); split keys.
- Well tempered: Werckmeister III; the thirds of four tunings in every key; key character (an ear question); Bach.
- Equal: the twelfth root of two; an abacus and a guitar (a worked example); what it costs (an ear question); the beats a tuner counts (a worked example); three centuries to win.
- Why twelve: every equal division from 4 to 60; the continued fraction of log₂(3/2) (a worked example); five and seven; 19, 31 and 53.
- The piano's stretched octaves: stiff strings; a model of Railsback's curve.
- What players do: free instruments; a quartet's open strings; do choirs drift; the pitch of A.
- Frontier: adaptive tuning; Bach's title page; what is not known.
- Variation 6: the Tune in eight tunings. Outro: problems, payoffs, and a plucked string.
Covers: the Pythagorean and syntonic commas and the diesis; just intonation as a lattice; meantone and its wolf;
the well temperaments and key character; equal temperament (Zhu, Stevin), fret placement and tuning by beats;
continued fractions of log₂(3/2) and why 12, 41 and 53; 19 and 31 for thirds; the comma pump; the piano's stretched
octaves; how choirs and quartets adjust; concert pitch.
Built and computed: tuning.py in exact rationals, checked against Barbour's tables; beat rates a tuner counts;
the drift of a comma pump; a model of Railsback's curve.
Variation 6: the Tune in Pythagorean, quarter-comma meantone (a good key and the wolf key), Werckmeister III,
12, 19, 31 and 53 equal divisions.
Frontier: adaptive tuning; what tuning Bach meant (the 2005 hypothesis and its critics); temperaments as
lattices (Part 33).
Reading: Barbour; Duffin, How Equal Temperament Ruined Harmony; Sethares; Cho, The Discovery of Musical Equal
Temperament in China and Europe.
Part 7 · Strings, Hammers and Bows (~55)
Story: In blind tests published in 2012 and 2014, players in a hotel room and soloists in a concert hall preferred new violins to Stradivaris and could not tell which was which. So what makes a violin? The part builds a guitar, a piano and a violin from the string of Part 1 and finds where each instrument's character lives.
- Hook: four notes plucked, struck and bowed, all from one string; the blind tests; the plan.
- A string cannot be heard: why a string needs a body (an ear question); the body as a filter; a tap; loud or long.
- A plate, a hole and a box of air: the guitar's two-mass model (a worked example); the dip; the low E.
- A pluck in three lines: Karplus and Strong; the loop lap by lap; why it is a string; its pitch.
- The hammer: Cristofori; felt that stiffens; three touches (an ear question); the striking point (a worked example).
- A string that is also a bar: stiffness and sharp partials (a worked example; an ear question); living with it.
- Three strings for one note: loud or long (an ear question); Weinreich's coupled strings; the two-stage decay.
- Stick and slip: rosin; the string under the bow; Helmholtz's corner; the sawtooth on the bridge.
- How hard to press: speed, force and place (an ear question); Schelleng's diagram; nearer the bridge (a worked example); starting the note.
- The violin's box: the body's response; vibrato as a change of colour; the wolf.
- Frontier: the blind tests again; what nobody can do yet; instruments made of arithmetic.
- Variation 7: the Tune for a guitar, a piano and a violin. Outro: problems, payoffs, and the bow's loop in air.
Covers: why a string needs a body; the guitar's air and plate resonances; Karplus–Strong; the piano's hammer,
stiffness and inharmonicity, paired strings and the double decay; the bowed string's stick-slip, Helmholtz
motion, the Schelleng diagram and the wolf note; a violin's signature modes and bridge hill; vibrato.
Built and computed: instruments/strings.py: Karplus–Strong; a felt hammer on a stiff string; two strings on a
yielding bridge; a bowed string with friction that reproduces the Helmholtz corner and, in outline, Schelleng's
limits; guitar and violin bodies as banks of resonances; the two-mass guitar.
Variation 7: the Tune for plucked, struck and bowed strings, alone, in pairs and together.
Frontier: what violin measurements do and do not explain; rosin that warms; the measured Schelleng diagram;
hammer-felt hysteresis; real-time finite-difference instruments.
Reading: Fletcher & Rossing; Cremer; Woodhouse's papers on the bowed string; Weinreich (1977); Fritz et al.
(2012, 2014, 2017).
Part 8 · Pipes, Reeds and Voices (~55)
Story: A flute and a clarinet of the same length: the clarinet sounds an octave lower and its even harmonics are nearly missing. A singer in Tuva sings two notes at once. Both follow from one idea, a valve feeding a resonator, and the part ends with Monochord singing.
- Hook: two pipes of one length (an ear question); one voice, two notes; the plan.
- A column of air: open and closed ends; odd and whole series; the impedance of a pipe; the end correction; how long is a flute (a worked example).
- A valve that pressure closes: the reed's flow curve; one puff, four trips; a square wave; blowing harder (an ear question); why a third.
- Holes: a hole against a saw; where the holes go (a worked example); the register hole and the twelfth.
- Cones: a cone has every harmonic; the missing tip and the mouthpiece; cone or cylinder (an ear question).
- Lips and brass: a valve with its own frequency; what a bell and a mouthpiece do; the staircase and a call; the pedal note; three valves (a worked example).
- A jet and an edge: the flute's valve; overblowing; octave or twelfth (an ear question); the organ's stops.
- The voice, a source and a filter: the folds; the pulse; formants; a source through three filters.
- Vowels: a mouth at rest (a worked example); two tubes for ah and ee; the map of two formants; three vowels (an ear question).
- What singers do: ring (an ear question); a soprano's tuned resonance; overtone singing.
- Frontier: the folds, the player's own tract, shock waves in brass, the jet; instruments designed backwards.
- Variation 8: the Tune for five valves on five columns of air. Outro: problems, payoffs, and overtones that are not harmonics.
Covers: cylinders and cones; input impedance; the reed as a pressure-controlled valve and its threshold; tone
holes and register holes; brass lips, the bell and mouthpiece and the pedal note; valves; the flute's jet and
overblowing; the organ as additive synthesis; the voice: folds, source and filter, formants and vowels, the
singer's formant, a soprano's resonance tuning, overtone singing.
Built and computed: instruments/winds.py: bore impedances by transfer matrices and reflection functions; a
reed, a lip and a jet model on any bore; a source-filter voice; formants of tubes.
Variation 8: the Tune for a flute, a clarinet, a saxophone, a trumpet and a voice.
Frontier: vocal-fold models; the player's vocal tract; nonlinear propagation in brass; computed and printed
bores.
Reading: Benade; Fletcher & Rossing; Sundberg, The Science of the Singing Voice; McIntyre, Schumacher &
Woodhouse (1983).
Part 9 · Drums, Bars and Bells (~45)
Story: "Can one hear the shape of a drum?" Kac asked in 1966. In 1992 the answer came: no, and here are two different drums with identical spectra. Meanwhile instrument makers had solved the opposite problem for centuries: how to make a membrane or a bar, which nature tunes badly, sing in tune.
- Hook: a string and a drum on one note; Kac's question; the plan.
- A skin: its modes; the first interval of a drum (a worked example); where it is struck (an ear question).
- A drum with a note: the kettledrum's modes, bare, estimated and measured (an ear question); which octave.
- A patch of paste: Raman on the tabla; a loaded skin computed; bare and loaded.
- Bars: thickness over length squared (a worked example); a free bar's modes; the arch; plain or carved (an ear question); the tube beneath.
- Bells: the partials; the strike note as a missing fundamental; the minor third (an ear question); the major-third bell.
- Plates and sand: Chladni's figures; what the sand started.
- Gongs and cymbals: pitch that follows loudness; a crash.
- The steelpan: a dome tuned with a hammer.
- Hearing a shape: Weyl's law; the two drums of 1992, computed (an ear question); the answer.
- Frontier: hearing material, size and shape; design run backwards.
- Variation 9: the Tune on marimba, bells, steelpan and kettledrums. Outro: problems, payoffs, the end of Act I.
Covers: membrane modes and Bessel zeros; how air loading makes the timpani nearly harmonic, and how a loaded
skin does it for the tabla (Raman); bars and their undercut tuning; the bell's partials, its strike note and its
minor third; Chladni's figures; gongs and cymbals; the steelpan; Weyl's law and the isospectral drums.
Built and computed: instruments/percussion.py: a membrane solver for any polygon (the isospectral pair
computed), a loaded membrane, a beam solver for carved bars, modal synthesis.
Variation 9: the Tune on marimba, bells, steelpan and kettledrums.
Frontier: hearing material and size; which shapes can be heard; nonlinear plates and gongs; inverse design.
Reading: Rossing, Science of Percussion Instruments; Kac (1966); Gordon, Webb & Wolpert (1992).
Act II · Notes
Part 10 · Writing It Down (~45)
Story: A clay tablet from Ugarit, about 1400 BCE, holds the oldest notated song, and scholars disagree on how it goes. Around 1025 Guido of Arezzo claimed that with his lines a singer could learn in a year or two what had taken ten. Notation is a coordinate system, time against pitch, drawn three centuries before Oresme. The part asks what each system keeps and what it throws away.
- Hook: the tablet's first line, read two ways; Isidore: sounds cannot be written down; the plan.
- A reminder: neumes; three melodies that fit the same signs (an ear question); counting them; the first line.
- Guido's lines: the staff and its clefs; the staff as a graph; Ut queant laxis; the hidden half step.
- How long? Franco's shapes; perfect and imperfect time; a note read by its neighbours; dots and ties (a predict-pause); the rule for dots.
- Bars and scores: part books; the score and the bar line; a note cut at a bar line; what was added later.
- What to do: tablature and its count of fingerings, by dynamic programming; figured bass, realized twice.
- Numbers and characters: gongche; Rousseau and jianpu; guqin tablature; graphic scores.
- Holes and bytes: the piano roll; MIDI's bytes; what a key number forgets (an ear question: G♯ and A♭).
- The page as data: MusicXML and MEI; round trips; the table of what each notation keeps.
- How many bits? Files; 168 bits against 21 million; the page played exactly and played well (an ear question).
- Frontier: reading a page back, as a toy that a tilt breaks (an ear question); where the field stands.
- Variation 10: the Tune in ten notations, and a last phrase as none of them says. Outro: problems, payoffs.
Covers: neumes; the staff and the hexachord; mensural notation and the invention of written duration; barlines
and scores; tablature; figured bass; jianpu, gongche and guqin tablature; graphic scores; piano rolls; MIDI,
MusicXML and MEI; the bits in a score against the bits in its recording.
Built and computed: Monochord's score module (spelled pitches, exact durations; MusicXML, MEI, MIDI, ABC,
LilyPond and jianpu writers; MusicXML and MIDI readers; contours, tablature, figured bass, mensural lengths,
performance rules, a toy page reader), and the series' engraver (explainer/music/staff.py).
Variation 10: the Tune in ten notations, then what none of them recorded.
Frontier: optical music recognition; encoding standards; digital critical editions.
Reading: Kelly, Capturing Music; Gould, Behind Bars; Selfridge-Field (ed.), Beyond MIDI.
Part 11 · Rhythm and Meter (~50)
Story: Play identical clicks and listeners hear them in twos: tick, tock. Meter is something the listener adds. The part builds rhythm from a pulse, and ends by speeding a 3:2 polyrhythm up until it turns into a perfect fifth, the rhythm of Part 1's ratio.
- Hook: sixteen identical strokes, heard in pairs (an ear question) and measured; Bolton; the plan.
- A pulse: tempo; clicks from slow to fifty a second; the window of the beat; two tempos (an ear question).
- Meter: nested pulses and their weights; three-four and six-eight; a pulse finder taps the Tune.
- Accent: louder, longer, higher; which sound begins a pair (an ear question); Woodrow.
- Dividing the beat: twos, threes and fours; milliseconds (a predict-pause); simple and compound meters.
- Syncopation: Longuet-Higgins and Lee's index, worked; four rhythms; two to compare (an ear question); the arch.
- Three against two: hemiola; polyrhythm on a circle; four against three.
- Long beats and short: seven three ways; counting the meters of twos and threes; four dances.
- Swing: three ratios; the short note of 100 ms; what the page does not say.
- Where rhythm becomes pitch: three against two, sped up into a fifth (an ear question); intervals as polyrhythms.
- Frontier: the telephone game on rhythms, simulated; what fifteen countries showed; what is not known.
- Variation 11: the Tune in four, as a waltz, in five, in seven, swung, with a hemiola. Outro: problems, payoffs.
Covers: pulse, tempo and its limits; meter as nested periodicities; note values and tuplets; accent;
syncopation and how to measure it; hemiola; polyrhythm and polymeter; additive meters; swing; the rhythm–pitch
continuum.
Built and computed: the rhythm engine (monochord/rhythm.py: metric weights, a syncopation index, a pulse
finder, polyrhythms, compositions into twos and threes, swing, click trains, the telephone game); a kit of struck
things (instruments/drumkit.py); the pictures of rhythm (explainer/music/rhythmviz.py).
Variation 11: the Tune as a waltz, in five, in seven, swung, and with hemiola.
Frontier: rhythm priors across cultures (Jacoby and others, 2024); microtiming and groove.
Reading: London, Hearing in Time; Lerdahl & Jackendoff ch. 4; Sethares, Rhythm and Transforms.
Part 12 · Scales and Modes (~50)
Story: Why seven white keys and five black? Stack fifths and fold them into an octave: at 5, 7 and 12 notes the steps come in just two sizes. Those are the pentatonic, the diatonic and the chromatic. The part derives the scales most of the world uses from one construction, then counts every scale there could be.
- Hook: the white keys and the black keys; why seven and five; the plan.
- Stacking fifths: steps of two sizes at five, seven and twelve notes; the three stacks, heard.
- Three gaps: the theorem; where a stack has two sizes (a predict-pause); 17, 53 and Part 6's continued fraction.
- Seven notes, seven modes: the chain of fifths; brightness; all seven on C (an ear question); the Tune's blind spot.
- Why this scale: maximally even; two sizes of every interval; deep; a scale moved by a fifth.
- Minor's three forms: natural, harmonic, melodic; the leading note (an ear question).
- Fewer notes, and more: pentatonic, whole-tone, octatonic, blues; scales with two and three transpositions.
- A scale in two halves: tetrachords; the 72 melakartas.
- Other maps of the octave: Rast, slendro, Mayamalavagowla; what a scale leaves out.
- Every scale there is: Burnside's lemma, 352 shapes; the 66 with seven notes; three; one (an ear question).
- Frontier: the white keys against the other 65; seven equal steps (an ear question); four explanations.
- Variation 12: the Tune in ten scales. Outro: problems, payoffs.
Covers: generating scales by fifths and the three-gap theorem; maximal evenness, Myhill's property and the deep
scale; the seven modes ordered by brightness; minor's forms; pentatonic, whole-tone, octatonic and blues scales;
a first look at raga, maqam and slendro; necklaces counted with Burnside's lemma.
Built and computed: the scale module (monochord/scales.py); all 352 necklaces of twelve beads, classified; the
pictures of scales (explainer/music/scaleviz.py).
Variation 12: the Tune in all seven modes, then pentatonic, whole-tone and octatonic.
Frontier: why scales have five to seven unequal steps: the competing explanations.
Reading: Clough & Douthett (1991); Carey & Clampitt (1989); Tymoczko, A Geometry of Music ch. 4.
Part 13 · Intervals and Chords (~45)
Story: In 1722 Rameau made a radical claim: C–E–G and E–G–C are the same chord. Inversion, the root and the fundamental bass turned a thicket of intervals into a small vocabulary. The part builds chords, explains why the same third is clear in the treble and muddy in the bass, and draws Euler's Tonnetz for later.
- Hook: one chord in three positions; Rameau's claim; the same chord close and spread in the bass; the plan.
- Naming a distance: number and quality; thirteen intervals; the line of fifths; inversion; two tritones (an ear question).
- Three notes: four triads; Zarlino's 4 : 5 : 6; of nineteen shapes, the four with no neighbours (an ear question).
- The chords of a scale: three major, three minor, one diminished; Roman numerals; I, IV and V.
- Rameau's claim: positions and figures; the fundamental bass (a predict-pause); the weight of the bass (an ear question).
- Where the root comes from: the missing fundamental; Parncutt's model (a predict-pause); ambiguous chords; the ear model.
- Four notes, and more: five sevenths; the dominant's tritone resolves; 4 : 5 : 6 : 7 (an ear question); a thirteenth is the scale.
- Same chord, different sound: a third by register; critical bands; low-interval limits; 41 spacings of one chord.
- Which notes matter: doubling; the fifth can go, the third cannot; shells; the power chord under distortion.
- Writing a chord down: figured bass, Roman numerals, lead sheet, Nashville numbers; a symbol's grammar; two names.
- A map of chords: Euler's lattice; P, L and R; the cycle of six and the diesis; all twenty-four triads.
- Frontier: listeners against two models; a chord listener and its mistakes; from chords to Roman numerals.
- Variation 13: the Tune over I, IV and V in six voicings. Outro: problems, payoffs.
Covers: interval names and spelling on the line of fifths; interval classes; triads and sevenths; inversion and
figured bass; roots and virtual pitch; voicing, spacing and the critical band; doubling; chord symbols; the
Tonnetz (Euler 1739).
Built and computed: the chord module with a root finder (monochord/chords.py); the low-interval limit from
Part 5's model; chords and a grand staff in the engraver (explainer/music/staff.py); the pictures of chords
(explainer/music/chordviz.py).
Variation 13: the Tune in block triads, then re-voiced.
Frontier: models of chord perception; automatic harmonic analysis.
Reading: Rameau, Traité de l'harmonie; Parncutt, Harmony: A Psychoacoustical Approach; Laitz.
Part 14 · Melody (~50)
Story: Textbooks say a leap should be followed by a step back. In 2000 von Hippel and Huron showed that the "rule" is what any melody confined to a range does by chance: regression to the mean. The part separates what melodies do because of composers from what they do because of arithmetic, and builds a model that is surprised in the right places.
- Hook: the leap rule holds in 54 tunes; shuffled, they obey it more; the plan.
- The shape of a tune: two disguises (an ear question); contour, intervals, rhythm; one tune in two keys; contour codes.
- Small steps: every move counted; steps fall, fourths rise; one stream or two; notes at random against moves at random (an ear question).
- Room to sing: ranges; the narrowest and the widest tune; notes crowd the middle.
- The arch: the shapes of 275 phrases and their average; where the highest note comes.
- The rule that chance obeys: an urn; a die; a predict-pause; leaps by where they land; the method.
- Where notes want to go: gap-fill; momentum; leaps land on the chord; tendency tones; three endings (an ear question).
- Saying it twice: sequences; repeats counted; a tune against itself; the plan of a tune in letters.
- Question and answer: phrase lengths; long last notes; antecedent and consequent.
- How much news is in a note: bits; the guessing game; Zipf's law.
- A model that is surprised: counting what follows what; the Tune's surprise; the easiest and hardest tunes; melodies made up.
- Words and tune: four tones; Cantonese song; speech becoming song.
- Frontier: three predictors; expectation in listeners and brains; memory; which tunes stick.
- Variation 14: the Tune's first phrase eight ways. Outro: problems, payoffs.
Covers: contour; the predominance of steps; the arch; range and tessitura; gap-fill; tendency tones; motive and
sequence; phrase and breath; entropy and Zipf's law; n-gram and variable-order models of expectation; text and
tone.
Built and computed: an n-gram model on public-domain folk tunes (monochord/melody.py, on the corpus in
monochord/tunes.py); step and leap statistics; the regression argument run as a simulation and proved for a
die; the Tune's surprise curve; the pictures of melodies (explainer/music/melodyviz.py).
Variation 14: the Tune ornamented, inverted, and with its least and most expected continuations.
Frontier: IDyOM and neural predictors of expectation; memory for melody.
Reading: Huron, Sweet Anticipation; von Hippel & Huron (2000); Temperley, Music and Probability.
Part 15 · Key (~50)
Story: Play a scale, then one tone, and ask a listener how well it fits. Krumhansl's probe-tone profiles (1982) show the key is a hierarchy in the listener's head, and that it matches how often each note occurs in the music they grew up with. A key is learned statistics.
- Hook: four chords and a tone that fits; four chords and one that does not; the plan.
- The note that fits: the probe-tone profile and its four levels; the minor profile (an ear question).
- Where the ranking comes from: ratings against counts; a raga learned in minutes; how children acquire a key.
- Three jobs: resting and leaning notes; tonic, predominant, dominant; three progressions; the Tune harmonized.
- Four endings: authentic, half, plagal, deceptive; perfect and imperfect (an ear question).
- Finding the key: correlating with 24 profiles; the key finder hears the Tune.
- How well, and how fast: five methods on 648 tests; near misses; five notes.
- Which notes tell: scales containing a set of notes (a predict-pause); the rarest interval; the Tune's blind spot.
- A map of keys: the circle of fifths; signatures; near and far keys heard; the torus.
- Leaving home: the dominant of the dominant; pivot chords; visiting and moving (an ear question).
- Minor, and neither: parallel and relative; the borrowed dominant; a Dorian tune.
- Does it matter which key: one cadence in two keys; the characters of keys and unequal temperament.
- Frontier: hierarchies elsewhere; when major and minor began; what a listener stores.
- Variation 15: the Tune through twelve keys. Outro: problems, payoffs.
Covers: scale degrees and their qualities; tonic, dominant and predominant; cadences; the probe-tone experiment;
key finding (Krumhansl–Schmuckler, Temperley's Bayesian model); the torus of keys; relative and parallel keys;
tonicization and modulation.
Built and computed: a key finder (monochord/key.py) scored on the series' fifty-four tunes in all twelve keys
(the forty-eight preludes and fugues were not available to the build: no score files offline); the map of keys by
multidimensional scaling; a piece's path from key to key; the pictures of keys (explainer/music/keyviz.py).
Variation 15: the Tune modulating round the circle of fifths, ending on a deceptive cadence.
Frontier: tonal hierarchies in other traditions; when tonality emerged, read from corpora.
Reading: Krumhansl, Cognitive Foundations of Musical Pitch; Temperley, The Cognition of Basic Musical
Structures.
Act III · Voices
Part 16 · Two Voices (~55)
Story: Every harmony student is told that parallel fifths are forbidden. In the ninth century they were the rule. In 2001 Huron derived the textbook's rules from experiments on how hearing separates sounds into streams: the rules are instructions for keeping two voices audible as two. The part teaches Fux's species as engineering: it counts every line his rules allow, removes the rules one at a time, and measures what breaks.
- Hook: the Tune with a voice a fifth below it, and with a counterpoint above it; the forbidden rule; the plan.
- One voice, made thicker: the Musica enchiriadis; simple and composite organum; parallel, oblique and free organum heard and measured; the timeline to 1500.
- When two notes become one: Stumpf's fusion; shared harmonics, 1/q; octaves or thirds (an ear question).
- Moving together: the four motions; common fate and pitch co-modulation; how often the rules choose contrary motion.
- Starting together: an octave, together and 35 ms apart (an ear question); how late is late; onsets by species.
- Fux's exercise: the Gradus; the cantus; twelve rules and what each protects; the best line; a line below.
- How many good lines: the funnel to 152; counting by hand (a worked example); the redundant rule; the Tune.
- Remove a rule: the damage, rule by rule; two broken lines (an ear question).
- Two notes against one: passing dissonance; second species heard.
- Four notes against one: neighbours and skips; third species heard.
- Held over: preparation, suspension, resolution; the same notes held over (an ear question); fourth species.
- Florid, and independent: fifth species; independence measured, organum to florid; Huron's six principles.
- Frontier: counterpoint by machine; corpus tests of the perceptual account; what makes a good line.
- Variation 16: the Tune as a cantus firmus. Outro: problems, payoffs.
Covers: organum (parallel, oblique, free); cantus firmus; the four motions; species one to five; passing tones,
neighbours and suspensions; counterpoint below the cantus; stream segregation, tonal fusion, pitch co-modulation
and onset synchrony; independence measured; Huron's derivation of the rules.
Built and computed: monochord/counterpoint.py: Fux's twelve rules as exact predicates; every first-species line
counted by dynamic programming and sampled uniformly; a checker; species two to five by randomized search; an
independence measure; rules removed one at a time and the damage measured on uniform samples. Bach's Inventions
are cited from Huron's corpus studies, not analysed here (no score files offline).
Variation 16: the Tune as cantus firmus, in organum and then through the five species.
Frontier: corpus tests of the perceptual account; counterpoint as constraint satisfaction; what makes one good
line better than another.
Reading: Fux, Gradus ad Parnassum (1725); Huron (2001); Jeppesen; Salzer & Schachter.
Part 17 · Four Voices (~55)
Story: Bach left some 370 four-part chorales, several tunes harmonized four or five different ways. They became the exercise book of every harmony class and, three centuries later, the first benchmark of music-generating machines. The part learns the craft from 364 of them as data, counts how often Bach breaks the rules, and builds a harmonizer to be judged against him on tunes it has never seen.
- Hook: the Passion Chorale alone, as Bach set it, and as a chord-chooser sets it; the plan.
- A book of chorales: C. P. E. Bach's edition; the data; one tune, two settings; one whole chorale.
- Four ranges: where each voice sings; spacing; which note is doubled.
- Every voice a line: steps and leaps by voice; the alto alone; the shortest way, measured.
- The rules for four: parallels between six pairs, the leading note, the seventh, spacing (each heard wrong and right).
- How often Bach breaks them: parallels counted, by pair and by beat; two heard; the other licences.
- Chords on the beat: labels; figured bass; the commonest chords in major and minor; what follows what.
- Where phrases end: cadences at the fermatas; three heard; the Picardy third.
- Between the beats: passing and neighbouring notes by voice; with and without them (an ear question).
- Harmonizing as search: the lattice; the Viterbi algorithm; the costs; the hook harmonized.
- Ours against Bach: a split by tune; the scores; ours or Bach's (an ear question).
- Where we lose: what the search does not know; passing notes by rule; the gap.
- Frontier: CHORAL, hidden Markov models, BachBot, DeepBach, Coconet; how to judge a style.
- Variation 17: the Tune as a chorale, chosen and corrected. Outro: problems, payoffs.
Covers: ranges, spacing and doubling; the voice-leading rules; cadences; non-chord tones; harmonization as search
over chords and voicings.
Built and computed: the chorales as data (monochord/chorales.py, 364 chorales derived from the music21
corpus encodings); monochord/fourpart.py: the rules for six pairs of voices, chord labels on the beat, a chord
model learned from Bach, a harmonizer (chords and voicings chosen together by the Viterbi algorithm), evaluation
against Bach on held-out tunes; rule violations in the chorales counted; a four-part choir from Part 8's voice
(instruments/choir.py); figured bass read off Bach's chords.
Variation 17: the Tune as a chorale, ours and the corrected one, with the corrections shown.
Frontier: DeepBach and Coconet; how to evaluate style.
Reading: Aldwell & Schachter; Kostka & Payne; Allan & Williams (2005).
Part 18 · Progressions (~50)
Story: In the conservatories of eighteenth-century Naples, orphans were trained into the most employable composers in Europe by memorizing bass patterns. Gjerdingen showed that the galant style is assembled from a few dozen such schemata. Harmony has a syntax, and the part measures it.
- Hook: Naples's conservatories; a partimento bass, alone and with the rule of the octave; the plan.
- Three jobs, in order: T, S, D and how often each follows each in Bach (an ear question).
- How roots move: root motion counted; forward and backward (an ear question); why the falling fifth.
- How predictable is harmony: the guessing game (a predict-pause); bits per chord on held-out chorales.
- The same step, again: the descending-fifths sequence heard; runs of fifths counted.
- When chords change: harmonic rhythm against the metre.
- Naples and the partimento: Campion, Durante, Fenaroli; the rule of the octave up and down, heard.
- Bach and the rule: his chords on stepwise basses against the rule's.
- Galant schemata: Riepel and Gjerdingen; eight schemata realized and heard.
- A phrase from parts: Do-Re-Mi, Prinner, Fonte, Monte, Ponte, cadence, heard.
- Where the schemata are: a detector on the chorales and the schemata's melodies in the tunes.
- Ground basses: four heard (an ear question); four centuries of grounds.
- Frontier: rock, Billboard and Beethoven corpora; a grammar of harmony; schemata as constructions.
- Variation 18: the Tune over three basses. Outro: problems, payoffs.
Covers: function and root motion; the descending-fifths sequence; harmonic rhythm; the rule of the octave;
partimento; the Romanesca, Prinner, Monte, Fonte and Ponte; ground basses from the Folia to the lament.
Built and computed: monochord/progression.py: functions and root motion counted in the chorales; the entropy of
harmony as the cross-entropy of n-gram chord models on chorales held out by tune; runs of fifths; harmonic rhythm;
the rule of the octave realized and compared with Bach; eight schemata realized; a schema detector with shuffled
controls; ground basses realized. Played on a plucked string over Part 7's soundboard. No galant corpus was
available offline, so the detector is run on the chorales and on the series' tunes, and the film says what that
can and cannot show.
Variation 18: the Tune over the Romanesca, the chromatic lament bass, and two pedals.
Frontier: corpus harmony at scale; schema learning.
Reading: Gjerdingen, Music in the Galant Style; Sanguinetti, The Art of Partimento; Laitz.
Part 19 · Chromatic Harmony (~55)
Story: Four notes at the opening of Tristan (1859) have been argued over for 160 years. They are the end of a road that starts with one borrowed leading tone. The part walks that road and shows that its trapdoors, the enharmonic modulations, exist only because of the temperament chosen in Part 6.
- Hook: the Tristan opening reduced and heard, twice; four readings; the plan.
- One borrowed leading note: V7 of V; a chain of applied dominants heard; how often Bach uses them.
- Borrowing from the minor: mixture in C major, heard.
- The Neapolitan: an ear question (iv6 or N6); the predominant a semitone above home.
- Augmented sixths: the pincer onto the dominant; Italian, French and German heard.
- The diminished seventh: the square on the clock; one chord resolved to four keys, heard.
- Enharmonic trapdoors: an ear question (which passage leaves C?); F♯ = G♭; doors to distant keys.
- The comma it hides: an ear question (pure or equal minor thirds against the octave); the diesis; meantone's split keys.
- Chromatic mediants: P, L and the hexatonic cycle, heard.
- The shortest way to any key: a pathfinder over 24 keys, with and without the doors.
- Measuring tension: Lerdahl's basic space and chord distance; three tension curves.
- Four readings of one chord: the Tristan chord again; its voice leading measured.
- Frontier: the voice-leading map of all triads; Weitzmann, Riemann, Cohn, Tymoczko; corpus chromaticism; film.
- Variation 19: the Tune with mixture, with the Neapolitan, through a trapdoor. Outro: problems, payoffs.
Covers: secondary dominants; mixture; the Neapolitan; augmented sixths; the diminished seventh's symmetry;
enharmonic reinterpretation and the comma it hides; chromatic mediants and neo-Riemannian transformations; altered
dominants; tonal ambiguity in the Tristan chord.
Built and computed: monochord/chromatic.py: applied dominants, mixture, the Neapolitan, augmented sixths and
the diminished seventh realized in four voices; applied-dominant beats counted in Bach's chorales; pure and equal
thirds against the octave; P, L, R and the hexatonic cycle; a pathfinder for the fewest modulation steps between
any two keys, with pivot chords and with enharmonic doors; Lerdahl's chord distance and tension curves; the least
voice leading between all triads. Played on Part 7's piano (and organ tones for the pure thirds).
Variation 19: the Tune with mixture and applied dominants; in minor with the Neapolitan; through a
diminished-seventh trapdoor into A♭.
Frontier: models of extended tonality; the Tristan chord's analyses compared.
Reading: Aldwell & Schachter; Lerdahl, Tonal Pitch Space; Cohn, Audacious Euphony; Tymoczko, A Geometry of
Music.
Part 20 · Canon and Fugue (~55)
Story: On 7 May 1747 Frederick the Great gave Bach a theme designed to resist counterpoint and asked for a fugue in six voices. Bach sent back the Musical Offering, with canons posed as riddles: one played backwards against itself, one that rises a tone each time round and never arrives. The part asks which melodies can be combined with themselves, and solves for them.
- Hook: Potsdam, the royal theme heard, the Musical Offering; the plan.
- Rounds: Frère Jacques in three voices, heard; why rounds work; every tune of the corpus ranked as a round.
- Canon at every interval: the Goldberg canons; a solver that counts canons exactly; three heard.
- Four forms of a line: an ear question (backwards or upside down?); the four forms heard; Klein's four-group.
- Invertible counterpoint: an ear question (which counter-line survives inversion?); the octave, tenth and twelfth.
- Slower, and in riddles: augmentation heard; mensuration canons; puzzle canons.
- The crab canon: counted from both ends; one on the Tune's head, heard; Hofstadter.
- A canon that never arrives: the Canon per tonos in Shepard tones; strange loops.
- Subject and answer: the fugue's parts; an ear question (real or tonal answer?); the tonal answer as a rule.
- An exposition, built: a countersubject by Viterbi search; three voices heard.
- Stretto: every stretto of the phrase; two and three entries heard; the corpus and the king's theme.
- The Art of Fugue: one subject; B-A-C-H heard; the unfinished fugue.
- Frontier: computational fugue analysis; generation; recognizing transformed melodies.
- Variation 20: the Tune as a canon, a crab canon and an exposition. Outro: problems, payoffs.
Covers: rounds; canon at every interval; invertible counterpoint; inversion, retrograde, augmentation and the
group they form; mensuration and puzzle canons; the crab and the endlessly rising canon; the fugue: subject, real and
tonal answers, countersubject, episode, stretto, pedal; The Art of Fugue.
Built and computed: monochord/canon.py: line transformations and the four forms' table; a judge of lines sounding
together; rounds ranked over the corpus; canons counted exactly at every interval and sampled; crab canons counted
from both ends and sampled; invertible-counterpoint maps; real and tonal answers; a Viterbi free voice for
countersubjects; a stretto finder; the rising canon rendered with Shepard tones. No fugue scores were available
offline, so the stretto search runs on the Tune, the corpus and the royal theme (rhythm simplified), not on the
Well-Tempered Clavier, and the film says so.
Variation 20: the whole Tune as a canon at the fourth below, a crab canon on its head, and a three-voice exposition.
Frontier: automatic fugue analysis and generation.
Reading: Mann, The Study of Fugue; Gauldin; Hofstadter, Gödel, Escher, Bach.
Part 21 · Form (~50)
Story: Loop a spoken phrase a few times and it turns into song (Deutsch's illusion). Music repeats far more than any other art, and form is the plan of what returns. The part teaches the forms and then finds them from the audio alone.
- Hook: a spoken phrase looped ten times, heard; Deutsch; form as the plan of what returns; the plan.
- Phrase, period, sentence: Caplin; an ear question (which theme is the period?).
- Binary and ternary: the suite, rounded binary, the da capo aria, the minuet and trio; their pictures.
- Seeing repetition: the self-similarity matrix of the Tune, from notes and from sound, heard.
- Finding the seams: Foote's novelty curve on the Tune, heard; the kernel's width as the scale of form.
- Rondo and variation: an ear question (count the returns); rondo and variation pictures; Mozart's variations.
- Sonata: a drama of keys: a miniature sonata's plan and key path; sonata theory.
- Song forms: strophic, AABA, verse and chorus; the twelve-bar blues, heard.
- Form from sound: the segmenter on the sonata, heard; scores on every piece; what novelty cannot see.
- Why so much repetition: repeated figures in the tunes against shuffled ones; mere exposure; Margulis.
- The golden section, tested: the base rate of a hit; the sonata; the tunes' climaxes.
- Must the ending be home: an ear question (which piece ends where it began?); Cook; Karno and Konečni.
- Frontier: local and global structure in perception; SALAMI; long-range structure in generated music.
- Variation 21: the Tune as a miniature sonata. Outro: problems, payoffs.
Covers: motive, phrase, period and sentence; binary and ternary; rondo; variation; sonata form as a drama of
keys; song forms from strophic to verse-chorus and the twelve-bar blues; repetition; self-similarity; the
golden-section claims, tested.
Built and computed: monochord/form.py: chroma from notes and from sound, self-similarity matrices, Foote's
checkerboard novelty and peak picking, boundary scores, section labels, repetition of figures with shuffled controls,
the golden-section base rate; pieces composed on the Tune in every form of the part and rendered on Part 7's piano;
the segmenter scored on all of them. The "Library" of the plan is, for now, Part 14's corpus of tunes.
Variation 21: the Tune as a miniature sonata whose second theme is its own first phrase, inverted.
Frontier: do listeners hear large-scale tonal form? The experiments and the arguments.
Reading: Caplin, Classical Form; Hepokoski & Darcy; Margulis, On Repeat.
Part 22 · Analysis (~55)
Story: Schenker claimed that every tonal masterpiece elaborates one stepwise descent to the tonic. The Tune does it on its surface: it climbs to the fifth and walks down. The part takes the claim seriously as a theory, states it as a grammar, parses with it, and reports what the grammar explains, what it cannot, and why the theory and its author are argued over.
- Hook: the Tune and its time-span reduction, level by level, heard; Schenker; the plan.
- Reduction and prolongation: passing, neighbour, arpeggiation; an ear question (which skeleton fits?).
- The Ursatz: line and bass; an ear question (which bass makes the descent close?); descents at the ends of tunes.
- Grouping and metre: GTTM's preference rules on the Tune; the metrical grid; computational GTTM.
- A time-span reduction: heads by a sum of preferences; the Tune's levels; prolongational reduction.
- Harmony as a grammar: Rohrmeier's core rules; trees; recursion.
- Parsing and ambiguity: CYK; Catalan growth of parses; what the grammar cannot parse.
- A grammar learned from Bach: inside-outside on the chorales; bits per chord against n-grams; what it learned.
- Growing a melody: the elaboration grammar; an ear question (which melody is the grammar's?); the copy rule.
- Other ways to analyse: expectation, topics, transformations, semiotics.
- A theory and its author: Schenker; the 2019–2020 argument; the positions.
- Is harmony recursive: tree depths of Bach's phrases; Koelsch's nested chorales; Part 21's limits.
- Frontier: grammars induced from data; jazz parsing.
- Variation 22: the Tune reduced and regrown. Outro: problems, payoffs.
Covers: reduction and prolongation; the Ursatz; Lerdahl and Jackendoff's grouping, meter and reductions as
preference rules; harmony as a context-free grammar; parsing and ambiguity; other approaches (implication,
semiotics, topics, transformations); the 2020 controversy.
Built and computed: monochord/grammar.py: a time-span reducer, grouping preference strengths, a melodic
elaboration grammar, a functional PCFG with inside-outside training, Viterbi parsing and parse counting, a latent PCFG
induced from data, n-gram baselines; trained and scored on Part 17's chorales cut at their fermatas (the "Library" of
the plan is, for now, the chorales and Part 14's tunes); the Tune's reduction played level by level.
Variation 22: the Tune reduced to its skeleton and regrown along a different derivation.
Frontier: grammars induced from data; whether harmony is recursive: the evidence.
Reading: Cadwallader & Gagné; Lerdahl & Jackendoff (1983); Rohrmeier (2011).
Act IV · A Thousand Years
Part 23 · Chant to Polyphony (~50)
Story: Paris, about 1200. Under the unfinished vault of Notre Dame, Pérotin stretches one syllable of chant for a minute beneath three dancing upper voices. To keep four singers together he needs something no one has had: a way to write rhythm. The part goes back to the chant, follows the voices as they multiply, and counts a century of the result.
- Hook: an organum on one held note in the manner of the quadrupla, heard; the problem of coordination; the plan.
- Chant and the eight modes: Ut queant laxis; finals, ranges, reciting tones; psalmody; an ear question (mode 1 or 2?); the theorists' rule as a classifier.
- Guido's hexachords: the letter to Michael; the gamut; mutation heard; solmization as a shortest path; the staff.
- Parallel organum: Musica enchiriadis; an ear question (which organum has the tritone?); the boundary rule and the occursus.
- Free and florid organum: Winchester, Micrologus, Ad organum faciendum; florid organum heard; discant and organum purum.
- The rhythmic modes: six patterns heard; perfections; the mode read from ligatures.
- Notre Dame: Anonymous IV, Léonin, Pérotin; a clausula heard; consonance on the beat; voice exchange.
- The motet: words under a clausula; a three-voice motet heard; Franco's shapes; Petrus de Cruce and the hocket.
- The Ars nova and mensuration: the quarrel; four mensurations heard; imperfection and alteration as a program.
- Isorhythm: color against talea heard; talea scans of de Vitry's motets; Vos qui admiramini sung from the edition.
- Machaut and the cadence: Machaut; an ear question (the double leading tone); sixth-to-octave cadences counted.
- A century, counted: 89 pieces; intervals on the beat; parallels and final chords against Bach; the Landini cadence heard and counted.
- The Ars subtilior: proportions heard; Cordier's heart and circle.
- Frontier: musica ficta counted; chant rhythm; computational chant studies.
- Variation 23: the Tune as chant, organum and isorhythmic motet. Outro: problems, payoffs.
Covers: chant and the eight modes; Guido's hexachord; parallel, free and florid organum; the rhythmic modes;
the motet; the Ars Nova and mensuration; isorhythm; Machaut; the Ars subtilior.
Built and computed: monochord/medieval.py: the modes and a classifier by final and range, psalm tones, the gamut
and solmization by fewest mutations, parallel organum and the Enchiriadis rule, florid organum, the rhythmic modes and
a ligature parser, Notre Dame organum on a held tenor, the mensurations and Franco's rules, an isorhythm engine (talea
against color, their periods and realignment) and a talea scan, a census of intervals, parallels, cadences and finals;
monochord/trecento.py: 89 fourteenth-century pieces from the music21 corpus's encodings of Polyphonic Music of the
Fourteenth Century; everything heard sung by Part 17's choir.
Variation 23: the Tune as chant, organum and an isorhythmic motet.
Frontier: computational chant studies; what the notation does not settle (musica ficta counted in the edition).
Reading: Hoppin, Medieval Music; Taruskin vol. 1; Kelly, Capturing Music.
Part 24 · The Renaissance (~50)
Story: Josquin des Prez was the first composer made famous by the printing press, and the press also put his name on other people's music. A large share of what once carried his name is now doubted. The part learns the style well enough to ask a statistical question: who wrote this?
- Hook: Forster's remark; the Kyrie of the Missa Papae Marcelli, heard; the plan.
- Thirds and sixths become consonant: the contenance angloise; fauxbourdon on the Tune; thirds, triads and final chords counted; two endings heard.
- Imitation as structure: points of imitation, one heard; how many movements open imitatively, at what interval.
- The Mass, three ways: cantus firmus, paraphrase, imitation; the corpus; Trent and the legend.
- Palestrina's style as rules: the dissonance treatments heard; 102,279 dissonances classified; an ear question (prepared or struck?).
- The line: melodic rules; one line heard; forbidden intervals and recovered leaps counted.
- Printing, and Josquin's name: Petrucci; Josquin; the first classics; two kinds of evidence.
- Who wrote this: features, centroids, leave-one-out; Palestrina against Monteverdi, and Monteverdi's books; an ear question (which is Palestrina?).
- The madrigal and word painting: a Monteverdi opening heard; madrigalisms.
- The second practice: Artusi; Cruda Amarilli heard with its free dissonances; the books counted; the reply.
- Zarlino's triad, Vicentino's thirty-one tones: an ear question (one chord, three tunings); meantone; the archicembalo.
- Chromaticism and ficta: Glarean's twelve modes; Gesualdo; a chromatic progression heard; unwritten accidentals.
- Frontier: attribution and ficta by machine.
- Variation 24: the Tune as a point of imitation. Outro: problems, payoffs.
Covers: thirds and sixths become consonant; imitation as structure; mass types; the madrigal and word painting;
Palestrina's style as rules; Petrucci (1501); Zarlino's just triad; musica ficta; Gesualdo; Vicentino's
thirty-one tones.
Built and computed: monochord/palestrina.py: a dissonance classifier (passing, neighbour, suspension, cambiata,
anticipation, free), melodic and sonority censuses, an imitation detector, twelve stylometric features with a
nearest-centroid leave-one-out test, triads in cents; monochord/renaissance.py: a Humdrum reader and the corpus
(Palestrina's 1,318 Mass movements, Monteverdi's 48 madrigals from Books 3 to 5, from the music21 corpus). The
attribution test is run on secure works of two composers and on one composer's books, not on Josquin (no Josquin corpus
was available offline), and the film says why the first comparison is the wrong one.
Variation 24: the Tune as a four-voice point of imitation.
Frontier: computational attribution; modelling ficta.
Reading: Atlas, Renaissance Music; Jeppesen; Rodin (ed.), the Josquin Research Project.
Part 25 · The Baroque (~50)
Story: Around 1600 a Bologna theorist attacked Monteverdi for a dissonance that broke the rules, and Monteverdi answered that the words required it. At the same time Vincenzo Galilei, the astronomer's father, was hanging weights on strings to argue for a new kind of song. Out of the quarrel came opera, the figured bass, and the major-minor system.
- Hook: Galilei's weights; an ear question (2:1 or 4:1?); Mersenne's law; the plan.
- A new kind of song: the Camerata; recitative and aria heard; the singer's graces; a top and a bottom.
- Opera: Euridice, Orfeo; a lament on a ground heard; Venice and the da capo aria.
- The figured bass: figures; three realizations heard; an ear question (Corelli or the realizer?); what the realization keeps; the partimento.
- Affect and ornament: the affections; ornaments and inequality heard; French and Italian taste; the tables.
- The suite: four dances; the Tune in four dance rhythms heard; the binary plan.
- Ritornello and concerto: Corelli, Vivaldi; a concerto movement heard; the ritornello finder; The Four Seasons.
- Temperament and the colour of keys: thirds of every key in three temperaments; the wolf heard; an ear question (C or F sharp?); equal temperament early; key characters; the Well-Tempered Clavier.
- From modes to keys: Palestrina's modes against Bach's keys; Heinichen's circle; Rameau; a fundamental bass heard.
- Bach, Handel, Rameau: three careers; Lascia ch'io pianga heard; others.
- Frontier: historical pitch heard; the instruments; tempo.
- Variation 25: the Tune as a French overture and a chaconne. Outro: problems, payoffs.
Covers: the two practices; monody, recitative and aria; basso continuo; the ritornello; the suite; affect;
ornament; the trio sonata and concerto; temperament and key character; Bach, Handel, Rameau.
Built and computed: monochord/baroque.py: Galilei's strings and Mersenne's law, figures worked out from upper parts
and re-realized by Part 10's realizer (on Corelli's Op. 3 No. 1 Grave, from the music21 corpus), a ritornello finder by
interval matching, key colours in any temperament, ornaments, inequality and overdotting; Palestrina's mode labels
against Bach's keys; a fundamental bass under a chorale.
Variation 25: the Tune as a French overture and as a chaconne with ornamented reprise.
Frontier: historical pitch and tempo: the evidence from instruments and treatises.
Reading: Bukofzer; Taruskin vol. 2; Donington.
Part 26 · The Classical Style (~50)
Story: In Vienna in the early 1780s Mozart wrote twelve variations on our Tune. The style he wrote in was built on shared expectations, so strong that Haydn could end a quartet with a joke about where the ending is; the part measures those expectations in thirty-three quartet movements by Haydn, Mozart and Beethoven, and asks whether a program can tell who is speaking.
- Hook: Mozart in Vienna; the Tune over plain Classical chords heard; the plan.
- A style of shared expectations: galant to Classical; the sensitive style; the schemata; K. 265; Haydn's joke; a public for music.
- Periodic phrasing: an ear question (which phrase is finished?); the period and the sentence heard; cadence gaps in the corpus.
- Sonata form on stage: Op. 74 No. 1's keys; its development heard; the second-key census; an ear question (exposition or recapitulation?); the rounded binary; the concerto; a drama of keys.
- The string quartet: the genre; the 'Hunt' heard, with who leads; first-violin shares; a minuet heard; Op. 33.
- The accompaniment: three figures heard; figures counted; storm and stress; the learned style.
- Haydn, Mozart, Beethoven: careers; measured; London; Beethoven's motive; the wrong-key finale heard; an ear question (which is Beethoven?); Figaro; Gluck.
- Who wrote this, fairly: the attribution test; two features plotted; the permutation null; why it is hard.
- The fortepiano and the metronome: a crescendo heard; Mannheim; the metronome; two pianos; period instruments; the marks debated.
- Frontier: style as probability; beyond the canon; the research problem.
- Variation 26: the Tune as a Classical set. Outro: problems, payoffs.
Covers: schemata in use; periodic phrasing; sonata form on stage; the quartet, symphony and concerto; Haydn's
economy; Mozart's ensembles; Beethoven's motives and expansions; the fortepiano; the metronome and Beethoven's
puzzling marks.
Built and computed: monochord/classical.py: authentic cadences and phrase gaps, who leads each bar, accompaniment
figures, eight style features, windowed tonal plans and second keys, on the music21 corpus's quartet movements; Part
24's leave-one-out attribution test with a permutation null. K. 265 is not in the corpus, and the tempo study's data
could not be obtained, so both are described rather than recomputed (the study is the research problem).
Variation 26: our own Classical set (Alberti bass, minore, adagio, finale).
Frontier: style as learned statistics; the Beethoven tempo debate.
Reading: Rosen, The Classical Style; Caplin; Gjerdingen.
Part 27 · The Romantic Century (~55)
Story: Between 1800 and 1870 the piano gained an iron frame, two octaves and several times the loudness, and the orchestra doubled. The music grew to fit, harmony was stretched until the key could barely hold, and the concert became a museum. The part measures the stretching.
- Hook: Schubert in 1827; Der Lindenbaum's prelude and first phrase heard; the plan.
- The piano grows: the double escapement, the iron frame, felt; documented compasses; every C heard, then the new ones; the Library's keyboard ranges; the parlour.
- The song and its piano: the Lied; Der Lindenbaum's keys; the piano's share of the notes; an ear question (major or minor?); song cycles.
- Small pieces, large feelings: the character piece; an ear question (which mazurka dances?); mazurka timing; Chopin and Poland.
- Stolen time: Mozart's letter; the phrase arch; strict, arched and stolen heard; performances measured.
- Music that tells a story: Berlioz's programme; the idée fixe in five guises heard; the winds counted; the treatise; Liszt and Hanslick.
- Wagner: Verdi and bel canto; the music drama; the Tristan chord heard; why it asks; the leitmotif; the century ends large; after Tristan.
- The stretching, measured: the measures; the Library by year; the trend with its interval; songs against instruments; an ear question (which is later?); caveats.
- Nations and their songs: national styles; Lift Every Voice and Sing and the Maple Leaf Rag heard; new worlds; whose music.
- The concert becomes a museum: the virtuoso, the conductor, the canon, who was heard, the first recordings.
- Frontier: symbolic and audio corpora; early recordings; the research problem.
- Variation 27: a nocturne, a Lied, a leitmotif. Outro: problems, payoffs.
Covers: the Lied; the character piece; programme music and the idée fixe; the leitmotif as a network; chromatic
expansion; nationalism and folk modes; virtuosity; the conductor; rubato; canon formation; the first recordings.
Built and computed: monochord/romantic.py: whole-score readers for MusicXML (chords, ties, transposing instruments)
and Humdrum (split spines), the Library (every dated piece in the music21 corpus from 1765 to 1924, beside the
collections of Parts 17 and 23 to 26: 827 pieces), chromaticism and tonal clarity window by window, the 1680–1900 trend
with a bootstrap interval and by genre, thematic transformation, Todd's phrase arch, the mazurka's beats; documented
keyboard compasses and the winds five symphonies call for (from the scores, in place of published rosters).
Variation 27: the Tune as a nocturne, as a Lied accompaniment, and as a transformed leitmotif.
Frontier: corpus studies of nineteenth-century harmony; performance style read from early recordings.
Reading: Taruskin vol. 3; Rosen, The Romantic Generation; Dahlhaus.
Act V · After Tonality
Part 28 · New Scales, New Rhythms (~50)
Story: At the 1889 Paris Exposition Debussy heard a Javanese gamelan and wrote that it made Western percussion sound like the noise of a country fair. Within twenty-five years composers had rebuilt music from other scales and other rhythms, and one première in 1913 became a legend of riot. The part enumerates the symmetric scales they used.
- Hook: Paris 1889; a gamelan texture of our own heard; the plan.
- A scale without a home: the whole-tone clock; an ear question (which has no half steps?); Scriabin's chord; Voiles; the pentatonic; slendro against the black keys heard; smaller steps.
- Every symmetric scale: 352 shapes; the 15 symmetric ones; Messiaen's first three modes heard; the hexatonic; why so few; Messiaen's modes.
- Chords that slide: planing; an ear question (which is planed?); planing after Debussy; the sunken cathedral.
- The octatonic: the scale; its four triads heard; scale, chord and ostinato heard; Rimsky-Korsakov and Stravinsky.
- Rhythm set loose: the Rite; an ear question (where is the downbeat?); why the ear gives up; changing metres; layered ostinatos heard.
- Bartók: fieldwork; additive rhythms heard; counted; the axis system; the golden section claimed; its null model.
- Two keys at once: bitonality; Ives; the Tune over F sharp heard; one key and two fitted; Paris between the wars.
- Messiaen: the Quartet; a palindrome heard; palindromes counted; an added value heard; more techniques.
- 1913, and after: not impressionism; the first night; the legend; after the Rite; others in the room.
- Frontier: the octatonic debate; fits by chance; sets as data; the research problem.
- Variation 28: whole-tone planing, an octatonic ostinato. Outro: problems, payoffs.
Covers: whole-tone, pentatonic and octatonic collections; planing; ostinato and displaced accents; polychords;
Bartók's fieldwork, symmetry and additive rhythm; Messiaen's modes of limited transposition and non-retrogradable
rhythms; the golden-section claims.
Built and computed: monochord/modern.py: every one of the 4,096 pitch-class sets examined (352 shapes, 15 with
limited transposition, each a union of cosets, Messiaen's seven among them); the exact chance that a k-note set fits an
octatonic, diatonic or whole-tone scale; one key against two fitted to a bitonal texture; additive rhythms (the Padovan
numbers) and palindromes counted; the golden section against a null model with landmarks and tolerance.
Variation 28: the Tune in whole-tone planing, then as an octatonic ostinato with moving accents.
Frontier: the octatonic debate; computational analysis of early modernism.
Rights: analysis and original pastiche where a work is in copyright (§2.4); every example in the film is ours.
Reading: Taruskin vol. 4; Antokoletz; Tymoczko (2002).
Part 29 · Twelve Tones (~50)
Story: In 1908 a soprano enters a string quartet singing "I feel the air of another planet", and the key dissolves. Schoenberg then spent a decade looking for a law to replace it. The part builds the mathematics that theorists later found underneath: sets, symmetries, and a theorem about hexachords that turns out to be a fact of crystallography.
- Hook: Vienna 1908; Schoenberg's Op. 19 No. 6 heard whole; the plan.
- Atonality, free: the emancipation of the dissonance; Op. 19 No. 2 heard; its pitch classes counted; the bell chords; Vienna's expressionism.
- Pitch-class sets: T and I on the clock; an ear question (transposition or inversion?); prime forms; operations as objects; the interval vector.
- Counting the chords: 224 by brute force; the twelve trichords heard; Burnside's lemma; Forte's names.
- Same intervals, different sets: the Z-related tetrachords heard; Z-pairs counted; the hexachord theorem; a hexachord and its complement heard; the proof.
- The row: the method; Schoenberg; the Op. 25 row heard; the matrix; an ear question (which is the inversion?); Webern's canon in inversion analysed; Webern; the canon heard.
- All-interval rows: Berg's row heard; rows and machines; 3,856 counted; the tritone theorem; Berg.
- Combinatoriality: the idea; a row and its partner heard; the six hexachords; Webern's symmetries; Babbitt.
- Total serialism: serialize everything; twelve points heard; the reaction; the old masters turn serial; the cloud of points.
- Can anyone hear it?: an ear question (which line is a form?); what experiments found; Lerdahl's argument; rows on screen; evidence for the eye and the ear.
- Frontier: crystallography and homometry; others in the room; the Fourier view; the research problem.
- Variation 29: a row from the Tune's intervals, scattered in points. Outro: problems, payoffs.
Covers: free atonality; pitch-class sets under transposition and inversion; prime form; the interval vector;
Z-related sets; the hexachord theorem; rows and their forty-eight forms; invariance and combinatoriality; total
serialism; whether listeners can hear any of it.
Built and computed: monochord/atonal.py: prime forms and interval vectors; the 224 set classes by brute force and by
Burnside's lemma, checked against Forte's table; the 23 Z-pairs; the hexachord theorem checked on all 924 hexachords
and proved on screen; rows, their 48 forms and matrices; the 3,856 all-interval rows by search, with the tritone theorem;
the six all-combinatorial hexachords; Webern's Op. 16 No. 2 and Schoenberg's Op. 19 Nos. 2 and 6 read from the
music21 corpus (both now in the public domain) and heard.
Variation 29: the Tune's intervals as the source of a row; a pointillist variation.
Frontier: homometric sets; perception studies of serial music.
Reading: Straus, Introduction to Post-Tonal Theory; Forte (1973); Babbitt's essays.
Part 30 · Sound Itself (~55)
Story: 1948, a Paris radio studio: Pierre Schaeffer closes the groove of a disc of train noises and hears music. 1952: a pianist sits in silence for four minutes and thirty-three seconds. 1965: two tape loops of one preacher drift apart. After the war composers stopped arranging notes and started arranging sound, chance and process.
- Hook: Paris 1948; a closed groove of our own heard; the plan.
- Music from recordings: tape; the Tune at three speeds heard; an ear question (which bell is untouched?); the sound object; the room as instrument; tape elsewhere.
- Chance and silence: Cage; 4'33''; the Tune by dice heard; happenings and Fluxus; open works.
- The electronic studio: Cologne; Studie II's sine mixtures heard; studios elsewhere; Varèse; Columbia-Princeton.
- Xenakis: the engineer; a cloud of glissandi heard; an ear question (random or even?); Poisson's law; a thickening cloud heard; drawing sound; sieves heard.
- Sound masses: Penderecki and Ligeti; a cluster heard; its beats; cluster against open chord heard; writing a mass down; inside the sound.
- Process and phasing: Reich; a figure phased heard; its twelve alignments; speech becomes melody; minimalism; an additive figure heard.
- A spectrum, orchestrated: Grisey; an ear question (which is the ensemble?); the harmonics measured; the spectrum assembling heard; harmonics against keys; the name; after Grisey.
- The computer sings: the first computer music; a unit-generator patch heard; Daisy Bell; synthesizers reach the public; FM; what changed.
- Frontier: composing with machines; learned sound; listening to data; the research problem.
- Variation 30: phased, a cloud of glissandi, on a string's harmonics. Outro: problems, payoffs.
Covers: musique concrète; chance and indeterminacy; the electronic studio; Xenakis's stochastic music and
sieves; sound masses; minimalism and phasing; spectral music (a spectrum orchestrated); early computer music.
Built and computed: monochord/soundmass.py: tape operations (speed, reversal, loops, the cut attack); a phasing
engine and the twelve alignments a figure passes through; Poisson clouds checked against Poisson's law; sieves (the
diatonic by the Chinese remainder theorem, a non-octave scale of period 35); cluster beat rates; the spectrum of a brass
tone from Part 8's lips on a long bore, measured and orchestrated for piano, bowed strings and voice; Studie II's scale;
a unit-generator patch.
Variation 30: the Tune phased against itself; as a cloud of glissandi; as the spectrum of Part 1's string.
Frontier: computer-assisted composition; sonification.
Rights: every sound is the film's own (§2.4); the works are described.
Reading: Xenakis, Formalized Music; Reich, Writings on Music; Fineberg (ed.) on spectral music; Ross, The
Rest Is Noise.
Part 31 · Transformations (~50)
Story: A film score moves between two major chords that share no key and the audience feels wonder. Functional harmony has nothing to say about it. Lewin's idea (1987) does: stop naming chords and name the moves between them. The moves form a group, and the part computes it.
- Hook: a film-style progression of our own heard, each pair keeping one note; the plan.
- Naming the moves: P, L and R from C major (an ear question: which is P?) and from A minor, heard; a table of what each move does; Riemann's dualism; two-step moves heard; Lewin.
- Two groups, one duality: both groups of 24 by brute force, commuting and simply transitive; the commuting square heard; orders and P = R(LR)³, a dihedral group; distance; meaning.
- The Tonnetz: Euler's lattice; moves as flips; the torus; distances from C major (1, 3, 6, 8, 5, 1); a random walk heard; history; the comma that keeps the just lattice open, heard; isomorphic keyboards.
- Hexatonic and octatonic cycles: both heard; their scales; Cohn's systems; four and three families; Rimsky-Korsakov and Stravinsky; Weitzmann's region heard.
- The long chain: Beethoven's Ninth (Cohn); nineteen triads heard; an ear question (which chain stays in one key?); all 24; why; 62 tours, one heard.
- Wonder, and the uncanny: chromatic mediants; an ear question (the hexatonic pole); three trips from C heard; Lehman; scoring with moves; the Romantics.
- Thirds in jazz: Coltrane changes named; three keys on the Tonnetz; the skeleton heard in our voicing; seventh chords two semitones from C7, the tritone substitution and Tristan's move heard; beyond triads.
- Frontier: Krumhansl's ratings; PLR against voice-leading distance; other spaces; learned embeddings; an audit; the research problem.
- Variation 31: the Tune harmonized by a walk on the Tonnetz. Outro: problems, payoffs.
Covers: intervals as a group acting on a space; the T/I group on the twenty-four triads; P, L and R; the PLR
group and its duality with T/I; the dihedral relations; the Tonnetz as a torus and the comma that keeps the just
lattice open; hexatonic and octatonic cycles and systems; Weitzmann's region; the long chain in Beethoven's Ninth and
the Hamiltonian tours of the triads; chromatic mediants and the hexatonic pole in film; third-related cycles in jazz
(Part 39) and parsimonious seventh chords.
Built and computed: monochord/neoriemann.py: P, L, R and T/I on the 24 triads; both groups by closure, their
orders, commutation and simple transitivity; breadth-first distances and shortest words; cycles and their orbits;
orders of words; every Hamiltonian cycle of the PLR graph (62); Weitzmann's regions; voice leading for three and four
voices; dominant and half-diminished seventh neighbours; a dynamic-programming harmonizer on the Tonnetz.
Variation 31: the Tune harmonized by a walk on the Tonnetz: C, C, A minor, C, F, C, G, C.
Frontier: generalized Tonnetze and other spaces; how listeners judge distance between triads; learned chord
embeddings.
Rights: every sound is the film's own (§2.4); Beethoven's chain is heard as triads in our voicing; the Coltrane tune
and the film scores are named and analysed, not played.
Reading: Lewin (1987); Cohn, Audacious Euphony; Crans, Fiore & Satyendra (2009); Lehman, Hollywood Harmony.
Part 32 · The Geometry of Chords (~55)
Story: In 2006 Science published a paper on music theory: the space of two-note chords is a Möbius strip. In Tymoczko's geometry a voice leading is a path and its size is a length, and the familiar chords of Western music sit exactly where short paths connect them to their own transpositions. That is why harmony and counterpoint could be made to agree.
- Hook: crossing and bouncing voices (an ear question: they cannot be told apart); Science, 2006; the plan.
- Chords as points: the plane of voices; folding by octave and permutation; a short history; why fold.
- The Möbius strip: the 78 dyads; parallel, contrary and oblique motion heard; the edge; a first-species line as a path of shortest steps, heard.
- Three notes: the triangle of shapes; from a cluster to the augmented triad heard; major to minor by quarter-tones heard; the twisted prism; four notes; distances from C major.
- The size of a voice leading: an ear question (3 semitones against 15); three norms; chords of different sizes; the algorithm.
- Nearly even chords: evenness against the cheapest move to a transposition; three small moves heard; Chopin; why it matters.
- Scales are chords too: the 38 seven-note types by evenness; three keys heard; the circle of fifths measured; jazz; two levels.
- Five symmetries: OPTIC; a chord and its mirror heard; counts by brute force; names.
- Fourier: the transform of a set; six portraits; an ear question (the fifths chord); phases; history.
- How smooth is Bach?: Wachet auf heard and measured; all 364 chorales; an ear question (Bach's voices or shuffled); the parity theorem; limits.
- Frontier: what the geometry cannot see; the argument; rival geometries; other tunings; the research problem.
- Variation 32: the Tune by shortest paths, then rerouted through chromatic chords. Outro: problems, payoffs.
Covers: chords as unordered points; the orbifolds for two, three and four notes; voice-leading size and its
norms; near-evenness; the OPTIC symmetries; scales as chords and the circle of fifths as shortest paths; the
Fourier transform of a pitch-class set and what each coefficient hears.
Built and computed: monochord/geometry.py: minimal voice leading for chords of any equal size and tuning, in
three norms; the Möbius strip coordinates; the triangle of shapes; evenness and the cheapest move to a
transposition; OPTIC counts by brute force; DFT magnitudes and their champions; Bach's voice leadings against the
minimum with a shuffled control (17,339 changes; upper voices minimal 67 times in 100; the excess always even);
semitone paths between chords.
Variation 32: the Tune's harmony as a path of smallest voice leadings (16 semitones), then rerouted through
chords outside the key (18).
Frontier: Fourier approaches to harmony; what the geometry does not explain; whether voice-leading size predicts
perceived smoothness.
Rights: every sound is the film's own (§2.4); Bach's chorale is public domain, played from the corpus encoding;
Chopin's prelude is described, not played.
Reading: Tymoczko (2006) and A Geometry of Music; Callender, Quinn & Tymoczko (2008); Amiot, Music Through
Fourier Space.
Part 33 · The Mathematics of Rhythm and Scale (~55)
Story: An algorithm written to time pulses in a neutron accelerator turned out to generate the rhythms of Cuba, Ghana, Bulgaria and Persia: it is Euclid's algorithm. The same mathematics makes scales. The part follows it to a question about tiling the line that touches an open conjecture.
- Hook: the tresillo, cinquillo and bell pattern heard as necklaces; Bjorklund and Toussaint; Toussaint's work; the plan.
- Euclid's rhythms: Bjorklund's process step by step; why it is Euclid's; rotations; Toussaint's catalogue checked; an ear question (which five-in-eight is even?); all seven necklaces ranked.
- One shape, rhythm and scale: E(7,12) is the major scale, heard both ways; maximal evenness; three layers heard; the shape elsewhere.
- Stacks of fifths: two or three step sizes; the three-gap theorem; continued fractions and moments of symmetry; 5, 7 and 12 heard; the golden ratio and Fibonacci.
- Oddity and homometry: Arom's property and the pigeonhole bound; odd rhythms counted; an ear question (same intervals?); both properties; meaning.
- Tiling the line: a small canon heard; a Vuza canon at 72 found, verified and heard; the search; why 72; composers; Hajós.
- Pingala's syllables: the rhythms of five beats heard; Fibonacci; the meru; yamātārāja as a de Bruijn sequence heard; history.
- Change ringing: plain hunt on four and six (heard); Plain Bob Minimus, every order once, heard; bells and groups.
- Temperaments as linear maps: vals and commas; the finder; an ear question (which triad is just?); instruments; regular temperaments.
- A scale without octaves: Bohlen–Pierce heard on odd and all harmonics; why it works; since.
- Frontier: Fuglede's conjecture; Coven–Meyerowitz; open problems; the field; the research problem.
- Variation 33: the Tune as a Vuza canon, in plain hunt, in Bohlen–Pierce. Outro: problems, payoffs.
Covers: Euclidean rhythms and maximal evenness; well-formed scales and continued fractions; rhythmic oddity;
homometry; tiling canons and Vuza's aperiodic canons; de Bruijn sequences and Fibonacci numbers in Sanskrit
prosody; change ringing as walks on a Cayley graph; regular temperaments as linear maps with commas in the
kernel; the Bohlen–Pierce scale.
Built and computed: monochord/mathmusic.py: Bjorklund's generator and its stages; Toussaint's catalogue checked
as rotations; moment-of-symmetry sizes and convergents; oddity counts and homometric classes; tilings by exact cover,
with a Vuza canon at period 72 found and verified (1,296 tilings by its rhythm, 432 aperiodic); Pingala's counts, the
meru and a de Bruijn check of the mnemonic; plain hunt and Plain Bob Minimus (24 distinct rows); vals, commas and a
temperament finder whose records include 12, 19, 31 and 53; the Bohlen–Pierce step.
Variation 33: the Tune as the twelve voices of the Vuza canon; rung in plain hunt; in Bohlen–Pierce.
Frontier: tilings and the spectral conjecture; open problems in mathematical music theory; whether maximal
evenness is cultural or cognitive.
Rights: every sound is the film's own (§2.4); traditional rhythms are played as bare timelines and attributed.
Reading: Toussaint, The Geometry of Musical Rhythm; Amiot; Hall's and Benson's surveys.
Act VI · Many Musics
Part 34 · Raga and Tala (~55)
Story: Near the end of a solo the player launches a phrase three times, and musicians and audience land together on the first beat of the cycle. The tihai is arithmetic done in real time. The part learns the two systems behind it: raga, which is far more than a scale, and tala.
- Hook: Teentaal and a tihai heard; a note on the traditions; how to listen; the plan.
- The drone: its role; the curved bridge; one string with sharp and curved bridges heard; the drone retuned to Ma; the physics.
- Swara and shruti: seven swaras, twelve positions; the 22 shrutis; two Res a comma apart heard; an ear question (which Ga beats?); Sa and Pa fixed; intonation measured.
- More than a scale: what a raga is; an ear question (Bilawal or Yaman?); Bhupali heard; grammar; vadi and samvadi; time and mood.
- Gamaka: kinds; the space between the notes; plain and ornamented heard; a pitch histogram; the south; kampita heard.
- Thaats and melakartas: 10 of 32; one phrase in three thaats heard; the 72 generated; what thaats leave out; katapayadi.
- Tala: cycles; three thekas heard; tala is not the drum; Carnatic tala; Adi tala by hand heard; tempo.
- The tihai equation: the equation; a solver's table; an ear question (bedam or dumdar?); tihais of tihais; chakkardars counted.
- How a performance unfolds: alap, jor, jhala, gat; the alap; a jhala heard; the gat; time and audience; songs.
- Two traditions, and how they are taught: north and south; teacher and student; bols; instruments; today.
- Frontier: computing raga; limits; machines that play ragas; the research problem.
- Variation 34: the Tune as Bilawal: alap, gat, tihai. Outro: problems, payoffs.
Covers: the drone and the tanpura's buzzing bridge; swara and the shruti question, with measured intonation;
ascent, descent and characteristic phrases; gamaka; thaat and the seventy-two melakartas; alap, jor, jhala and
gat; tala cycles; the tihai equation; Hindustani and Carnatic practice; how it is taught.
Built and computed: monochord/raga.py: a tanpura string by finite differences with a one-sided curved bridge
(brightness more than doubled for the first third of a second); tabla strokes by modal synthesis; the 32 thaat
scales and the 72 melakartas generated and numbered; a tihai solver checked by counting strokes, and chakkardars;
gamaka contours and a pitch histogram.
Variation 34: a study: the Tune's scale as Bilawal, an alap over the drone, then a gat with a tihai.
Frontier: computational raga analysis; intonation studies; what listeners attend to.
Rights: every sound is the film's own model (§2.4); the phrases are ours, in the manner of the ragas named; the
traditions are described with their own terms and sources.
Reading: Jairazbhoy; Bor (ed.), The Raga Guide; Clayton, Time in Indian Music; the CompMusic studies.
Part 35 · Maqam (~50)
Story: Cairo, 1932: a congress meets to fix the Arab scale in equal quarter tones, and the measurements show that the best musicians play nothing of the kind. A thousand years earlier al-Fārābī had written the most advanced treatise on tuning in the world. The part learns a system whose notes lie between the piano's keys.
- Hook: an ear question (which third lies between?); the Cairo congress; where maqam lives; the plan.
- Ajnas: the jins and its Greek roots; eight ajnas heard; step sizes; one jins on three tonics heard; names.
- Maqamat and their paths: four maqamat heard; Rast's descent heard; Saba's missing octave heard; sayr; modulation; families.
- Neutral intervals: Zalzal's fret; the Greek inheritance; Ṣafī al-Dīn's 17; 24 and 53 against the old ratios; three neutral thirds heard; the West; why.
- Cairo, 1932: Mushāqa's grid; the congress; European ears; what musicians do (an illustration heard); the orchestra; after.
- Turkish makam in commas: Arel–Ezgi–Uzdilek; an ear question (Arabic or Turkish third?); Ottoman music; accidentals; theory and practice.
- The Persian dastgah: system; radif; koron and sori; a koron phrase heard; song and poetry.
- Rhythmic cycles: dum and tek; an ear question (which has ten beats?); maqsum and baladi heard; dance; spoken cycles; long cycles.
- Taqsim and modulation: the taqsim; Bayati to Saba heard; learning to improvise; Hijaz heard; tarab.
- The instruments: the oud; its tuning; the qanun's levers heard; the ney and ensemble; a ney-like tone heard.
- Frontier: measuring makam; standards; machines; fair study; the research problem.
- Variation 35: the Tune in Rast, Bayati and Hijaz after a taqsim. Outro: problems, payoffs.
Covers: al-Fārābī and Ṣafī al-Dīn's seventeen tones; the ajnas; the maqam families and their paths; neutral
intervals; modulation and the taqsim; Turkish theory in commas; the Persian dastgah; rhythmic cycles; the
instruments.
Built and computed: monochord/maqam.py: ajnas and maqamat in cents; medieval ratios against 24 and 53 equal
divisions (24 within five cents of the neutral ones, 53 within two of the just ones); Ṣafī al-Dīn's gamut by a chain
of fourths; Turkish Rast in commas (segah 385 cents); an oud tuned within a fraction of a cent; darbuka cycles.
Variation 35: a study: the Tune in Rast, Bayati and Hijaz with a taqsim opening.
Frontier: computational makam analysis; standardization and its critics; where musicians place neutral notes.
Rights: every sound is the film's own model (§2.4); the phrases are ours; the one illustration of placement uses
values of ours and says so.
Reading: Marcus; Touma; Farhat; Signell; Bozkurt et al.
Part 36 · Bronze and Silk (~55)
Story: In 1978 a tomb in Hubei, sealed in 433 BCE, gave up sixty-five bronze bells. Each sounds two notes, depending on where it is struck, and their inscriptions are a tuning treatise older than Aristoxenus. The part goes from those bells to the gamelan, an orchestra whose two halves are tuned apart on purpose so that the whole shimmers.
- Hook: an ear question (one bell, two notes?); the tomb; listening across traditions; the plan.
- The bells of Marquis Yi: why an almond section gives two notes; minor- and major-third bells heard; the set; a bell melody heard; inscriptions; two kinds of bell.
- Twelve pitches from a pipe: the rule of three; the pentatonic heard; the twelve lü and the comma; the lü heard; the yellow bell; the calendar.
- Jing Fang's sixty: closeness of chains of fifths; 12 and 53 heard; fifty-three elsewhere; after Jing Fang; Pythagorean against equal heard; Zhu Zaiyu's method.
- Five notes, five modes: the modes heard; a melody with and without bian tones heard; seven from five; opera; melody without semitones.
- The guqin: the instrument; the hui; harmonics heard; open strings heard; one pitch three ways heard; repertory; jianzipu.
- Heterophony and gagaku: heterophony heard; gagaku; sho-like clusters heard; Korea.
- Slendro and pelog: gamelan; scales heard; pelog subsets heard; the Tune in both heard; no standard; how a gamelan is tuned; spectrum and scale heard.
- Tuned apart on purpose: ombak; an ear question (which pair shimmers?); slow and fast heard; a beat by design; the West.
- The gong cycle and interlocking parts: colotomy; a lancaran heard; an ear question (one player or two?); irama heard; layers; a kebyar burst heard; worldwide.
- Frontier: bells as data; tunings as data; heritage; the research problem.
- Variation 36: the Tune in qin harmonics, then as balungan with interlocking parts. Outro: problems, payoffs.
Covers: the two-tone bell; generating the twelve lü; Jing Fang's sixty and the near-closing fifty-third; the
five modes; the guqin, its harmonics and its tablature; heterophony; gagaku; gamelan: slendro and pelog without a
standard, bronze spectra and their scales, paired tuning and beating, the gong cycle, interlocking parts.
Built and computed: monochord/bronze.py: a two-tone bell (designed mode families a third apart); the rule of
three and the lü; chains of fifths up to 60 (53 within 3.6 cents); the five modes; the hui as harmonic nodes; bar
spectra and dissonance curves (a uniform bar has no octave minimum); paired tuning by beat rate; a lancaran
renderer; an interlocking splitter.
Variation 36: a study: the Tune for qin harmonics (the worst 8 cents from equal temperament), then as balungan
with interlocking elaboration.
Frontier: the acoustics and archaeology of the bells; measured gamelan tunings; whether tunings fit spectra.
Rights: every sound is the film's own model (§2.4); melodies are ours; gamelan tunings are illustrative and say so.
Reading: von Falkenhausen, Suspended Music; Tenzer, Gamelan Gong Kebyar; Sumarsam; Sethares ch. 10.
Part 37 · Timelines (~40)
Story: One bell pattern, seven strokes in twelve pulses, is heard from Ghana to Cuba to Brazil. Written as steps it reads 2-2-1-2-2-2-1: the major scale, turned into time. The part studies musics organized around such timelines, and an instrument whose best-known melodies are played by no one: they form in the listener's ear.
- Hook: an ear question (where is the beat?); the pattern in four and in six, heard; where it is heard; the plan.
- The standard pattern: its steps and the major scale's; bell, scale and both heard; seven rotations, seven modes; Dorian and Aeolian heard; maximal evenness; a deep set (2 5 4 3 6 1); a caution.
- Measuring timelines: five measures; ten timelines measured; off-beat pulses drawn; four claves heard; centrality by swap distance; what the measures cannot say.
- An Ewe ensemble: the Ewe; six parts of ours; the parts entering, heard; a part is a relation; the lead drum; learning the parts.
- Three against two: four, six and three beats in twelve; four, six, both and the bell heard; hemiola; the debate over notation; two notations drawn; where is one?
- Interlocking and hocket: hocket; the Tune on two panpipes, heard; five single-pitch pipes, heard; Arom's method; why hocket.
- The mbira: the instrument; a clamped tine's partials, heard plain and buzzing; how it is played; kushaura and kutsinhira, heard; the bira; the mbira travels.
- Inherent patterns: Kubik and the amadinda; an ear question (which melody do the high notes make?); the streaming model; the same notes slowly, heard; what the model leaves out; composers who listened.
- The clave: tresillo, cinquillo and habanera heard; the tresillo travels; three-two and two-three heard; the anticipated bass; a son texture heard; son and salsa.
- Samba, and call and response: samba; a batucada of ours drawn and heard; two surdos in conversation; call and response; a call and response of ours heard; no seam.
- Frontier: non-isochronous subdivision; an ear question (which beat is divided unequally?); meter across cultures; the research problem; archives and ethics.
- Variation 37: the Tune as an inherent pattern of two mbira parts, then over the standard pattern on claves. Outro: problems, payoffs.
Covers: the standard pattern; Ewe ensemble parts; three against two as a generating idea; the debate over how
to write and count it; interlocking and hocket; the mbira and its inherent patterns; the clave; samba; call and
response.
Built and computed: monochord/timelines.py: evenness, Euclidean test, oddity and off-beatness for a table of
ten timelines; swap distances and centrality (son clave the most central of six, total 6); interval content (the
standard pattern's 2 5 4 3 6 1); rotations as modes; hocket by pitch sets; a clamped tine (1 : 6.27 : 17.55) with
buzz; a streaming model and interlocking parts designed so that a target melody is their high stream.
Variation 37: a study: the Tune emerging as an inherent pattern from two interlocking mbira parts (8 of its
notes in one part, 6 in the other); then over the standard pattern on claves.
Frontier: non-isochronous subdivision measured; meter across cultures; archives and ethics.
Rights: every part, pattern and melody played is ours; the timelines are the well-known ones, as commonly
transcribed (§2.4); every sound is the film's own model.
Reading: Agawu, Representing African Music; Locke; Berliner, The Soul of Mbira; Arom; Toussaint.
Part 38 · Blues and Swing (~35)
Story: "What is swing?" The proverbial answer is that if you have to ask you will never know. It can be measured: the long-short ratio falls from about three to one in a slow tempo to even in a fast one, and soloists place their downbeats late and their off-beats on time. The part builds the blues, ragtime and the swing band, and a model that swings.
- Hook: an ear question (how much longer is the long note?); the line straight; swing can be measured; the plan.
- The twelve-bar blues: origins; the form in C; one chorus heard; the quick change and a jazz blues; the seventh as home; a shared map.
- Blue notes: an ear question (which third is neither?); where blue notes live; a region, not a note; the blues scale; Kubik on origins.
- Call and response, the blues lyric: an AAB verse of ours; the verse with guitar answers heard; who answers; the singers; why AAB.
- Ragtime and stride: Joplin; Maple Leaf Rag's first strain heard; bars 1-4 hand by hand heard; the strain counted; the march form; stride.
- Swing, measured: the model and its short note; the ride pattern at three tempos heard; the studies; late downbeats heard; groove.
- The swing band: the era; the sections; a riff chart of ours heard; riffs and Kansas City; the arrangers.
- Walking bass and the ride: the rhythm section; the generator's rules; two choruses heard; the line counted; the bassists.
- Sevenths and guide tones: five seventh chords; guide tones through ii-V-I; guide tones heard; the jazz blues counted; voicings.
- ii-V-I, turnarounds and the tritone substitution: two-five-one; an ear question (which bass slides?); the shared tritone; three turnarounds heard; bebop.
- Frontier: microtiming argued over; random deviations heard; jazz as data; the research problem; credit.
- Variation 38: the Tune as a twelve-bar blues, a rag and a riff chart. Outro: problems, payoffs.
Covers: the twelve-bar form and its harmony; blue notes; call and response; ragtime and stride; the big band;
walking bass and ride pattern; seventh chords as the unit; guide tones; ii–V–I; turnarounds; the tritone
substitution.
Built and computed: monochord/blues.py: chord symbols and the twelve-bar forms; a swing model (3:1 at 120
beats a minute to 1:1 at 300, a line through Friberg and Sundström's trend, not a fit) and its short note (near
100 ms at fast tempos); a walking-bass generator and a guide-tone solver as shortest paths (every change approached
by a semitone; ii–V–I in 2 semitones); tritone substitutes; a syncopation count; Joplin rendered from the score
(46 of 85 right-hand attacks between the eighths in the first strain, against 3 of 45 in the left hand).
Variation 38: the Tune as a twelve-bar blues (thirds 35 cents below E), a rag (18 of 44 right-hand attacks
syncopated) and a riff chart (swung 2.7 to 1).
Frontier: microtiming studies of swing (Datseris and others, 2019; Nelias and others, 2022); jazz corpora.
Rights: Joplin is in the public domain and played from the score; every other line, riff and verse is ours;
later standards only by name (§2.4).
Reading: Kubik, Africa and the Blues; Berlin, Ragtime; Schuller, The Swing Era; Berliner, Thinking in
Jazz; Friberg & Sundström (2002); Benadon (2006).
Part 39 · Changes (~35)
Story: 5 May 1959. A pianist is handed a tune with twenty-six chords in sixteen bars, moving through three keys a major third apart at nearly three hundred beats a minute, and the tape rolls. The part explains why those changes are hard, shows them on the Tonnetz of Part 31, and builds an improviser.
- Hook: an ear question (how many keys?); the changes at the original tempo with the improviser; 5 May 1959; the plan.
- Bebop and the contrafact: the founders; contrafacts and rhythm changes; rhythm changes with the program's lines heard; the players; a shared language.
- The bebop scale: the problem; sixteen eighths over C7 both ways; both heard; the proof and the check; a general trick; teaching it.
- Enclosures and formulas: targets; three approaches drawn and heard; Owens and Norgaard; a figure in three keys heard; vocabulary.
- Chord scales: the idea; five chords with scales and avoid notes; the five heard; an ear question (which held note clashes?); Russell and Berklee; a critique.
- Modal jazz and quartal voicings: Kind of Blue; So What's form; a voicing in fourths; a modal vamp heard; after Kind of Blue.
- Third cycles: the tonics on the circle; the tonic triads on the Tonnetz; shared notes; Coltrane's substitute; both heard; a cycle with a history.
- Reharmonisation: the rule; a phrase three ways; the three heard; the art of it.
- An improviser: a phrase grammar; an ear question (improviser or random?); judged over fifty choruses; what it lacks.
- Free jazz, and what improvisers do: Ornette Coleman; after 1959; a toy duo that answers heard; Pressing; Johnson-Laird; conversation.
- Frontier: pattern mining; machine improvisers; the scanner; the research problem.
- Variation 39: the Tune as a bebop head, an improvised chorus, its opening through three keys a third apart. Outro: problems, payoffs.
Covers: bebop and the contrafact; the bebop scale and why it lands chord tones on the beat; enclosures and
formulas; chord-scale theory; modal jazz; third-related cycles; reharmonization; quartal voicings; free jazz;
what improvisers are doing, cognitively.
Built and computed: monochord/changes.py: the bebop-scale claim proved and checked for every dominant and sixth
chord (8 of 8 beats on chord tones; the plain mode 64% on average); chord scales and avoid notes; key centres
(Giant Steps' B, G, E♭) and shared notes (a fifth apart 6 of 7, a major third apart 3); Coltrane's substitute;
three reharmonisation schemes; an improviser (a phrase grammar constrained by chord scales and guide tones), judged
by the series' own measures against random lines (chord tones on 90% of beats against 57% and 34%).
Variation 39: the Tune as a bebop head with an improvised chorus (86% of beats on chord tones), then its opening
carried through C, A♭ and E over third-cycle changes.
Frontier: pattern mining in solo corpora; machine improvisers; improvisation in the scanner.
Rights: well-known tunes by their chord progressions only (§2.4); every line is ours or the program's.
Reading: Owens, Bebop; Berliner, Thinking in Jazz; Levine; the Weimar Jazz Database papers.
Part 40 · The Song (~35)
Story: The average introduction of a hit single shrank from about twenty seconds in the 1980s to about five by the 2010s. A stream that is skipped before thirty seconds pays nothing. The part follows the popular song from the thirty-two-bar standard to the loop and the drop, and finds its form shaped by each technology that sold it.
- Hook: an ear question (when does the voice enter?); the thirty-second rule; the plan.
- From AABA to verse and chorus: Tin Pan Alley; an AABA song heard; verse, pre-chorus and chorus heard; why the change; song factories.
- Loops and rock harmony: three loops; the three heard; the melodic-harmonic divorce counted; rock's scales; progressions and loops.
- Riffs: the riff; a rock riff heard; distortion as a curve; an ear question (triad or power chord?); a funk riff heard; a lineage.
- The backbeat and groove: the backbeat; five beats on the grid; the five heard; the one; sixteenth swing heard; disco to house.
- Hooks and prosody: hooks; prosody measured; setting words; the title; earworms.
- The drum machine: the 808; the kick as a struck resonator; three decays heard; the kick as a bass heard; six-square hats; the kit heard; after the 808.
- The break and the sampler: Kool Herc; a break chopped and re-sequenced heard; samplers; the law.
- Flow: rap and flow; a verse placed two ways; both heard; measured; rhyme; the writers.
- The build, the drop and the sidechain: the drop; a build and drop heard; the sidechain; an ear question (which pumps?); the producer's song.
- Frontier: Mauch and colleagues; Serrà and colleagues; platforms; what the charts leave out; the research problem.
- Variation 40: the Tune as a pop single, then a beat that samples Variation 7. Outro: problems, payoffs.
Covers: AABA and verse-chorus; loops and rock harmony; riffs; the backbeat and groove; hooks and prosody;
funk; disco to house; the breakbeat, sampling and the drum machine; flow; the drop and the sidechain; corpus
studies of sixty years of charts.
Built and computed: monochord/song.py: drum-machine voices from their circuits' principles (a struck-resonator
kick sagging from 81 to 52 Hz; six square waves at 205.3–800 Hz for the hats; noise claps); step patterns and
sixteenth-note swing; a sidechain (back within 1 dB after τ ln D); chopping and re-sequencing; prosody (the share of
syllables whose stress matches the beat) and a flow analyzer on an original verse (after Ohriner). Chart statistics
are quoted from the published studies rather than recomputed: the licences of the open chart annotations were not
cleared for redistribution.
Variation 40: the Tune as a pop single (the voice entering after 4.6 s), and as a beat that samples Variation 7
(sixteen slices, four rests).
Frontier: corpus studies; how short-video platforms may be changing form (open).
Rights: statistics quoted, skeletons, and original songs (§2.4); the only sample is the series' own.
Reading: Temperley, The Musical Language of Rock; Ohriner, Flow; Serrà et al. (2012); Mauch et al. (2015).
Act VII · The Craft
Part 41 · Orchestration (~50)
Story: Ravel called Boléro (1928) a piece for orchestra without music: one melody, eighteen times, only the instruments change. In one pass a horn, a celesta and two piccolos in different keys fuse into a single timbre that no instrument has. Ravel is doing additive synthesis with players.
- Hook: an ear question (one, two or four instruments?); Ravel's experiment; the plan.
- An orchestra from physical models: history; sixteen measured harmonics each; one C on eight instruments; an ear question (which is the clarinet?); the tour; the players; what is left out.
- Ranges, registers and transposition: the chart; registers; the clarinet model's two registers heard; transposing instruments; why.
- Loudness and brightness: an ear question (same level, which was blown hard?); why louder is brighter; a swell heard; dynamic range; balance.
- Sections and the chorus effect: the arithmetic of n players; one against eight heard; solo and tutti; the chorus effect; 1 to 16 violins heard; seating; sizes.
- Doubling, blend and balance: four doublings heard; power shares measured; masking; the octave heard; blend studies.
- Spacing: the harmonic series as a guide; three voicings heard; their roughness; registral layers; rules.
- Textures and the melody of timbres: four textures heard; the kinds; an orchestrator's order of work; a melody of timbres heard; Schoenberg and Webern.
- Ravel's harmonics: the series drawn; the combination built up, heard; tempered errors; mixture stops; Boléro's plan; its crescendo in miniature.
- Orchestration as search: the problem; non-negative least squares and subsets; the vowel target; errors by budget; a bell; the matches heard; IRCAM's tools.
- Frontier: timbre space; our orchestra mapped; timbre as identity; the treatises tested; machines; the research problem.
- Variation 41: the Tune in eight orchestrations, the last matched to a vowel. Outro: problems, payoffs.
Covers: ranges, registers and transposition; loudness and brightness; blend, doubling and balance; why a
section is not one loud player; spacing; textures; melody of timbres; orchestration as a search problem.
Built and computed: monochord/orchestra.py: spectra measured once on Parts 7–8's models (flute, clarinet,
saxophone, trumpet soft and loud, bowed string) and resynthesised additively; sections with detuning and onset
scatter (eight violins +10.6 dB, between the incoherent 9.0 and coherent 18.1); a fusion measure (Ravel's
combination: all its power within 20 cents of one series; tempered errors 0, −2.0, +13.7 cents); spacing roughness
(1.33, 0.96, 0.19); a solver (NNLS over 42 candidates, then subsets) matching a sung "ah" within 18.3, 10.7, 8.2 and
7.1 dB a band with one to four instruments, and a bell only within 31.5.
Variation 41: the Tune in eight orchestrations, the last matched to a vowel (7.1 dB a band with four instruments).
Frontier: timbre space and blend research; computer-aided orchestration (open: predicting blend and layering from
the score).
Reading: Adler; Rimsky-Korsakov; Berlioz; Grey (1977); McAdams et al. (1995); Sandell (1995); Lembke and McAdams.
Part 42 · Composing (~50)
Story: Beethoven's sketchbooks show the "Ode to Joy" being found over years, draft after rejected draft. In 1757 Kirnberger published a way to compose minuets with dice; in 1957 a computer in Illinois wrote a string quartet by generating notes and rejecting those that broke the rules. Composing is search under constraints, and the part builds a searcher.
- Hook: an ear question (which draft was kept?); Beethoven's search; the Ode to Joy's first two phrases heard and counted; the plan.
- The motive and its operations: a definition; eight operations heard; an ear question (upside down or backwards?); diatonic operations; motives that carry pieces.
- Developing variation: the sentence; a sentence of ours heard; what it is made of; Brahms the Progressive; unity and variety measured.
- Kinds of variation: theme and variations; the Tune varied four ways, heard; what each keeps; grounds.
- Planning tension: what makes tension; one motive, two plans; both heard; where the peak goes.
- Constraints as engines: the funnel counted; how; Stravinsky; constraints that made music.
- Dice games: Kirnberger and after; our table; two minuets heard; the count; what the dice favour; what the game is.
- Generate and test: Hiller and Isaacson; our rules; one run draw by draw; the line heard; 200 runs; the four experiments.
- Chains, grammars and evolution: Markov chains; an ear question (which remembers four?); copying measured; grammars; evolution; its best heard.
- A searcher with critics: the critics; the loop; 2,000 drafts and their rejections; rejected drafts heard; the climb; the kept draft heard; Cope.
- Frontier: Boden's three kinds; our programs in her terms; evaluation; co-creative tools; the research problem.
- Variation 42: composed by the searcher from the Tune's first four notes, shown with what it threw away. Outro: problems, payoffs.
Covers: the operations on a motive; developing variation; kinds of variation; planning tension and pacing;
constraints as engines; dice games; the Illiac Suite; grammars, automata and evolution; Cope's experiments;
what creativity might mean.
Built and computed: monochord/composer.py: diatonic operations and the shortest chain between two figures; exact
counts of melodies under growing rules (2,562,890,625 to 9,252 for eight notes, checked by brute force); a dice game of
ours (176 bars, about 1.6 × 10^13 distinct minuets, 41.0 bits); generate and test with backtracking (277 draws a
twelve-note line); Markov chains that copy more as they remember more (6.1 against 11.7 notes); a genetic algorithm;
a generate-and-test composer whose critics are Act III's rules, with its rejected drafts kept (2,000 drafts, 164
scored, draft 1,205 kept).
Variation 42: eight bars on the Tune's first four notes, composed by the searcher (draft 1,554 of 3,000), shown with
four of the 2,829 drafts it threw away.
Frontier: evaluating computational creativity (Boden, Ritchie, Jordanous, Pearce and Wiggins); co-creative tools
(open: measuring novelty and value separately).
Reading: Schoenberg, Fundamentals of Musical Composition; Hiller & Isaacson (1959); Boden.
Part 43 · Performing (~55)
Story: In 2007 a critic put a celebrated pianist's CD into a computer and the track database named another pianist. Over a hundred recordings released under Joyce Hatto's name were other people's, and timing analysis proved it: no two humans shape time the same way. The part asks what a performer adds to the notes, and measures it in milliseconds.
- Hook: an ear question (which two recordings are one?); the Hatto affair; the plan.
- What a performer adds: Seashore; written and performed, heard; the difference drawn; what a performer controls; Repp's Träumerei.
- Rules of expression: the KTH system; five rules alone, heard; how rules combine; three strengths, heard; limits.
- Slowing down: runners and ritardandi; the kinematic formula; three ritardandi heard; speech; music as motion.
- Loudness and articulation: loudness across the Tune; legato and staccato heard; legato measured; touch.
- Vibrato and intonation: an ear question (a vibrato's pitch); three rates heard; vibrato in practice; intonation in practice.
- Playing together: phase correction; an ear question (which duo has nobody listening?); the spread and its stability bound; early on purpose; what the model says.
- Quartets and conductors: Wing and colleagues; two model quartets, drawn and heard; the conductor; other ways to stay together.
- Who is playing?: a timing fingerprint; three tempo curves; the Hatto test on model pianists; performance history; caveats.
- Practice and the performer's body: deliberate practice; what practice explains; how to practise; memory and anxiety; the body.
- Frontier: performance as data; learned models of expression; machines that play along; the research problem.
- Variation 43: the Tune as written and as performed, the differences drawn. Outro: problems, payoffs.
Covers: expressive timing and its models; dynamics; articulation; vibrato; intonation in practice; ensemble
synchronization as phase correction; the conductor; practice and what the evidence says about it; memory and
anxiety; injury and hearing.
Built and computed: monochord/perform.py: five rules after the KTH system (phrase arch, duration contrast, high
loud, punctuation, final ritardando) with strengths and weights; Friberg and Sundberg's kinematic ritardando; a vibrato
tone heard at its mean pitch; linear phase correction for duos and quartets, with the duo's variance in closed form
(stable only for 0 < α₁ + α₂ < 2; best near 0.85 for our noise), checked against simulation; model pianists and a
Hatto-style identity test on tempo curves (a time-stretched copy 0.9999, a second take 0.988, others at most 0.90).
Variation 43: the Tune as written (28.8 s) and as performed (32.0 s), phrase ends up to 26% longer, the differences
drawn.
Frontier: learned models of expression (MAESTRO, ASAP, VirtuosoNet); machine accompaniment and ensemble coordination
(open: is an interpretation a measurable object?).
Reading: Gabrielsson's reviews; Friberg, Bresin & Sundberg (2006); Wing et al. (2014); Repp's studies.
Part 44 · Music for Picture and Play (~50)
Story: One animated scene, three scores, three different films. Then a problem film composers never had: in a game nobody knows how long the scene will last. The part works the arithmetic of hitting a cut on the beat and builds a score that rearranges itself.
- Hook: an ear-and-eye question (cut to picture, or 0.6 s late?); a short history; music for picture and play; the plan.
- What music does to an image: Boltz; one scene, three scores, heard; what film music does; Mickey-Mousing; source and score.
- Leitmotifs: Wagner to Hollywood; a motive in three moods, heard; what transformations keep; motives in games; motives on screen.
- Spotting and hit points: spotting; a cue sheet; an ear-and-eye question (early, in sync, late?); the tolerance of sync; click arithmetic.
- A tempo that hits three actions: the problem; the worst miss for every tempo; the beats heard under the scene; the rounding trap; other ways; a variable click heard; the temp track.
- Harmony on screen: Hollywood harmony; four progressions heard; why they work; genre codes.
- Music under dialogue: the voice first; ducking heard; the duck drawn; loudness standards; writing for the mix.
- Music for play: loops to systems; the techniques; a state machine; one change heard two ways; what makes it work.
- An adaptive score, played: a game and its score heard; what waiting costs; playtesting; responsive or musical.
- Music under hardware limits: chips; duty cycles heard; the noise channel heard; an ear question (one channel or three?); the Tune on the chip; after the chips; limits as a style.
- Frontier: generative and adaptive scoring; cognition; the research problem.
- Variation 44: the Tune as a cue, a leitmotif in three moods, and an adaptive loop. Outro: problems, payoffs.
Covers: what music does to an image; leitmotifs; spotting and hit points; click-track arithmetic; harmony and
affect on screen; mixing against dialogue; game music: resequencing, layering, transitions, stingers; chiptune
under three-channel limits; middleware.
Built and computed: monochord/screen.py: click arithmetic; a tempo finder over every tempo (two tempos between 70
and 160 hit our three hit points within a frame, 88.28 on beats 4, 11 and 16; the rounded 16-2 click drifts 1.6
frames; a variable click lands them exactly); ducking with the speech-band ratio (+6 dB for the voice); a simulated game
driving an adaptive score as a state machine, with transition delays of half a boundary on average over 200 games; a
sound chip of ours (pulse duty cycles and their missing harmonics, a 4-bit triangle, LFSR noise, arpeggio chords).
Variation 44: the Tune as a cue whose 14 beats land on a 9.0 s hit (98.8 bpm, a 14-5 click), as a leitmotif in
three moods, and as an adaptive loop.
Frontier: generative and adaptive scoring; the cognition of film music (open: transition rules and players).
Reading: Karlin & Wright, On the Track; Lehman, Hollywood Harmony; Collins, Game Sound.
Act VIII · The Mind
Part 45 · The Scene (~50)
Story: Send jumping notes to each ear and the listener hears two smooth scales, one on each side, which neither
ear was given (Deutsch, 1975; headphones). The ear receives one pressure wave and the mind returns a scene of
separate voices. The part builds the rules of that separation and shows the rules of Part 16 falling out of them.
- Hook: an ear question (the scale illusion, in stereo); each ear alone; one wave, a whole scene; the plan.
- Streaming: ABA- at four settings heard; a long ambiguous sequence heard; principles; other animals; build-up.
- A model of the boundary: van Noorden's boundaries; below the fission boundary heard; a competition model; the fit; neurons; limits.
- Melodies hidden in melodies: an ear question (name the hidden tune); Dowling; implied polyphony heard; Bach; hocket.
- Sounds at the same moment: the cues; a mistuned harmonic heard; an early harmonic heard; common fate heard; place heard; fate and place.
- What fills a gap: a glide through silence and noise heard; a melody behind noise heard; restoration; old plus new.
- Counterpoint as scene analysis: Huron; parallel and contrary duets heard; crossing scales heard; rules and principles; onsets; when rules relax.
- A timbre space of our instruments: thirteen heard; five measurements; the space; streaming by timbre heard; beyond the map; grouping.
- Pitch and its illusions: height and chroma; the octave-scrambled Tune heard; bells; an ear question (Shepard steps); Risset's glide heard; the tritone paradox.
- Absolute pitch and pitch memory: absolute pitch; two memory trials heard; everyday memory; relative pitch; tone languages.
- Frontier: networks as models of hearing; machines that separate; when scene analysis fails; the research problem.
- Variation 45: the Tune hidden in another line, then released by timbre and register. Outro: problems, payoffs.
Covers: sequential and simultaneous grouping; streaming and its boundary; continuity; timbre space; pitch
models; octave equivalence; absolute and relative pitch; pitch memory; the illusions.
Built and computed: monochord/scene.py: the scale illusion; a competition model of streaming (capture falling
exponentially in time and on the ERB scale, so the boundary is a straight line in the repetition time) fitted to points
read from van Noorden's coherence boundary with one constant (32.4 ERB-numbers a second, 0.28 semitone rms); interleaved
melodies and their crossings; mistuned, early, vibrating and displaced harmonics; the continuity illusion; Shepard tones
and Risset's glide; a timbre space of the series' own 13 instruments by MDS on five measured features (two axes, 37%
and 31%).
Variation 45: the Tune interleaved with a line crossing it 13 times and inaudible, then released by timbre and by
register.
Frontier: deep networks as models of auditory cortex; absolute pitch (open: do trained networks reproduce human
streaming boundaries?).
Reading: Bregman, Auditory Scene Analysis; Deutsch (ed.), The Psychology of Music; McAdams.
Part 46 · Expectation and Emotion (~50)
Story: In 2011 a PET study caught dopamine being released twice: at the moment of a musical chill, and in the seconds of anticipation before it. Meyer had argued in 1956 that musical emotion is expectation delayed and fulfilled. The part builds a listener model and engineers three endings for the Tune.
- Hook: an ear question (three endings: which surprised the listener most?); chills and dopamine; the plan.
- Expectation: Hanslick; Meyer; ITPRA; three kinds; dynamic expectation heard; what expectation leaves out.
- Statistical learning: Saffran; an ear question (a word or a part-word?); probe tones heard; a lifetime of counting; children.
- A listener model: how it works; two numbers per note; viewpoints; the Tune note by note heard; the listener sings; the corpus.
- Surprise across melodies: the comparison; Part 42's drafts heard; random and chain heard; evidence; the inverted U.
- Three endings: heard; priced in bits; a denial repeated; scale-degree qualia; devices of delay; a suspension heard.
- The brain at a wrong chord: the ERAN; a Neapolitan heard; music and language; mismatch negativity; reward.
- Surprise and uncertainty together: Cheung; where pleasure lies; the two corners heard; tension; uncertainty engineered.
- Groove: syncopation; four patterns heard; the inverted U; microtiming; entrainment.
- Expressed emotion: an ear question (four settings); the cues; chills; mechanisms; sad music; memory; what does not replicate.
- Frontier: predictive processing; expectation across cultures; models as listeners; the research problem.
- Variation 46: the Tune with three endings, priced in bits. Outro: problems, payoffs.
Covers: Meyer; statistical learning; surprise and uncertainty and their interplay; brain responses to syntax;
tension; groove and syncopation; the cues of expressed emotion; the pleasure of sad music; preference and
complexity; what does not replicate.
Built and computed: monochord/listener.py: a variable-order listener (PPM, escape method C, long- and short-term
models combined by entropy, after IDyOM) trained on the series' 51 major-key tunes; surprise and entropy curves for the
Tune (1.98 bits a note), the corpus (1,788 notes), Part 42's drafts (kept 3.1, rejected 3.8) and chains, random notes
(3.9); probe tones; dynamic expectation; a Saffran-style stream (transitional probability 1 inside words, 0.4 across);
the Longuet-Higgins and Lee syncopation index. Published findings (Salimpoor, Cheung, Witek, Juslin and Laukka) are
quoted beside the model's numbers, not reproduced.
Variation 46: the Tune with three endings: expected (last C 1.2 bits), delayed (the deceptive turn 6.3, then the C
0.9), denied (F♯, 10.9).
Frontier: predictive-processing accounts; models as listeners (open: how much of pleasure surprise and uncertainty
predict).
Reading: Meyer (1956); Huron (2006); Salimpoor et al. (2011); Cheung et al. (2019); Witek et al. (2014).
Part 47 · Origins and Universals (~55)
Story: A flute carved from a vulture's wing bone lay in a German cave for at least 35,000 years. Every known society makes music, and no one agrees why. The part sorts what is shared (discrete pitches, a beat, small-integer rhythms, the lullaby) from what is not (a taste for consonance), and watches a tune evolve in simulated mouths.
- Hook: the Hohle Fels flute; a pipe its size with five even holes, heard (uneven steps); the questions; the plan.
- The oldest instruments: a logarithmic timeline; what a pipe's length says; what the bones say; older than any flute.
- Every society sings: the Natural History of Song; an ear question (dance song or lullaby?); form and function; contexts.
- Statistical universals: Savage's 304 recordings; six features checked on the corpus; what that cannot show; clusters.
- What is learned: the Tsimane'; four chords heard; the gradient with exposure; the octave; infants tuned by exposure.
- Priors revealed by iteration: the method; an ear question (before and after five tap-backs); 400 chains; two priors; the theorem.
- A tune in simulated mouths: one singer; a melody over forty singers; an ear question; the measures; two kinds of learner; the lab.
- Tune families: Bayard; three relatives heard; alignment; eleven tunes clustered; a simulated family rebuilt; Savage 2022.
- Birds, whales and a cockatoo: zebra finches; humpbacks; Snowball; an ear question (which dancer?); Rayleigh's test; vocal learning.
- Music and language: two sound systems; the nPVI; two tunes heard; Patel and Daniele; the corpus by language; the Library by kind; song and speech.
- Amusia, Mozart and transfer: amusia; an ear question (which pair differed?); the Mozart effect; publication bias simulated; transfer; therapy.
- Why music? Darwin, Spencer, Mithen; Pinker; bonding and signalling; predictions; what the chains add.
- Frontier: datasets of the world's music; the genetics of rhythm; open questions; the research problem.
- Variation 47: the Tune through thirty singers. Outro: problems, payoffs.
Covers: the cross-cultural evidence; theories of origin; birdsong, whales and a dancing cockatoo; infants and
enculturation; music and language; amusia; the Mozart effect and what transfer studies show; therapy evidence;
cultural evolution and tune families.
Built and computed: monochord/origins.py: iterated reproduction by simulated Bayesian listeners (400 random
rhythms, 28 per cent near small-integer ratios at the start, about 70 after three rounds, in the prior's proportions); a
transmission chain of simulated singers (twenty random melodies over forty singers: pitch levels 11.7 to 5.6, steps 5.6
to 2.7 semitones, copying error 0.31 to 0.08 a note; samplers forget the Tune, likeliest-value singers keep it);
Needleman–Wunsch alignment under the best transposition, UPGMA and Robinson–Foulds (the Tune's relatives cluster; a
simulated family's branchings recovered 4.8 of 6 on average); six statistical universals on the corpus; nPVI by
language on the corpus (French 24.7, English 35.8, permutation p = 0.16) and by kind on the Library (songs 47.9,
keyboard 29.2); Rayleigh's test for simulated dancers; a publication-bias simulation (a zero effect published at 0.14).
Variation 47: the Tune after thirty simulated singers: 42 notes in, 41 out, 29 kept exactly, 0.28 a note.
Frontier: large cross-cultural datasets; the genetics of beat synchronization (Niarchou et al. 2022: 69 loci, SNP
heritability 13–16 per cent); the origins debate (open: which universals need which biases).
Reading: Patel, Music, Language, and the Brain; Savage et al. (2015); Mehr et al. (2019); Honing (ed.), The
Origins of Musicality.
Act IX · Electric Sound
Part 48 · Digital Audio (~50)
Story: Why 44,100 samples a second? Because the first digital recorders stored audio on video cassettes: three samples a line, 245 lines, 60 fields. Behind the accident is a theorem that sounds impossible: a smooth wave can be recovered exactly from its samples. The part proves it and then listens to one-bit audio.
- Hook: an ear question (16 bits or one bit at 3 MHz?); the errors measured; the questions; the plan.
- Why 44,100? Audio on videotape; the arithmetic; the compact disc; why that high and no higher.
- The sampling theorem: the statement; one sinc per sample; why it works; finite filters; many fathers.
- Aliasing: a fast wave through slow samples; folding; three tones heard; an ear question (a sweep turns round); the anti-aliasing filter.
- The stair-step myth: the advertisement and the curve; where the stairs go; images and droop; the stairs heard; real converters.
- Quantization: rounding; six decibels a bit; the rule measured; where the floor sits; an ear question (4 bits, dithered or not?).
- Dither: noise as a cure; the error's moments under three dithers; a sub-step tone heard; a fading note's errors heard; the theory.
- Noise shaping: error feedback; three spectra; the errors heard; shaping to the ear.
- One bit: the modulator; a bitstream drawn; one bit measured; three speeds heard; one bit in practice.
- Jitter and clocks: a late sample; the formula checked; periodic jitter's sidebands; jitter in practice.
- Resampling and the high-resolution debate: changing the rate; an ear question (16 or 48 kHz?); the studies; testing properly; conclusions.
- Frontier: converter limits; sampling below Nyquist; the research problem.
- Variation 48: the Tune at 16, 8, 4 and 1 bit. Outro: problems, payoffs.
Covers: the sampling theorem; aliasing; reconstruction and the stair-step myth; quantization noise and the six
decibels per bit; dither; noise shaping; delta-sigma conversion; jitter; resampling; the high-resolution debate.
Built and computed: monochord/digital.py: Whittaker–Shannon reconstruction with its truncation error (0.25 with 4
samples per point, 0.00004 with 128); folding; the zero-order hold's images (33 dB down near 44 kHz) and droop (3.2 dB
at 20 kHz); quantization measured against 6.02 N + 1.76 dB (within 0.1 dB from 5 bits); the error's mean and variance
under no, RPDF and TPDF dither; error-feedback noise shaping (below 4 kHz −26 to −44 dB); one-bit delta-sigma
modulators (9 and 15 dB per octave of oversampling; 75 dB at 64 times); jitter (−20 log₁₀ 2πfσ, to 0.1 dB) and its
sidebands; band-limited resampling.
Variation 48: the Tune at 16, 8, 4 and 1 bit, with and without dither (shown as residues; §3): 77, 29 and 5 dB; one
bit at 64 times the rate, 62 dB.
Frontier: converter limits; sampling beyond Nyquist (open: how far below Nyquist music can be sampled before
listeners notice).
Reading: Pohlmann; Lipshitz, Wannamaker & Vanderkooy (1992); Smith, Mathematics of the DFT.
Part 49 · Filters, Delay and Reverb (~55)
Story: In 1947 an engineer put a loudspeaker and a microphone in the studio's tiled bathroom and sold the echo as art. In 1962 Schroeder at Bell Labs built a room out of arithmetic: four comb filters and two all-passes. Everything an effect rack does is delay and addition.
- Hook: an ear question (a simulated room or Schroeder's arithmetic?); Putnam's bathroom; the plan.
- Impulse responses and convolution: one click says everything; convolution by hand; an echo heard; the FFT; FIR and IIR.
- Poles and zeros: the one-pole low-pass; the z-plane; a ringing pole heard; the biquad; stability.
- Equalizers: five biquads; an ear question (which filter was which?); analogue prototypes; the parametric equalizer; practice.
- Phase: timing by frequency; an ear question (which snare was all-passed?); group delay; linear and minimum phase.
- Combs, flangers, choruses and phasers: notches and peaks; a pitch from noise heard; three moving delays heard; history; combs by accident.
- The room's response: image sources; a tiled room's response; precedence; heard; Schroeder integration; modes; Sabine and Eyring.
- Measuring a room: a click or a sweep; the sweep heard; the room recovered; distortion arrives early; why this sweep.
- Schroeder's reverberator: imitate the ear; the diagram; echo density; snares heard; Moorer.
- Feedback delay networks: the idea; the Hadamard matrix; two responses; octave bands; a cathedral heard; practice.
- Plates and springs: EMT's 140; finite differences; dispersion; the plate heard; a spring heard; practice.
- Frontier: virtual analog; differentiable effects; rooms from the wave equation; the research problem.
- Variation 49: the Tune in five spaces. Outro: problems, payoffs.
Covers: impulse responses and convolution; poles and zeros; equalizers; phase; analog prototypes; combs,
flangers, choruses and phasers; the room's response; Schroeder's reverberator; feedback delay networks; plates
and springs; convolution reverb and sweep measurement.
Built and computed: monochord/effects.py: cookbook biquads (a Butterworth by bilinear transform matching SciPy's);
all-pass chains and group delay; combs (a 220 Hz pitch from noise), flanger, chorus and phaser; a tiled room by image
sources, RT60 1.22 s by Schroeder integration against Eyring's 1.24 and Sabine's 1.28, octave bands, Schroeder frequency
about 600 Hz; Farina's sweep recovering the room (error 19 dB down) and separating harmonics; Schroeder's reverberator
(echo density about 0.2) and an eight-line feedback delay network; a steel plate by finite differences (246 by 123
points; 2.6 s at 125 Hz, 1.0 s at 4 kHz); a dispersive spring loop.
Variation 49: the Tune dry, then in a bathroom (1.2 s), a plate (1.9 s), a spring (1.3 s) and a cathedral (4.2 s).
Frontier: virtual analog; differentiable effects; wave-based rooms (open: how small a network can pass for a room).
Reading: Smith, Introduction to Digital Filters and Physical Audio Signal Processing; Zölzer, DAFX;
Välimäki et al. (2012).
Part 50 · Dynamics, Distortion and Pitch (~55)
Story: Two accidents made two genres. A damaged amplifier in 1951 gave rock its fuzz. In 1998 a pitch corrector, invented by a geophysicist who had used autocorrelation to find oil, was set to act instantly, and the sound of a voice snapping between notes became a style.
- Hook: an ear question (which was hard-tuned?); the pitch tracks; Rocket 88 and Believe; the plan.
- Nonlinearity: new frequencies; three bends; their harmonics; three bends heard; a riff driven; odd harmonics; devices.
- Chebyshev: the identity; a shaper built from its spectrum; three input levels heard; waveshaping synthesis.
- Intermodulation: two tones in; a fifth and a third measured; the power chord heard; the difference tone.
- Aliasing in nonlinear effects: harmonics that fold; an ear question (a clipped sweep); three ways to compute; everywhere.
- Compressors: the idea; static curves; attack and release; pumping heard; an ear question (which was compressed?); punch; detectors.
- Limiters, gates and sidechains: the family; a gate heard; a sidechain heard; uses; look-ahead.
- Time and pitch: tied; resampling and PSOLA heard; PSOLA; history; formants.
- Overlap-add and the phase vocoder: OLA; the phase vocoder; two stretches heard; limits; extreme stretching; uses.
- Pitch correction: detection; YIN; the target at three speeds; three speeds heard; repair to style; editing by hand.
- Vocoders and ring modulation: Dudley; the bands; four sounds heard; the talk box; in music; ring modulation.
- Frontier: neural amplifier models; grey boxes; antialiasing; the research problem.
- Variation 50: the Tune sung, hard-tuned, vocoded and stretched. Outro: problems, payoffs.
Covers: nonlinearity and new frequencies; Chebyshev waveshaping; intermodulation and the power chord; aliasing
in nonlinear effects; compressors, limiters and gates; sidechains; time and pitch: resampling, overlap-add, the
phase vocoder, PSOLA; formants; pitch correction; vocoders and ring modulation.
Built and computed: monochord/dynamics.py: shapers and their harmonics; a Chebyshev shaper with exact harmonics
(−6.02 and −12.04 dB as asked); intermodulation (products on 110 Hz for a fifth, 55 for a third); aliasing measured
(−26.8 dB plain, −32.5 with ADAA, −47.3 oversampled); a feedforward compressor with measured curves (12 ms attack;
a groove's loudness spread 9.1 to 4.9 dB); a gate and a sidechain; overlap-add and a phase vocoder with phase locking;
YIN; PSOLA; a pitch corrector for Part 8's voice (28 cents to 0.6); a 16-band vocoder; ring modulation.
Variation 50: the Tune sung, hard-tuned, vocoded and stretched eightfold (one second to 7.7).
Frontier: neural models of analog gear; antialiasing nonlinearities (open: the smallest alias-free model that passes).
Reading: Zölzer; Giannoulis, Massberg & Reiss (2012); Laroche & Dolson (1999).
Part 51 · Synthesis I: Oscillators and Filters (~50)
Story: The first synthesizer weighed two hundred tons. Cahill's Telharmonium (1906) made tones with dynamos and sent them down telephone lines to subscribers, and it failed. Sixty years later a module the size of a book did the same job, and Switched-On Bach sold a million copies.
- Hook: an ear question (forty sines or a fitted patch: which is the original?); the two compared; the Telharmonium; Moog and Carlos; the plan.
- Additive synthesis: a sawtooth from sines; Fourier's list; the Hammond; three registrations heard; tempered drawbars; the cost.
- Subtractive synthesis: take away; four sources; the chain and voltage control; a filter sweep heard; from cords to keyboards.
- Why digital sawtooths alias: the drop; one note's spectrum; aliasing against pitch; PolyBLEP drawn; an ear question (which aliases?); the cures.
- The ladder filter: four poles and a loop; the algebra; five responses; the edge at k = 4; resonance costs bass; three resonances heard.
- Running the circuit: the equations; three solvers; convergence; an ear question (circuit or equations without tanh?); harmonics; past the edge; the filter sings.
- Envelopes and modulation: ADSR; three envelopes; one patch three ways heard; LFOs; three modulations heard; routing.
- Pulse width, sync and unison: width as a knob; hard sync; PWM and sync heard; unison; a supersaw heard; drift.
- Wavetables: a wave from memory; the table; a scan heard; three spectra; mipmaps; wavetables now.
- Drum circuits: struck resonators; the kick from the circuit; snare, clap, hats; a kit heard; the ladder struck as toms; circuits and samples.
- Fitting a patch: the inverse problem; a distance; the search checked; the landscape; the hook's target; an organ out of reach, heard; why fitting is hard.
- Frontier: learning the inverse; differentiable synthesizers; where gradients go wrong; the research problem.
- Variation 51: the Tune switched on, four tracks layered. Outro: problems, payoffs.
Covers: additive synthesis from organ to Hammond; subtractive synthesis; why digital sawtooths alias and how
to stop it; the ladder filter; envelopes; modulation; sync and pulse width; unison; wavetables; drum circuits.
Built and computed: monochord/synth.py: naive, PolyBLEP, BLIT and additive sawtooths with aliasing measured
(naive 25.6 dB down at 110 Hz to 10.3 at 3.5 kHz; PolyBLEP 14 to 16 dB better); pulses, hard sync, unison, tempered
drawbars; the ladder by forward steps, Huovilainen's correction and the trapezoid with Newton, against Runge–Kutta
(6 and 12 dB a doubling; −37.2 dB at 48 kHz); self-oscillation within 20 cents; ADSR, wavetables with band-limited
copies; struck-resonator drums (decay 0.454 s against 0.453); a patch fitted to harmonic levels (a hidden patch found
within 0.7 dB; the hook's target 3.0 dB; an organ 27).
Variation 51: the Tune switched on: four monophonic tracks, one patch each (354 notes; aliasing 34 dB down, 18 if naive).
Frontier: sound matching by learning; differentiable synthesizers (open: can descent fit a patch as reliably as a search?).
Reading: Roads, The Computer Music Tutorial; Pirkle; Välimäki & Huovilainen (2006); Pinch & Trocco, Analog
Days.
Part 52 · Synthesis II: FM, Grains and Physical Models (~55)
Story: In 1967 John Chowning turned a vibrato up until it was faster than the note itself and heard bells. The mathematics is a Bessel function per sideband, the patent made Stanford a fortune, and the DX7 (1983) put the sound on every record of its decade. The part builds FM, then two other ways out of the oscillator.
- Hook: an ear question (a measured bell or two oscillators?); the two spectra; Chowning, the patent, the DX7; the plan.
- Frequency modulation: a vibrato speeding up, heard; the formula; predicted and measured lines; Bessel's functions; the index swept, heard; Carson's rule.
- Ratios, indices and Chowning's instruments: four ratios; sidebands below zero; three ratios heard; brass, bell and drum; the three heard; FM against the filter.
- Operators and algorithms: operators; four algorithms; feedback's sawtooth; three patches heard; the sound of a decade.
- Granular synthesis: Gabor's quanta; three grains; the engine; a voice four ways heard; the cloud; grains at work.
- Spectral models: sines and the rest; a piano note's partials; its stretched partials; the note in pieces heard; uses.
- Samplers: recordings as instruments; one recording over four octaves heard; why not enough; multisampling; the cost.
- Karplus-Strong, tuned: the loop; tuning note by note; the all-pass; in and out of tune heard; more from one loop.
- Digital waveguides: two rails; equal to the finite-difference string; a clarinet; its threshold; a crescendo and the Tune heard; at work.
- Modal synthesis: modes; the stiff string as modes; the grid's dispersion; an ear question (modes or beads?); at work.
- Costs and controls: one second timed; what a player turns; which method for which job.
- Frontier: methods that learn; black, grey and white boxes; the research problem.
- Variation 52: the Tune on FM keys and bells, dissolved into grains and back. Outro: problems, payoffs.
Covers: frequency modulation and its sidebands; ratios and inharmonicity; operators and algorithms; granular
synthesis from Gabor to Roads; spectral models; samplers; Karplus–Strong; digital waveguides (d'Alembert again);
modal synthesis; what each method costs and controls.
Built and computed: monochord/synth2.py: FM with lines matching Bessel's functions to 2.5 millionths; a DX-style
operator engine with feedback (a sawtooth's harmonics within 3 dB); Gabor grains (length times width about 0.85) and a
granular engine; partial tracking with inharmonicity (B = 3.8 × 10⁻⁴ on Part 7's piano) and residual splitting;
Karplus–Strong tuned by an all-pass (33 cents to 0.6); a digital waveguide equal to the finite-difference string to
3 × 10⁻¹⁴; a waveguide clarinet with a threshold and odd harmonics; modal strings exact where the grid runs 16 cents
flat by the 24th partial.
Variation 52: the Tune on FM keys and bells, dissolved into grains and back (2,793 grains in ten seconds).
Frontier: neural and differentiable physical models (open: how few parameters match an instrument's whole range?).
Reading: Chowning (1973); Karplus & Strong (1983); Smith, Physical Audio Signal Processing; Roads,
Microsound.
Part 53 · MIDI, Sequencers and the DAW (~55)
Story: January 1983, a trade-show floor: two synthesizers from rival firms are joined by a five-pin cable, and a key pressed on one sounds the other. The specification fitted on a few pages and has run the industry for forty years. The part reads it byte by byte, then builds what sits on top: the sequencer and the audio engine with its hard real-time deadline.
- Hook: an ear question (a chord down the cable or all at once?); the arrivals; Smith, Kakehashi and 1983; the plan.
- Machines that play: cylinders and the music box, heard; rolls; forty notes a second, heard; Nancarrow; a tempo canon's arithmetic.
- MUSIC N and unit generators: Mathews; an orchestra and a score; the score heard; descendants; real time arrives.
- MIDI byte by byte: the wire; one note; inside a keyboard; running status; a chord's smear; the other messages.
- MIDI's limits: seven bits; an ear question (which sweep was the controller?); one bend per channel; MPE; MIDI 2.0; what MIDI got right.
- MIDI files: chunks; variable-length times; ticks to seconds; the Tune in 423 bytes; files at work.
- Sequencers: a sixteen-step line, heard; the piano roll; the tracker; the workstation.
- A pattern language: five rules; two lines expanded; the parse tree; the lines heard; live coding.
- The audio callback: the deadline; identical in every block size; cost per block; dropouts heard; the rules; a lock-free queue.
- Timing inside a block: snapped to blocks; an ear question (which was snapped?); the latency budget; sample-accurate scheduling.
- The graph and delay compensation: the graph; plug-ins; two paths, one late; compensation heard; the comb; freezing.
- Frontier: learning in the audio thread; networked performance; the browser as a studio; the research problem.
- Variation 53: the Tune as a tracker module and a tempo canon. Outro: problems, payoffs.
Covers: automata, music boxes and player pianos; Nancarrow; MUSIC N and unit generators; the MIDI protocol and
its limits; MPE (2018) and MIDI 2.0 (2020); step sequencers, piano rolls and trackers; the audio callback;
latency; the processing graph and delay compensation; plug-ins; dataflow and live-coding languages.
Built and computed: monochord/daw.py: MIDI 1.0 with running status, its timing at 31,250 baud (a twelve-note chord
spread over 7.0 ms); variable-length quantities and Standard MIDI Files written and read (the Tune in 423 bytes); an
engine of stateful voices, limiters and delays that renders bit-identically in blocks of 32 to 2048 samples, with its
per-block cost measured on this machine; sample-accurate and block-snapped scheduling (up to 21 ms early at 1024);
delay compensation (a 5 ms path combing at 100 Hz and every 200 Hz above); a small pattern language; tracker events;
tempo canons.
Variation 53: the Tune as a tracker module and as a tempo canon at 3 : 4 : 5 : 6 meeting on the last note.
Frontier: learning in the audio thread; networked performance (open: the best model that never misses a deadline).
Reading: the MIDI 1.0 specification; Mathews, The Technology of Computer Music; Puckette; McCartney (2002).
Act X · The Studio and the Stage
Part 54 · Microphones and Loudspeakers (~50)
Story: Plug headphones into a microphone socket and speak into them: they work. A loudspeaker is a microphone run backwards. When microphones became electrical in 1925, singers no longer had to fill a hall, and the intimate voice of the crooner was invented. A transducer changed what a voice could be.
- Hook: an ear question (which was the headphones?); the headphone's response; electrical recording and the crooner; the plan.
- Transducers: four kinds; one number both ways; the condenser; three kinds of circuit; which for which job.
- Polar patterns: pressure and gradient; the family; a walk round a cardioid, heard; directivity; high frequencies; an ear question (which heard least piano?); choosing.
- The proximity effect: the gradient of a spherical wave; the rise by distance; taming it; three distances heard; playing it.
- Noise and balanced lines: thermal noise; a noise budget; phantom power; the balanced line; hum heard; levels.
- The loudspeaker as a filter: anatomy; Thiele-Small parameters; damping; impedance; efficiency and the iron law.
- Sealed and vented boxes: the back of the cone; sealed boxes; the simulation checked; the vented box; the port; impedance.
- Three loudspeakers: simulated; measuring a loudspeaker; a groove through each, heard; bass you cannot hear.
- Horns: an acoustic transformer; throat against piston; waveguides; horns at work.
- Crossovers and amplifiers: two drivers; the sums; a hole heard; crossovers in software; amplifier classes.
- Headphones and noise cancelling: on the ear; sound against sound; filtered-x LMS; by band; schemes; a cabin heard.
- Frontier: an array's pattern; an ear question (one microphone or an array?); MEMS; linearization; the research problem.
- Variation 54: the Tune through three microphones and three loudspeakers. Outro: problems, payoffs.
Covers: the transduction principles; electrical, mechanical and acoustical circuits; polar patterns; the
proximity effect; noise; balanced lines; the loudspeaker as a filter; Thiele–Small parameters; sealed and ported
boxes (Part 2's resonator again); horns; crossovers; amplifiers; headphones and noise cancelling.
Built and computed: monochord/transducer.py: the first-order patterns with directivity and nulls; the proximity
effect (+20.8 dB at 100 Hz at 5 cm); thermal noise and a noise budget; balanced lines (40 dB at 1 % imbalance); a
lumped-element loudspeaker simulator checked against Small's sealed-box and Thiele's B4 closed forms (within 0.1 Hz);
horn loading; crossovers (Linkwitz–Riley flat); a filtered-x LMS canceller (−25 to −33 dB below 1 kHz); a
delay-and-sum array.
Variation 54: the Tune through three microphone patterns and three loudspeakers (cardioid 30 dB; phone 844 Hz).
Frontier: arrays and beamforming; loudspeaker linearization (open: how far can control alone enlarge a small speaker?).
Reading: Eargle, The Microphone Book; Small's papers; Beranek & Mellow.
Part 55 · Rooms and Space (~55)
Story: In 1895 Harvard opened a lecture hall in which nobody could understand a word. A young physicist, Wallace Sabine, spent his nights there with a stopwatch, an organ pipe and the seat cushions of a nearby theatre, found the law of reverberation, and used it to design Boston's Symphony Hall. Sixty years on, a hall designed with far more science had to be gutted. The part explains both.
- Hook: an ear question (which was the room as built?); the decay; Sabine's nights and Symphony Hall; Philharmonic Hall; the plan.
- Sabine's law: a sound that dies away; the law derived; the cushions, simulated and heard; Eyring; absorption by band; targets.
- Modes: a pipe in three directions; a living room's modes; counting them against Weyl; the Schroeder frequency; a corner and the middle, heard; taming them.
- Absorption and diffusion: three absorbers; a flutter echo heard; scattering; the residue diffuser; Gauss's sum; scattering computed; at work.
- Early reflections and hall shapes: the first 80 ms; one seat's reflections; the lateral fraction; width; an ear question (which hall was narrow?); shapes.
- Simulating a room: the image method; how many reflections; the simulator checked; rays; waves; auralization.
- How we hear direction: the duplex theory; ITD; ILD; the cues heard; the cone of confusion; an ear question (which was in front?); breaking the cone.
- Stereo and panning: two channels; the triangle and the tangent law; pan laws; a pan heard; the sweet spot; microphone pairs.
- Ambisonics and wave-field synthesis: after quadraphony; encoding; decoding to a ring; Gerzon's vectors; higher orders; WFS.
- Binaural rendering: two signals; HRTFs; a renderer; a shaker circling the head, heard; inside the head; head tracking; crosstalk cancellation.
- Object audio: channels, scenes and objects; Atmos; VBAP; one mix, every playback; space as music.
- Frontier: personal HRTFs; the cost of waves; real-time waves; programmable rooms; the research problem.
- Variation 55: the Tune in four spaces, then circling the listener. Outro: problems, payoffs.
Covers: modes; the diffuse field; Sabine and Eyring; absorption and diffusion (and the number theory in a
diffuser); early reflections and spaciousness; hall shapes; simulation by images and rays; localization cues;
stereo; panning laws; Ambisonics; wave-field synthesis; binaural rendering; object audio.
Built and computed: monochord/space.py: a room's modes against Weyl (18 below 120 Hz against 20.2); Sabine's
cushions (5.6 to 1.1 s); an image-source room against Sabine and Eyring (a smooth box rings 14 % long) and the exact
modes (within 0.4 Hz); a residue diffuser's scattering (diffusion 0.39 against 0.07 at 1 kHz); lateral fractions
by hall width (0.20 to 0.11); Woodworth's ITD and Brown and Duda's head shadow; pan laws and the tangent law;
first-order Ambisonic decoders with Gerzon's vectors (2/3 and 0.707); a block binaural renderer.
Variation 55: the Tune walked through four spaces, then circling the listener (headphones; 0, 0.45, 1.9 and 5.0 s).
Frontier: personalized HRTFs; real-time wave simulation (open: how little must a renderer know about a
listener's ears?).
Reading: Kuttruff, Room Acoustics; Beranek, Concert Halls and Opera Houses; Blauert, Spatial Hearing;
Zotter & Frank.
Part 56 · Recording and Mixing (~55)
Story: Take one multitrack recording and mix it three times: close and dry, a wall of sound, a dub. It is three different pieces of music. Since the 1960s the studio has been an instrument, and the part learns to play it.
- Hook: an ear question (which was the dub?); what each mix did; Les Paul, Spector, King Tubby, Eno; the session; the plan.
- From the horn to the workstation: tracks against years; tape and the razor blade; bouncing; the workstation.
- Stereo microphone pairs: five pairs; their level and time differences; images and recording angles; one stage through three pairs, heard; choosing.
- Phase between microphones: one source, two microphones; the comb; the 3 : 1 rule; a snare from both sides; an ear question (which snare was left as recorded?); putting it right.
- Gain staging: from the air to the converter; three gains in dBFS; heard; 24 bits and floating point; reference levels.
- Editing: takes and comps; why a cut clicks; a splice and a crossfade, heard; crossfade laws; time and pitch.
- Balance and panning: the channel strip; faders; four pan laws; stereo against mono; our faders.
- Masking between tracks: one track hides another; the masking map; rough and carved; the carving; heard; lessons.
- Dynamics and buses: a vocal compressor; parallel compression; heard; buses and side-chains; automation.
- Depth and width: depth cues; three distances; heard; mid-side and the Haas trick; width in mono, heard.
- Monitoring: the room; listening level; a phone; one mix, two playbacks, heard; checking a mix.
- Frontier: machines that mix; Monochord's rules; an ear question (which was the machine?); the settings compared; differentiable consoles; the research problem.
- Variation 56: the session mixed three ways. Outro: problems, payoffs.
Covers: the history from the horn to the workstation; stereo microphone arrays and their arithmetic; phase
between microphones; gain staging; editing; balance; panning; masking between tracks; dynamics and buses; depth
and width; monitoring; automatic mixing.
Built and computed: monochord/studio.py: stereo pairs' cues, image positions and recording angles (Blumlein 70°,
AB 78°, ORTF 109°, XY beyond 180°); combs and the 3 : 1 rule; a gain chain to a 16-bit converter; crossfade laws;
a console with strips, sends, buses and four pan laws checked in stereo and mono; a masking map, rough and carved;
parallel compression; mid-side and Haas width with its mono comb; a rule-based automatic mixer against ours.
Variation 56: the session: our instruments recorded with virtual microphones and mixed three ways (crest factor
18 dB dry, 11 in the wall; the dub's echo every 0.45 s).
Frontier: intelligent music production; differentiable consoles (open: what objective predicts which mix
listeners prefer?).
Reading: Izhaki, Mixing Audio; Senior; Milner, Perfecting Sound Forever; De Man, Stables & Reiss.
Part 57 · Mastering and Loudness (~50)
Story: In 2008 fans of a rock band found that the version of its new album inside a video game sounded better than the CD, which had been mastered so loud that the peaks were shaved flat. The loudness war had a casualty with waveforms to prove it. Then streaming services began turning loud records down, and the incentive vanished.
- Hook: an ear question (which master was made for loudness?); the waveforms; Death Magnetic; how the war ended; the plan.
- What mastering is for: between the mix and the listener; the chain, stage by stage, heard; an album, not a track.
- Meters: three old meters; one drum hit; K-weighting; two tones at one voltage, heard; one number.
- LUFS and gating: BS.1770 in four lines; the gates at work; checked against ffmpeg; time scales and LRA; targets.
- Inter-sample peaks: a peak between the samples; measuring it; overs in a real master; why it matters; inside the converter.
- Limiters and clippers: a look-ahead limiter; close up; clipped against limited, heard; clippers on purpose.
- The loudness war in numbers: an arms race; one mix, six masters; what loudness costs; the sausage; three masters heard.
- Normalization: one gain per track; three masters normalized; an ear question (which was mastered loudest?); albums.
- Comparing at equal loudness: an ear question (which sounds better?); the loudness bias; the method; this series' rule.
- Dither: cutting the word length; rounding with and without dither; where the error goes; a fade heard; when to dither.
- Vinyl, files and this series: the groove; the RIAA curve; a record without it, heard; one master per medium; our levels.
- Frontier: what experiments found; after the war; machines that master; the research problem.
- Variation 57: an album side, and one war-mastered beside itself. Outro: problems, payoffs.
Covers: what mastering is for; the chain; inter-sample peaks; meters; BS.1770, LUFS and gating; normalization;
the war in numbers; level-matched comparison as method; dither to delivery; vinyl's equalization and geometry;
delivery formats; this series' own mastering chain, explained and measured.
Built and computed: monochord/master.py: K-weighting, gated blocks, short-term loudness and LRA, VU and PPM, a
true-peak meter (the series' meter agreeing with ffmpeg's within 0.05 LU and 0.1 dB); a look-ahead true-peak limiter; a
mastering chain; one mix mastered at six loudness levels (PLR 15.2 to 6.7 dB), then normalized; TPDF dither and noise
shaping; the RIAA curve and groove excursions.
Variation 57: an album side of Variations, and one of them "war-mastered" beside itself, level-matched (PLR 6.6 dB
against 13.0).
Frontier: loudness and listener preference: what experiments found (open: what PLR do listeners prefer once
everything is normalized, and where?).
Reading: Katz, Mastering Audio; ITU-R BS.1770; EBU R 128; Deruty & Tardieu (2014).
Part 58 · Compression for the Ear (~55)
Story: The engineer tuning the first MP3 encoder tested it on an unaccompanied voice, Suzanne Vega's "Tom's Diner", because it sounded dreadful. Twelve years of research into what the ear cannot hear produced a file a tenth the size, and a few years later that file broke the record industry's business.
- Hook: an ear question (which was the original?); sizes and margins; Tom's Diner and the MP3; two kinds of compression; the plan.
- Entropy and lossless coding: entropy; prediction; how much it saves; Rice codes; a bit-exact round trip; better predictors.
- What the ear cannot hear: a masking model; spreading; one frame's mask; an ear question (white or shaped noise?); masking in time.
- The MDCT: why; the transform; one frame's aliases; the aliases cancel; aliases heard; a bank of filters.
- A perceptual coder: the coder; bit allocation by step size; rate control; five rates; five rates heard.
- Window switching and pre-echo: time against frequency; 30 ms before a hit; an ear question (which had a swish?); switching.
- Stereo coding: mid and side; the same bits two ways; heard; intensity and parametric stereo.
- MP3, AAC and Opus: five codecs; MP3; AAC; Opus; the file that broke a business.
- Listening tests: an ABX trial (an ear question); counting right answers; the power of a test; BS.1116 and MUSHRA.
- Generations: transcoding; five generations; heard; in practice.
- Vectors and residuals: vector quantization; residual stages; stage by stage; heard; neural codecs.
- Frontier: what neural codecs change; learned metrics; the research problem.
- Variation 58: the Tune at five bit rates, and the residue alone. Outro: problems, payoffs.
Covers: entropy and lossless coding by prediction; masking thresholds; the MDCT and why its aliases cancel;
window switching and pre-echo; bit allocation; stereo coding; MP3, AAC and Opus; listening tests and their
statistics; transcoding; neural codecs and residual vector quantization.
Built and computed: monochord/codec.py: a lossless coder (fixed predictors, Rice codes) with a bit-exact round
trip (voice 23 %, mix 55 %); the MDCT with its cancellation verified to 1e-13; a masking model (Bark bands,
Schroeder's spreading, Johnston's tonality, the threshold in quiet) and a perceptual coder with rate control (the mix
19 dB under the mask at 128 kbit/s, 18 over at 16); pre-echo at equal noise-to-mask; mid-side coding; the power of an
ABX test (12 of 16; a 70 % listener passes 45 % of the time); five generations; residual vector quantization.
Variation 58: the Tune at five bitrates, and the residue the codec discards, played alone.
Frontier: neural codecs; learned perceptual metrics (open: can a learned metric judge a kind of codec it never saw?).
Reading: Bosi & Goldberg; Brandenburg (1999); Valin et al. on Opus; Sterne, MP3: The Meaning of a Format.
Part 59 · Live Sound (~50)
Story: August 1965: fifty-five thousand people fill a baseball stadium and nobody, including the band, can hear the band. The modern concert system was built to solve that night. The part works out why a microphone howls, why speakers are hung in curved lines, and how loud is too loud.
- Hook: an ear question (which was 1965?); Shea Stadium; after Shea; the plan.
- Why a microphone howls: the loop; Nyquist's criterion; the loop's response in a hall; an ear question (which clap was nearest the edge?); over the edge.
- Ringing out, and monitors: six notches; heard; the cheaper decibels; potential and needed acoustic gain; monitors.
- Point and line sources: spheres and cylinders; level against distance; the transition distance; a line or a row of points.
- Arrays and curvature: three fields; the J; three seats heard; steering.
- Subwoofer arrays: bass goes everywhere; a cardioid pair; heard behind the stage; more ways to aim bass.
- Delay towers, air and weather: a tower; an ear question (which was aligned?); weather; what the air takes; heard.
- Measuring a system: dual-channel measurement; measured with the Tune; what can go wrong; tuning a system.
- Wireless and networks: intermodulation; a frequency plan; in-ear monitors; networks and clocks.
- Speech in big rooms: the STI; STI over reverberation and noise; an ear question (three rooms); what helps.
- Hearing health: what loud sound does; the equal-energy rule; one night's doses; rules and remedies.
- Frontier: immersive live sound; quiet neighbours; the research problem.
- Variation 59: the Tune at the mixing desk, the back row and the car park. Outro: problems, payoffs.
Covers: gain before feedback and the stability criterion; ringing out; monitors; point and line sources;
arrays, lobes and curvature; subwoofer arrays; delay towers; wind and temperature; measurement with transfer
functions; wireless planning; networks and clocks; intelligibility; noise dose and protecting hearing.
Built and computed: monochord/live.py: the gain before feedback by Nyquist's criterion in a simulated hall
(−17.9 dB, the howl at 358 Hz, found at 358 in the closed loop run in time); ringing out (+3.3 dB in six notches);
PAG and NAG; fields of a point, a straight and a J-shaped line (2.7 dB per doubling near the line at 1 kHz, transition
at 26/103/411 m); a cardioid subwoofer pair cancelling exactly behind; delay towers (184.7 ms, 3 ms drift over 10 °C);
ISO 9613-1 air absorption; dual-channel measurement with music (the delay found to the sample); an
intermodulation-free channel planner (20 clean carriers against an even grid's 24 hits); the STI (0.64/0.37/0.15 in
three rooms); a dose calculator (2016 % at the barrier).
Variation 59: the Tune at an arena: front of house, the back row (7 dB down), the car park (29 dB down, mostly bass).
Frontier: immersive live systems; sound zones and festival noise control; a research problem on weather-robust
array settings.
Reading: McCarthy, Sound Systems: Design and Optimization; Davis & Patronis; Ballou; Houtgast and Steeneken;
IEC 60268-16; ISO 9613-1.
Part 60 · The Business of Music (~55)
Story: Follow one stream's fraction of a cent from a phone to a songwriter. On the way it passes two copyrights, four kinds of licence and half a dozen intermediaries, each created when a new machine (the player piano, radio, the sampler, the file, the model) broke the old arrangement.
- Hook: an ear question (did one copy the other?); chance; the business of music; the plan.
- Two copyrights: one song, two works; one composition in two recordings, heard; how long and where; the Tune's own rights; each machine broke the last arrangement.
- Licences and collecting societies: four licences; collecting societies; where a stream's money flows; gaps.
- Where a stream's money goes: one stream, heard; one month divided; a million streams; is that a lot?
- Deals and recoupment: a record deal; recoupment stream by stream; other deals; how musicians are paid.
- Dividing the pool: a simulated service; pro rata against user-centric; why fraud pays; reforms.
- Superstars and cumulative advantage: Rosen and Krueger; MusicLab; the experiment simulated; two worlds' hits, heard; what it means.
- Charts and attention: how the charts count; a long and a short introduction, heard; the attention economy.
- Live music: a quartet, heard; the cost disease; one night's tickets three ways; the ticket market.
- How many melodies are there?: counting melodies; effective numbers; the birthday problem; what makes two melodies the same, heard; in court.
- Sampling and machines: an ear question (sample or replay?); sampling in court; an ear question (folk song or model?); models and rights; voices and styles.
- Frontier: payout reform; training data; the research problem.
- Variation 60: the Tune's family of copyrights and their statements. Outro: problems, payoffs.
Covers: the two copyrights and their rights; collecting societies; deals, advances and recoupment; the
streaming pool and how to divide it; superstars and power laws; social influence and unpredictability; charts;
the cost disease of live performance; ticket pricing; similarity lawsuits and how many melodies there are;
sampling; AI and rights; the map of careers. Everything dated, with jurisdiction, and labelled as not legal
advice.
Built and computed: monochord/business.py: a royalty waterfall on illustrative terms (a million streams at 0.47
cents: 4,655 dollars to rights holders, 224 to each of three songwriters); recoupment (228 million streams for a
150,000-dollar account, the label even at 50 million); pro-rata against user-centric division on a simulated
population (niche artists +108 %, a bot farm paid 7.8 times its fees pro rata); a cumulative-advantage market (Gini
0.43 to 0.61); Baumol's cost disease; three ways to sell a night's tickets; exact collision probabilities of Part 14's
model (52,206 effective eight-note openings against 2.6 × 10¹⁰) and the birthday odds of a shared phrase.
Variation 60: the Tune's own family of copyrights (our recording, a quartet's cover, a remix that samples it), and
each version's statement after a million simulated streams.
Frontier: payout reform; training-data litigation and licensing (verify, dated); a research problem on
calibrated probabilities that a shared phrase arose by chance.
Reading: Passman; Krueger, Rockonomics; Salganik, Dodds & Watts (2006); Baumol & Bowen (1966); Rosen (1981).
Act XI · Listening Machines
Part 61 · Pitch, Onsets and Transcription (~55)
Story: The fourteen-year-old Mozart is said to have written out a guarded nine-voice choral work after one hearing. Making a machine do that has been called the holy grail of music computing. Monochord gives us what the field lacks: unlimited audio with a perfect answer key.
- Hook: an ear question (performance or transcription?); Mozart and the Miserere; answer keys; the plan.
- One voice's pitch: the difference function; the missing fundamental; YIN's steps; the track as a sine, heard; uses.
- Pitch in noise: the sung Tune in three noises, tracked and heard; gross errors against noise; lessons.
- Many notes at once: why chords are hard; an ear question (the added octave); salience; cancellation; the hidden octave.
- Where notes begin: spectral flux; piano and strings, heard; precision against recall; what makes onsets hard.
- Factorizing the spectrogram: NMF and its updates; blind components; note templates; a piece factorized and re-played, heard; limits.
- A network that listens: design; training; results; inside; heard; how many notes at once.
- Timbres never heard: four instruments, heard; the scores; an ear question (the organ); why.
- Keeping score: precision, recall, F; an example; an ear question (missing notes or octave errors); frame scores; what keys contain.
- From notes to a score: seconds and beats; fixed-tempo and drifting-tempo quantization; the tempo curve; heard; key and spelling.
- Fifty years of transcription: early systems; data and benchmarks; the ear.
- Frontier: many instruments; audio to score; the research problem.
- Variation 61: the Tune performed, transcribed and re-rendered, five times round. Outro: problems, payoffs.
Covers: representations for pitch; autocorrelation and YIN; salience; onset detection; non-negative matrix
factorization and its updates; neural transcription; from notes to a readable score; evaluation.
Built and computed: monochord/mir/transcribe.py and neural.py: YIN (missing fundamental found at 220.0 Hz;
gross errors 9 % at 0 dB and 60 % at −5, where autocorrelation keeps 10 %); spectral-flux onsets (F 0.90 piano,
0.74 strings); NMF with piano templates (note F 0.49) and a small network (0.67), both scored on a harp, an organ
and strings they never heard (the network 0.24 on the harp); F against polyphony (0.91 to 0.54); quantization of
rubato with one tempo (1 of 14 onsets right) and with a drifting tempo (14 of 14); Part 15's key finder on the result.
Variation 61: the Tune performed, transcribed and re-rendered, five times round (note F 0.53 after one round,
0.10 after five).
Frontier: multi-instrument transcription (verify current results); score-level output.
Reading: Müller; de Cheveigné & Kawahara (2002); Smaragdis & Brown (2003); Benetos et al. (2019).
Part 62 · Beat, Chords and Structure (~55)
Story: A child can clap along; a program could not do it reliably for decades, and still taps at half or double speed. The part builds the listeners that make DJ software, practice apps and accompaniment systems work, ending with an accompanist that follows a soloist's rubato.
- Hook: an ear question (which click track is on the beat?); how people hear the beat; clapping along; what these listeners run; the plan.
- Where the beats might be: what to listen for; the novelty curve; drums and band, heard; other novelty curves; accents; a tempogram.
- Tempo, and its octave: choosing one tempo with a prior; a slow piece at two tempos, heard; tempo in real performances; which level.
- Tracking the beat: Ellis's dynamic programme; forty years of trackers; the session and a rubato performance tracked, heard; scoring.
- Bars and downbeats: an ear question (where do the bars start?); a clue in the bass; other meters; cues.
- Chroma: folding octaves; relatives; the Tune's chroma, heard; templates; uses.
- Recognizing chords: an HMM and Viterbi; three recognizers compared; confusions a fifth up; what a prior does.
- Time warping: one score, two timings, heard; DTW offline and online; a tempo curve from the path; origins; uses.
- Following a soloist: computer accompaniment; Monochord's accompanist; the follower following; human accompanists; asynchrony.
- Structure: self-similarity, heard; Foote's novelty; repetition (A B A); forms; structure in practice.
- Covers, and how far people agree: an ear question (which is not the Tune?); key-invariant matching; covers in the wild; annotator agreement.
- Frontier: whose meter; joint models; listening live; the research problem.
- Variation 62: the Tune sung freely and accompanied, deaf and listening. Outro: problems, payoffs.
Covers: novelty curves and tempograms; beat tracking by dynamic programming; downbeats; time warping and score
following; chroma; chord recognition with a hidden Markov model (Part 18's matrix as the prior); structure by
self-similarity and repetition; cover-song detection; annotator disagreement as a ceiling.
Built and computed: monochord/mir/rhythm.py: tempo with a prior (100 found on the session; a slow piece at 50
read at 100); Ellis's beat tracker (F 0.94 on the session, 0.58 at best on rubato); chords by templates, an HMM and
an HMM with Bach's transitions (44, 51 and 76 % of frames); DTW alignment (median 13 ms offline and online) and a
live accompanist (a median 96 ms behind the voice); structure from repetition (A B A) where novelty fails;
key-invariant cover matching.
Variation 62: the Tune sung freely, accompanied by a piano that ignores the singer, then by one that listens.
Frontier: expressive and non-Western meter; joint models; live, on-device listening (verify).
Reading: Müller; Ellis (2007); McFee & Ellis (2014); Dannenberg & Raphael (2006).
Part 63 · Finding Music (~55)
Story: In 2002 a Londoner could dial four digits, hold a phone up in a noisy bar, and receive the song's name by text. Matching ten bad seconds against millions of tracks was done with spectrogram peaks and a hash table. The part builds it, then the systems that decide what a billion people hear next.
- Hook: five seconds of a Variation in a noisy bar, named with its offset; how the search began; the plan.
- A constellation of peaks: why not waveforms; a Variation's peaks; the peaks alone, heard.
- Hashes and votes: pairs of peaks as hashes; the table; voting for a clip and an offset; what a match looks like.
- Noise, codecs and chance: one query in three bars, heard; noise curves; how long a query must be, heard; a codec ear question; chance; a hundred million tracks.
- Recordings, not songs: a fresh recording of the Tune; an ear question on a query played 4 % fast; samples under other tracks, heard; a hummed query found by its melody.
- Tags and embeddings: tags; Monochord's embedding; the series on its principal components; an ear question on neighbours; GTZAN's faults.
- Right for the wrong reasons: Clever Hans; an ear question (the hum); the horse's scores; where its weight goes; how to catch a horse.
- Learning from listening: collaborative filtering; the play matrix and its factors; implicit ALS; recall at 10; one listener's recommendations, heard.
- Cold start and exploring: unplayed clips scored from content; a cold clip and its neighbour, heard; exploring.
- Popularity feeding on itself: the feedback loop; inequality over rounds; Lorenz curves; what it means.
- Playlists, fairness and metadata: an ear question (random or ordered?); nearest neighbour and 2-opt; the path on the map; who gets heard; metadata.
- Frontier: foundation models; effects on creators; the evidence so far; the research problem.
- Variation 63: three earlier Variations, five noisy seconds each, named. Outro: problems, payoffs.
Covers: fingerprinting and its false-match arithmetic; robustness to noise, codecs, length, speed and samples;
query by humming; tagging and embeddings; the benchmark that turned out to be flawed, and classifiers that were
right for the wrong reasons; collaborative filtering and implicit feedback; cold start; exploration; popularity
feedback; fairness; metadata.
Built and computed: monochord/mir/finder.py: a fingerprinter over every sound of Parts 1 to 60 (908 clips,
1.15 million hashes): bar noise at 0 dB 61 % named, 8 s queries 81 %, 2 % fast 25 %, a sample 12 dB down 47 %; the
Poisson false-match tail (six chance hits in one place below 10⁻¹⁶ at a hundred million tracks); a hummed query
found first of 30 melodies by its contour; a hum classifier at 83 % that falls to chance; implicit ALS on
simulated listeners (recall at 10: 0.127 against 0.077 for popularity); content for the cold start (0.28 against
0.17); a feedback loop (Gini 0.97, 0.71 exploring, 0.13 without); playlists by nearest neighbour and 2-opt.
Variation 63: three earlier Variations, five noisy seconds each, named (3 of 3).
Frontier: music foundation models (verify); creator-side effects of recommendation.
Reading: Wang (2003); Hu, Koren & Volinsky (2008); Sturm (2013, 2014); Salganik, Dodds & Watts (2006).
Part 64 · Source Separation (~55)
Story: In 2023 a voice was lifted off a 1970s home cassette, away from the piano recorded on the same track, and a finished song was built around it. Separation is the un-baking of a cake. We own the ingredients, so the part can say exactly how well it was done.
- Hook: an ear question (which voice was separated?); the cassette; the plan.
- The mixing model: a mix as a sum; why separation needs assumptions; the test set; the four stems, heard.
- Where things are panned: centre cancellation, heard; a panning index per bin; the session's energy by index.
- Independent components: blind separation; what ICA sees; the session as a cloud; kurtosis by direction; dry and in a room, heard.
- Harmonic and percussive: lines and stripes; the mask; the split, heard; the filter's length; short and long, heard.
- Factorization, again: templates for sources; what they learnt; the stems scored; how many templates; the vocals, heard.
- Masks and their bounds: oracle masks; the masks as pictures; the ceilings; the oracles, heard.
- The phase problem: the mixture's phase; Griffin-Lim, heard; consistent is not correct; an ear question on the phase gap; waveform separators.
- Networks that separate: Monochord's separator; training; heard; every method compared; what a leak is worth.
- Measuring separation: SDR, SI-SDR, BSS Eval; an ear question (same SDR, different faults); a perfect estimate changed, heard; what the numbers miss.
- What separation is for: uses; an ear question on a remix; rights; listeners.
- Frontier: generative and query-based separation; metrics; the research problem.
- Variation 64: the Tune a cappella and as karaoke, separated and true. Outro: problems, payoffs.
Covers: the mixing model; panning and centre cancellation; independent components; harmonic against
percussive; factorization; masks, the Wiener filter and oracle bounds; the phase problem; networks on
spectrograms and on waveforms; metrics and their faults; what it is used for.
Built and computed: monochord/mir/separate.py on Part 56's session: left minus right 11 dB down; ICA perfect
dry (0.99999) and lost in a room (0.12); median filtering (tonal 7.8 dB, 10.1 with long filters); supervised NMF
(vocals 7.7 dB) against the oracles (binary 8.3, ratio 9.3, ratio with true phase 12.7); Griffin-Lim consistent
but −3 dB; a vocal-mask network at 6.9 dB honest and 8.5 leaked; SDR's blind spots (a millisecond late −0.6 dB,
low-passed at 2 kHz 36.6); a remix from separated stems 13.7 dB from the true remix.
Variation 64: the session's Tune a cappella and as karaoke, from the network's stems and from the true ones
(the voice 6.9 dB, the karaoke 10.0).
Frontier: generative and query-based separation; metrics that track perception (verify).
Reading: Vincent, Virtanen & Gannot (eds.); Rafii et al. (2018); Le Roux et al. (2019); Défossez et al.
Part 65 · Machines that Compose (~55)
Story: In 1997 an audience heard three pieces: one by Bach, one by a music professor in Bach's style, one by a program. They took the program's for Bach. The part builds generators from a Markov chain to a transformer and measures the trade nobody escapes: a model that copies less also coheres less.
- Hook: an ear question (which is Bach's?); Hofstadter's concert; the plan.
- Dice, rules and chance: composing machines from 1792 to 2018; three kinds; the corpus split by hymn tune, heard.
- Counting what comes next: Markov chains; bits per note by order; where a tune surprises; three orders, heard.
- Novelty and copying: copying by order against Bach's own; an order-8 copy beside its source, heard; the trade.
- Constraints: why a chain cannot plan; backward messages; free and constrained, heard.
- Recombination: Cope's recombinancy; four chorales in one tune, heard; is it composing?
- Music as tokens: three representations; what the choice trades.
- A transformer: design; training curves; bits against counting; a network that recites, heard; its tunes, heard.
- Temperature: reshaping the odds; an ear question (three temperatures); the measures; other ways to draw.
- Four parts: DeepBach; Monochord's pipeline; a machine's chorale, heard; Bach beside Part 17, heard.
- Judging machines: an ear question (which is copied?); every machine, the same judges; pitfalls; listening tests.
- Frontier: long-range form; control; attribution; the research problem.
- Variation 65: the Tune's first phrase continued at five temperatures, uncurated. Outro: problems, payoffs.
Covers: n-gram models and the novelty-plagiarism curve; constraints; recombination; token representations;
DeepBach's sampling; the Music Transformer's relative attention; temperature and its kin; control; evaluation and its
pitfalls; memorization.
Built and computed: monochord/machines.py on Bach's major chorale tunes (163, 114 hymn tunes, split by tune):
Markov orders 0–8 (3.40 bits a note at order 2, the best); copying by order (order 8: runs of 26 notes, 91 % copied;
Bach's own tunes 11 %); exact constrained sampling (0.66 % of free draws end legally); recombination; AI, Built's
pocket transformer, with and without transposed copies (3.76 and 3.49 bits; trained too long, it recites 40 notes);
temperature (intervals closest to Bach at 1.0); harmonized by Part 17 with no parallels.
Variation 65: the Tune's first phrase continued at five temperatures, uncurated and labelled.
Frontier: long-range form; control; attribution.
Reading: Hiller & Isaacson; Cope; Pachet & Roy (2011); Hadjeres et al. (2017); Huang et al. (2018); Briot et al.,
Deep Learning Techniques for Music Generation.
Part 66 · Generative Audio (~60)
Story: In 2016 a network generated sound one sample at a time, sixteen thousand decisions a second, and its piano noodled nowhere. Eight years later a line of text returned a finished song with a singer, and the record labels went to court. The part explains the ideas that closed the gap and builds the smallest honest version of each.
- Hook: an ear question (the string or its DDSP copy?); from WaveNet to the lawsuits; the plan.
- Why raw audio is hard: a second magnified; the numbers; mu-law, heard.
- One sample at a time: WaveNet; a sample-level network that memorized; a continuation, heard; the lesson.
- Spectrograms and vocoders: a mel spectrogram; rebuilt, heard; how many bands, heard; vocoders.
- Tokens from a codec: vector quantization; residual stages; an ear question (how many tokens?); bits against fidelity.
- Language models over sound: AudioLM, MusicLM, MusicGen; the delay pattern; tokens as a picture; training; a continuation, heard; copying.
- Diffusion: adding and removing noise; a profile drawn; measured and drawn tones, heard; the profiles; latent diffusion.
- Differentiable DSP: the idea; training; a phrase it never heard, heard; its controls; new controls, heard; timbre transfer.
- Singing and cloned voices: singing synthesis; one performance in three voices, heard; cloning; the law (dated).
- Judging generated sound: the Fréchet distance; the table; what it misses; listening tests.
- Watermarks and detection: spread spectrum; an ear question (which is marked?); what the mark survives; detection.
- Frontier: data; the courts (dated); musicians; the unsolved; the smallest honest versions; the research problem.
- Variation 66: sung, re-rendered by DDSP, continued by the token model. Outro: problems, payoffs.
Covers: why raw audio is hard; autoregression on samples; spectrograms and vocoders; discrete tokens and
neural codecs; language models over tokens; diffusion and flow models in a latent space; differentiable DSP;
singing synthesis and voice cloning; evaluation; watermarking and detection; data, consent and what is unsolved.
Built and computed: monochord/genaudio.py: mu-law (37 dB against 18 for equal steps on a quiet phrase); a
sample-level network (8.4 bits a sample on new audio: it memorized); mel and Griffin-Lim (15.4 dB at 64 bands, 8.3
at 256); a residual VQ codec (one to four tokens a frame within 0.2 dB, the phase floor 3.7); a pocket transformer
over codec tokens of 41 minutes of piano (longest copy one second); a diffusion model of harmonic profiles; DDSP on
the string model (6.0 dB away on a phrase it never heard, 24,249 weights); Fréchet distances (the training notes
replayed score best); a spread-spectrum watermark (31 at −35 dB, 25.6 through a coder, lost in a room).
Variation 66: the Tune sung, re-rendered as a string by the DDSP model, and continued by the token model.
Frontier: the frontier is the subject: swept at the writing date.
Reading: van den Oord et al. (2016); Engel et al. (2020); Zeghidour et al. (2021); Agostinelli et al. (2023);
Copet et al. (2023).
Act XII · Coda
Part 67 · Doing Research in Music (~50)
Story: In 1993 a study of thirty-six students reported that ten minutes of Mozart raised a spatial score, and within five years a governor was proposing classical CDs for every newborn in his state. The effect did not replicate as claimed. In another corner of the field a benchmark dataset used in a hundred papers turned out to contain duplicates and mislabels. The part asks how each kind of music research knows what it claims.
- Hook: an ear question (an ABX trial); the Mozart effect's history; the plan.
- Kinds of knowing: six ways and where the series used them; one question six ways; failures and checks.
- Sources and editions: copies of copies; a simulated tradition, heard; a tree from shared errors; an ear question (which copy is corrupt?); other evidence.
- Analysis and the corpus: arguments and counts; two corpora heard; a textbook rule measured on both; corpus studies done well.
- Fieldwork and ethics: learning by taking part; consent and repatriation; transcription; what notation discards, measured.
- Experiments and their literatures: how a literature misleads; a simulated funnel; what readers would believe; p-hacking; remedies.
- Listening tests and their power: the hook's test counted; power by trials; an ear question (a harder ABX); listeners for MUSHRA; panels.
- Datasets, leakage and agreement: a leak measured; this series' leaks and duplicates; annotator agreement; two tappers, heard.
- The series audits itself: five verdicts re-run; a query heard; the weakened verdict; errata.
- Standards and reporting: standards; three pitch standards, heard; units; what to report; a number reproduced.
- Reading papers and practice as research: a method; by subfield; the 1993 paper read; practice as research.
- Frontier: the series' open problems by act; six at random; grouped; how the series could be wrong; finding a problem.
- Variation 67: the critical edition of the Tune. Outro: problems, payoffs.
Covers: sources, editions and attribution; analysis as argument and the corpus turn; fieldwork, transcription
and ethics; experiments, psychophysics and online studies; listening tests; dataset leakage and annotator
ceilings; measurement standards; practice as research; reading a paper in each subfield; finding a problem.
Built and computed: monochord/research.py: a manuscript tradition (19 surviving copies, 7 of 8 groupings
recovered by neighbour joining, the original rebuilt with 1 or 2 wrong); steps 83 % in Bach's chorale tunes
against 67 % in Part 14's tunes; a simulated literature (first significant study 0.86 for a true 0.1; published
pooled 0.27); ABX power (a 60 % listener needs 158 trials); a leak (3.22 against 3.80 bits); the series' audit
(Part 65's best order holds in 7 of 10 splits; four other verdicts hold); 44 open problems read from the parts.
Variation 67: the critical edition of the Tune: as written, as its worst copy has it, and rebuilt.
Frontier: the map of open problems, built from every part's ★.
Reading: Clarke & Cook (eds.), Empirical Musicology; Nettl, The Study of Ethnomusicology; Sturm (2014);
Pietschnig et al. (2010).
Part 68 · The Variations (~39; the finale)
Story: Bach's Goldberg Variations end by playing the opening aria again, the same notes, and it does not sound the same. The series runs its whole chain once, from a score to a listener and back to a score, measures what survives the journey, orders the sixty-seven Variations into a suite and plays it, and ends on one string.
- Hook: an ear question (Variation 1, as Part 1 made it); the Goldberg Variations and the aria da capo; the plan.
- The chain, once more: every link lit; which act built which link; the experiment; what is measured.
- Down the chain: five stages heard and measured; spectrograms; an ear question (16 kbit/s); the coder rate by rate; its fallback band, heard.
- Back up the chain: how the machine listens; settings chosen on other tunes; wrong keys by stage; which notes; a network beside it; the score recovered; an ear question (three recovered scores).
- What survives: the sound's quiet part against the melody's moves; fingerprint, tempo and key; the room alone, heard; why notation kept pitch and time; what the experiment does not show.
- Ordering a suite: the excerpt rule; the map; path lengths; an ear question (the longest and shortest steps); nearest-next, heard; the order chosen. 7–9. The suite in three movements: Acts I–III, IV–VII, VIII–XII.
- What was built: Monochord counted; its layers; how it was checked; what you can now do.
- The ledger: all sixty-eight rows.
- Frontier: Part 1's question; an ear question (two fifths); what is answered; what is open; the last research problem.
- Variation 68, recap, problems, from here, references; Variation 1 again; the end.
Covers: the chain end to end (performance, instrument, room, microphone, master, codec) and back
(onsets, pitch, quantization, key, identification); what the chain preserves (pitch and time) and what it
remakes (space, noise, peaks, band), and why notation chose as it did; ordering pieces into a suite; what was
built; what is still unknown about the question of Part 1.
Built and computed: monochord/roundtrip.py: a line transcriber (onsets by spectral flux or SuperFlux; pitch
by YIN or by the harmonics gained at the onset), edit distance, stage measures, the suite's helpers. Settings
chosen on four other tunes (34 % of keys wrong with YIN, 23 % reading
the onset, 20 % with SuperFlux); the Tune's wrong keys 6 as written,
14 after the master, 12 at 16 kbit/s, with every change of key found as written and
repeated notes the weak spot; Part 58's coder at 16 kbit/s with its fallback band (37 wrong); the suite's
order as made shorter than 99.8 % of random orders; Monochord counted (95 modules,
866 tests, 4.3 hours of sound).
Heard and seen: the suite, ten minutes, every Variation for 8.5 seconds; then Variation 1 again.
Variation 68: the suite itself.
Frontier: why simple ratios sound good: separating the ear's part from the culture's.
Reading: Bach, Goldberg Variations; Müller, Fundamentals of Music Processing; Böck & Widmer (2013);
McDermott et al. (2016).
6. What must exist before Part 1
| Item | Where | Notes |
|---|---|---|
The sound layer: clips, SoundScene, cue sheets |
explainer/music/sound.py |
§3 |
| A music mastering profile and stem mixing | tools/build.py |
narration-only high-pass; fixed music gain; peak gate |
| Sound QA | tools/qa_sound.py, tools/dead_air.py |
sync, overlap, peaks, silence, phone audition |
| Listening time in the length estimate; floor 30, ceiling 60 | tools/lecture_length.py |
reads cue sheets |
| The engraver | explainer/music/staff.py (Staff), explainer/music/notations.py |
the series' own, on the installed FreeSerif music symbols (Part 10); Verovio or LilyPond behind the same interface if the owner chooses (§9) |
| Series registration | explainer/paths.py, tools/series_site.py, tools/make.py, tests/test_series_site.py |
when Part 1 lands |
| Sound in interactives | the widget core, tools/check_widgets.js |
Web Audio, started by a click |
| Optional test references | pyproject.toml extra music-qa |
librosa, mir_eval; never needed to build a film |
| Chapter cards with the Chain and timeline | explainer/music/cards.py |
7. Phases
Production is sequential: one agent, one part at a time, in order, with no parallel fleets. Each part is finished (computed, previewed at 480p, gates clean, course material written) before the next is opened.
- Phase 0, the pipeline. Build §6. Prove it on a two-minute test film: a tone, a click track against flashes, an engraved bar with a playhead, a stereo pan, a listening window, a master that passes the gates on macOS and Linux.
- Phase 1, two pilots. Part 1 (physics and sound) and Part 16 (score, voices and a generator). Their lessons
go into
videos/music/LECTURE_GUIDE.md, the working guide for the series. - Phase 2, Acts I–III (Parts 2–15, 17–22): the foundation every later part calls on.
- Phase 3, Acts IV–VIII (Parts 23–47), each act opened with its frontier sweep and chapter lists, and for Act VI a sources review per tradition.
- Phase 4, Acts IX–X (Parts 48–60): Monochord becomes a studio.
- Phase 5, Act XI and the Coda (Parts 61–68).
- Phase 6, masters. Narrated masters, the Chinese edition if confirmed, the course site with players.
8. Progress
| Date | What landed |
|---|---|
| 2026-11-13 | The plan (this file and README.md). |
| 2026-11-13 | Phase 0: the clip store and loudness meter, SoundScene and cue sheets, stem mixing and the music master in tools/build.py, tools/qa_sound.py, Monochord's first layer (the stiff, lossy, stretching string, checked three ways), the scene instruments of §4 that Part 1 needs, and the test film videos/music/soundcheck/ (picture-to-sound offsets within one frame). |
| 2026-11-13 | Part 1, One String: 15 chapters, 46.9 min narrated (English, 480p preview) of which 3.4 min listening in 40 windows; 3 pause-and-listen questions and a worked example with a predict-pause; Variation 1; Lab 1 and the plucked-string interactive; every gate clean, the narration listen-tested (tools/check_narration.py). Lessons in LECTURE_GUIDE.md. |
| 2026-11-13 | Part 2, Waves in Air: 14 chapters, 33.5 min narrated of which 1.9 min listening in 18 windows; 3 pause-and-listen questions, 3 worked examples with predict-pauses; Variation 2 (six bottles); Lab 2 and the bottle interactive; Monochord's air layer (physics/air.py: gas parcels, sound in a plane, tubes; tests/music/test_air.py); the kits for later parts (monochord/partkit.py, explainer/music/kit.py, tests/music/partcheck.py); every gate clean, narration listen-tested. |
| 2026-11-13 | Part 3, The Spectrum: 13 chapters, 32.5 min narrated of which 1.8 min listening in 15 windows; 3 pause-and-listen questions, 2 worked examples with predict-pauses; Variation 3 (additive); Lab 3 and the Fourier-sum interactive; Monochord's analysis layer (dsp/fourier.py: FFT, windows, STFT, constant Q, uncertainty, noise, reassignment; tests/music/test_fourier.py); every gate clean, narration listen-tested. |
| 2026-11-13 | Part 4, The Ear: 13 chapters, 48.1 min narrated of which 1.9 min listening in 16 windows; 6 pause-and-listen questions, 4 demonstrations to listen for, 8 worked examples with predict-pauses; Variation 4 (no fundamentals, then no octaves); Lab 4 and the missing-fundamental interactive; Monochord's ear (monochord/ear.py: middle ear, long-wave cochlea, gammatone bank, threshold and masking, nerve and autocorrelation pitch, Shepard tones, noise dose, Hopf oscillator; tests/music/test_ear.py); shared scene helpers moved into explainer/music/kit.py; every gate clean, narration listen-tested. Forward references in Parts 2 and 3 corrected to the syllabus numbering. |
| 2026-11-13 | Part 5, Consonance: 12 chapters, 38.7 min narrated of which 2.5 min listening in 16 windows; 6 pause-and-listen questions, 3 demonstrations to listen for, 3 worked examples with predict-pauses; Variation 5 (a bent timbre and its own intervals); Lab 5 and the dissonance-curve interactive; Monochord's consonance layer (monochord/consonance.py: Euler's gradus, beats, the Plomp–Levelt curve, dissonance curves, stretched partials, harmonicity, the fundamental bass; tests/music/test_consonance.py); every gate clean, narration listen-tested. |
| 2026-11-13 | Part 6, Tuning: 12 chapters, 37.3 min narrated of which 2.3 min listening in 16 windows; 4 pause-and-listen questions, 4 demonstrations to listen for, 6 worked examples with predict-pauses; Variation 6 (the Tune with chords in eight tunings); Lab 6 and the temperament interactive; Monochord's tuning layer (monochord/tuning.py: commas, Pythagorean, just, meantone, Werckmeister III, equal divisions, continued fractions, beat rates, the comma pump, stretched octaves; tests/music/test_tuning.py, against Barbour's tables); sustained-tone helpers in partkit.py; every gate clean. |
| 2026-11-13 | Part 7, Strings, Hammers and Bows: 12 chapters, 39.2 min narrated of which 1.7 min listening in 12 windows; 5 pause-and-listen questions, 1 demonstration to listen for, 4 worked examples with predict-pauses; Variation 7 (a guitar, a piano and a violin from one string); Lab 7 and the bowed-string interactive (Schelleng's wedge, simulated in the page); Monochord's string instruments (instruments/strings.py: Karplus–Strong, a felt hammer on a stiff string, coupled unisons, a bowed string with stick-slip friction, Schelleng's limits, the two-mass guitar, bodies as banks of resonances; tests/music/test_strings.py); every gate clean, narration listen-tested. |
| 2026-11-13 | Part 8, Pipes, Reeds and Voices: 12 chapters, 40.6 min narrated of which 1.6 min listening in 15 windows; 6 pause-and-listen questions, 6 demonstrations to listen for, 4 worked examples with predict-pauses; Variation 8 (a flute, a clarinet, a saxophone, a trumpet and a voice, each tuned by being built, blown and trimmed); Lab 8 and the vowel interactive (a two-tube mouth, its formants computed in the page); Monochord's winds (instruments/winds.py: bores by transfer matrices with wall losses and radiation, reflection functions, a reed valve, a lip valve, a jet, a source-filter voice, formants of tubes; tests/music/test_winds.py); every gate clean, narration listen-tested. |
| 2026-11-13 | Part 9, Drums, Bars and Bells: 12 chapters, 34.1 min narrated of which 1.8 min listening in 16 windows; 5 pause-and-listen questions, 7 demonstrations to listen for, 3 worked examples with predict-pauses; Variation 9 (marimba, bells, steelpan and kettledrums); Lab 9 and the drum interactive (where a skin is struck, bare, as a kettledrum and as a tabla); Monochord's percussion (instruments/percussion.py: Bessel modes, a finite-element membrane for any polygon with the isospectral drums of 1992 computed and checked against Driscoll's values, a loaded membrane, a beam solver for carved bars, bells from published partials, Chladni figures, gliding gongs, modal synthesis; tests/music/test_percussion.py); every gate clean, narration listen-tested. Act I is complete. The engraver pilot for Part 10 could not be run in this session: installing Verovio's wheel was refused by the session's permission policy, so the choice of engraver (§9, item 5) is still the owner's to make. |
| 2026-11-14 | Part 10, Writing It Down: 12 chapters, 37.7 min narrated of which 3.4 min listening in 12 windows; 4 pause-and-listen questions, 5 demonstrations to listen for, 1 predict-pause; Variation 10 (the Tune read from ten notations, two to a phrase, and a sixth phrase played by four rules of performance); Lab 10 and the notation interactive (every melody that fits a row of neumes, on a staff, as a piano roll and in numbers); Monochord's score (monochord/score/: spelled pitches and exact durations, MusicXML, MEI, MIDI, ABC, LilyPond and jianpu writers, MusicXML and MIDI readers, contour counts, tablature by dynamic programming, figured-bass realizations, Franco's rules, performance rules, a toy page reader; tests/music/test_score.py, test_notations.py); every gate clean, narration listen-tested. The engraver: with Verovio not installable in this session, the series now has its own (explainer/music/staff.py, tested in tests/music/test_staff.py): one voice to a staff, clefs, key and time signatures, beams, dots, ties, accidentals, ledger lines, rests and words, drawn from the installed FreeSerif music symbols, with a time-to-page map for cursors. It needs no new dependency; it has no chords, slurs or second voices yet, and can be replaced behind the same Staff interface if the owner prefers Verovio (§9, item 5). Part 9's closing line about Guido was corrected (a year or two in place of ten) and its film rebuilt. |
| 2026-11-14 | Part 11, Rhythm and Meter: 12 chapters, 31.6 min narrated of which 4.8 min listening in 19 windows; 5 pause-and-listen questions, 7 demonstrations to listen for, 1 predict-pause, 1 worked example; Variation 11 (the Tune in four, as a waltz, in five, in seven, swung and with a hemiola); Lab 11 and the rhythm interactive (a rhythm slid against the metre's grid, with its syncopation index at every position); Monochord's rhythm engine (monochord/rhythm.py: metric weights, Longuet-Higgins and Lee's index, a pulse finder, polyrhythms, compositions into twos and threes, swing, click trains, the telephone game on rhythms; tests/music/test_rhythm.py), a kit of struck things (instruments/drumkit.py) and the pictures of rhythm (explainer/music/rhythmviz.py: dot grids, necklaces, tick rows, stick notation); every gate clean, narration listen-tested. The first cut ran 27.9 min; five passages were added (taps ahead of the click, off-beats that become beats, a rhythm against itself, rhythm into timbre, animals that keep a beat). |
| 2026-11-14 | Part 12, Scales and Modes: 12 chapters, 31.5 min narrated of which 3.6 min listening in 16 windows; 5 pause-and-listen questions, 4 demonstrations to listen for, 1 predict-pause; Variation 12 (the Tune in the seven modes, brightest to darkest, then in pentatonic, whole-tone and octatonic scales); Lab 12 and the scale interactive (a stack of any generator, its notes round the octave and its sizes of step); Monochord's scales (monochord/scales.py: stacks and their gaps, moments of symmetry, modes and brightness, maximal evenness, interval vectors, deep scales, Myhill's property, transpositions, Burnside counts and the full classification of the 352 shapes, tetrachords, the 72 melakartas; tests/music/test_scales.py) and the pictures of scales (explainer/music/scaleviz.py: keyboards, octave circles, twelve-place clocks, step bars, chains of fifths, interval-vector bars); every gate clean, narration listen-tested. The first cut ran 26.7 minutes; six passages were added (the comma at twelve, the names of the degrees, relative and parallel minor, a random walk on each scale, the neutral third, Burnside on four beads). A claim in the draft, that the diatonic is the only deep seven-note scale, was false (seven consecutive semitones are deep too) and is corrected in the film and tested. |
| 2026-11-14 | Part 13, Intervals and Chords: 13 chapters, 40.0 min narrated of which 3.9 min listening in 27 windows; 4 pause-and-listen questions, 2 predict-pauses; Variation 13 (the Tune over I, IV and V in six voicings: block triads, re-voiced, spread, shells of sevenths, close chords over a bass, a full close); Lab 13 and the chord interactive (a chord moved down the keyboard and spread, with its roughness and the root model's votes); Monochord's chords (monochord/chords.py: written intervals and the line of fifths, chords as stacks of thirds, inversion, figures, Roman numerals, lead-sheet symbols both ways, Parncutt's root model, voicings and low-interval limits from Part 5's roughness, the Tonnetz with P, L and R, a template chord listener; tests/music/test_chords.py), the pictures of chords (explainer/music/chordviz.py: Euler's lattice, bars for the twelve notes, rows of partials), and chords in the engraver: the score model gains Chord, and explainer/music/staff.py draws chords (shared stems, seconds on either side of the stem, accidentals in columns, ties) and a GrandStaff (tests/music/test_staff.py); every gate clean on the first narrated build, narration listen-tested. Two things the numbers changed in the script: the root model does not pick G for B–D–F but ties it with the chord's own notes, and both of Part 5's models rank the augmented triad above the diminished, against listeners, which became the frontier chapter. |
| 2026-11-14 | Part 14, Melody: 14 chapters, 32.5 min narrated of which 4.0 min listening in 18 windows; 3 pause-and-listen questions, 1 demonstration to listen for, 1 predict-pause; Variation 14 (the Tune's first phrase as it is, with neighbour notes, with its leap filled in, with turns, upside down, backwards, and continued as a model expects and as it expects least); Lab 14 and the melody interactive (notes from an urn, with the leap rule counted by where each leap lands); a corpus (monochord/tunes.py: fifty-four traditional tunes in scale degrees with phrase ends, written out for the series) and Monochord's melodies (monochord/melody.py: moves, range and tessitura, phrase shapes and the average arch, what follows a leap in real, shuffled and random tunes, gap-fill, degree transitions, a variable-order Markov model with PPM-style escape and its information content, Zipf's law, sequences, inversion, retrograde, ornaments; tests/music/test_melody.py), and the pictures of melodies (explainer/music/melodyviz.py); every gate clean, narration listen-tested. The silent previews of the first cut summed to about 31 minutes, which would have narrated at about 26, so ten computed passages were added before the first narrated build (one tune in two keys, contour codes, a die, where the top note comes, momentum and where leaps land, the plan of a tune in letters, the guessing game, the easiest and hardest tunes, speech becoming song, memory for melody). What the numbers changed: real tunes turn back after leaps less often than shuffled ones (63 against 79 in a hundred), gap-fill survives the chance test in part (38 against 22), and the highest note of these tunes arrives a quarter of the way through, not two thirds. |
| 2026-11-14 | Part 15, Key: 14 chapters, 34.1 min narrated of which 4.0 min listening in 14 windows; 5 pause-and-listen questions, 2 demonstrations to listen for, 1 predict-pause; Variation 15 (the Tune through all twelve keys, a fifth lower each phrase, each home chord turned into the next key's dominant seventh, ending on a deceptive cadence, with the key finder naming every key); Lab 15 and the key interactive (a key finder you can watch, on seven tunes in any key, with either profile); Monochord's keys (monochord/key.py: Krumhansl and Kessler's and Temperley's profiles, the Krumhansl–Schmuckler and a Bayesian key finder, profiles learnt from a corpus, signatures and relations, key correlations and the torus by classical scaling, a key tracker; tests/music/test_key.py, against the published key distances) and the pictures of keys (explainer/music/keyviz.py); every gate clean (no blank or sparse runs), narration listen-tested. The syllabus planned to score the key finder on the forty-eight preludes and fugues; no score files or score libraries were available offline, so it is scored on the series' fifty-four tunes in all twelve keys, and the README says so. The first cut's silent previews pointed to about 27 narrated minutes, so nine computed passages and a chapter were added before the first narrated build (the minor profile, how children acquire a key, the Tune harmonized by function, perfect and imperfect cadences, the key finder's near misses, signatures, pivot chords counted, the minor key's borrowed dominant, and Does it matter which key?). |
| 2026-11-14 | Part 16, Two Voices: 14 chapters, 34.8 min narrated of which 5.3 min listening in 16 windows; 4 pause-and-listen questions, 1 worked example (counting by hand) and 1 demonstration to listen for; Variation 16 (the Tune as a cantus firmus, in organum and then under a voice in each of the five species); Lab 16 and the counterpoint interactive (any of the 152 good lines over Fux's cantus, a note moved, the rules it breaks); Monochord's counterpoint (monochord/counterpoint.py: Fux's twelve rules as exact predicates, every first-species line counted by dynamic programming and sampled uniformly, a checker, counterpoint below the cantus, species two to five by randomized search, an independence measure; tests/music/test_counterpoint.py, against brute force); every gate clean, narration listen-tested. What the counting found: the rule against parallel fifths and octaves removes nothing that the rule against reaching a perfect interval by similar motion has not already removed (152 lines either way; 410 without the latter). The first cut's silent previews pointed to about 27 narrated minutes, so five computed passages were added before the first narrated build (organum's three stages heard and measured, counting by hand, a line below the cantus, how late a note must be, an ear question on suspensions); writing the line below exposed a bug in the cadence rule for lower voices (no lines at all), now fixed and tested. Bach's Inventions are cited from Huron's corpus studies, not analysed (no score files offline). |
| 2026-11-14 | Part 17, Four Voices: 14 chapters, 32.9 min narrated of which 5.3 min listening in 14 windows; 3 pause-and-listen questions; Variation 17 (the Tune as a chorale, chosen chord by chord and then corrected by the rules); Lab 17 and the harmonizer interactive (the film's search running in the page, its penalties on sliders); Bach's chorales as data (monochord/chorales.py: 364 four-part chorales, pitches, times and fermatas derived from the music21 corpus encodings, grouped by tune and split by tune for fair tests), Monochord's four-part writing (monochord/fourpart.py: the rules for six pairs of voices, chord labels on the beat, a chord model learned from Bach, a Viterbi harmonizer over chords and voicings, evaluation against Bach; tests/music/test_fourpart.py) and a four-part choir from Part 8's voice (instruments/choir.py); every gate clean, narration listen-tested. What the counting found: Bach writes parallel fifths or octaves once in 391 changes of chord, mostly between the beats; on 83 chorales whose tunes it never saw, the harmonizer finds his chord 41 times in a hundred and his bass 35, writes no parallels (a chord-chooser writes 769), and moves its inner voices about half as much as Bach. The first cut's harmonizer was tuned on a validation split (bass agreement 28 to 40 in a hundred) and then given a unison penalty after it doubled the soprano far more often than Bach; three passages were added before the build (the whole chorale, figured bass, a third ear question). Part 16's narrator had read "Fux" as an English word; the lexicon now says "fooks" and the film was rebuilt. |
| 2026-11-14 | Part 18, Progressions: 14 chapters, 30.3 min narrated of which 3.8 min listening in 14 windows; 3 pause-and-listen questions and a predict-pause (the guessing game); Variation 18 (the Tune over the Romanesca, the chromatic lament and two pedals); Lab 18 and the progression interactive (four chords voiced, labelled and scored in bits by the model of pairs learned from Bach); Monochord's syntax of harmony (monochord/progression.py: functions and root motion counted, n-gram chord models scored on chorales held out by tune, runs of fifths, harmonic rhythm with a shuffled control, Campion's rule of the octave and a partimento realizer, eight galant schemata realized, a schema detector with shuffled controls, ground basses; tests/music/test_progression.py); every gate clean, narration listen-tested. What the counting found: the cycle T, S, D, T outnumbers its reverse 3,446 to 1,038; roots fall by fifths 39 times in a hundred; the chord before saves 1.5 bits a chord against a shuffled order (3.4 against 4.9); the weak beats hold the chord (65 and 60 in a hundred change, against about 77 when the chords are shuffled); Bach's chords on stepwise basses lie within the rule of the octave 49 times in a hundred; and a strict detector finds 13 galant schemata in 185 major chorales (2 in shuffled ones), the wrong corpus for them, which the film says. The first narrated build ran 29.6 minutes, under the gate; the shuffled control for harmonic rhythm was added and five sparse openings filled. |
| 2026-11-14 | Part 19, Chromatic Harmony: 14 chapters, 31.8 min narrated of which 4.1 min listening in 12 windows; 3 pause-and-listen questions (the Neapolitan, the trapdoor, the comma); Variation 19 (the Tune with mixture and applied dominants, in minor with the Neapolitan, and through a diminished-seventh trapdoor into A♭); Lab 19 and the pathfinder interactive (the shortest way between any two keys, with and without enharmonic doors, the route played); Monochord's chromatic toolkit (monochord/chromatic.py: applied dominants, mixture, the Neapolitan, augmented sixths, the diminished seventh and its eight keys, the German sixth as a dominant seventh, pure stacks against the octave, P, L, R and the hexatonic cycle, a breadth-first pathfinder over the 24 keys, Lerdahl's chord distance and tension curves, the Tristan chord's voice leading; tests/music/test_chromatic.py); every gate clean, narration listen-tested. What the counting found: applied dominants on 934 of 10,014 beats of Bach's major chorales, mixture on only 70, while 105 of the 116 minor chorales that end on their tonic end major (the Picardy third); the three diminished sevenths share out all 24 keys; with pivot chords 11 keys are one step from C, with the doors 19; four pure minor thirds overshoot the octave by 62.6 cents. The first narrated build's dead-air report found six listening windows with a still picture and five sparse openings; they were filled and the film rebuilt. |
| 2026-11-14 | Part 20, Canon and Fugue: 14 chapters, 32.8 min narrated of which 3.9 min listening in 15 windows; 3 pause-and-listen questions; Variation 20 (the Tune as a canon at the fourth below, a crab canon and a three-voice fugue exposition); Lab 20 and the canon interactive; Monochord's canons (monochord/canon.py: the four forms of a line and their group, rounds judged on strong beats, canons at every interval counted exactly by dynamic programming and sampled, crab canons counted from both ends, invertible counterpoint, augmentation, real and tonal answers, a Viterbi search for free voices, strettos; tests/music/test_canon.py, against brute force); sound and picture gates clean. What the counting found: Frère Jacques, Row, Row, Row Your Boat and Three Blind Mice, the known rounds, rank 1st, 3rd and 4th of Part 14's 54 tunes sung against themselves; of 738,663,910 twelve-note melodies, 1,378,924 make a canon at the fifth two beats later and 479,936 at the fourth; crab canons grow about 25-fold for every two notes. The narration listen-check was deferred to the end of the build queue (it ran too slowly beside the renders). |
| 2026-11-14 | Part 21, Form: 14 chapters, 32.4 min narrated of which 5.6 min listening in 13 windows; 3 pause-and-listen questions; Variation 21 (the Tune as a miniature sonata whose second theme is its own first phrase, inverted); Lab 21 and the form interactive; Monochord's form layer (monochord/form.py: chroma from notes and from sound, self-similarity matrices, Foote's novelty curve and its peaks, boundary scores within a tolerance, section labels, repetition rates against a shuffled control, golden-section base rates; tests/music/test_form.py); sound and picture gates clean. What the measuring found: from the sound alone the novelty curve finds 9 of the miniature sonata's 11 boundaries within two beats, hardly any between variations that keep their harmony, and never the seam between a passage and its own repeat; Part 14's tunes repeat a four-note figure on 32 notes in a hundred, against 1 when shuffled; a golden-section division turns up by chance one time in six. |
| 2026-11-14 | Part 22, Analysis: 14 chapters, 35.4 min narrated of which 5.4 min listening in 11 windows; 3 pause-and-listen questions; Variation 22 (the Tune's skeleton, a note every four beats, regrown along a different derivation of the elaboration grammar: 12 notes grown into 37); Lab 22 and the grammar interactive; Monochord's grammars (monochord/grammar.py: preference-rule grouping and time-span reduction, a probabilistic context-free grammar of harmony after Rohrmeier, CYK parsing and tree counts, inside-outside training on Part 17's chorales cut at their fermatas, the elaboration grammar run forwards); sound and picture gates clean. What the measuring found: three grouping rules put the Tune's five strongest boundaries on its five phrase ends; 22 of Part 14's 51 major tunes end on a stepwise descent to the tonic, against about 3.4 when shuffled; on 231 held-out phrases the six-rule grammar predicts chords no better than no context at all (3.90 bits against 3.93), while chord pairs reach 3.33 and a grammar with 12 invented symbols 3.46. Act III is complete. |
| 2026-11-14 | Part 23, Chant to Polyphony: 15 chapters, 41.8 min narrated of which 4.4 min listening in 17 windows; 3 pause-and-listen questions; Variation 23 (the Tune as chant, as organum at the fifth below, and as the color of an isorhythmic motet: 7 pitches through a talea of 4 notes, meeting again after 28); Lab 23 and its interactive; Monochord's medieval theory (monochord/medieval.py: the eight modes and a mode classifier, the gamut and solmization by fewest mutations, the Enchiriadis rule, the six rhythmic modes and ligatures, Franco's imperfection and alteration, the four mensurations, an isorhythm engine and talea scans; tests/music/test_medieval.py) and 89 fourteenth-century transcriptions from the music21 corpus (monochord/trecento.py); sound and picture gates clean. What the counting found: on the beat 59 in 100 intervals are perfect and 8 dissonant, off it 34 and 23; parallel fifths and octaves 2.9 in 100 moves against Bach's 0.05; 88 of 89 pieces end on bare fifths and octaves; de Vitry's Lugentium siccentur repeats its tenor 98 bars in 100 at a period of 33, against 72 by chance; the Landini cadence 173 times, 69 of them Ciconia's. |
| 2026-11-15 | Part 24, The Renaissance: 14 chapters, 35.0 min narrated of which 3.2 min listening in 13 windows; 3 pause-and-listen questions; Variation 24 (the Tune as a four-voice point of imitation: four entries four beats apart, and after the last entry 12 of 12 beats consonant above the bass); Lab 24 and its interactive; Monochord's Renaissance tools (monochord/palestrina.py: a dissonance classifier, melodic and sonority censuses, an imitation detector, twelve stylometric features with a nearest-centroid leave-one-out test; monochord/renaissance.py: a Humdrum reader and Palestrina's 1,318 Mass movements and Monteverdi's 48 madrigals from the music21 corpus); sound and picture gates clean. The attribution test runs on secure works, not on Josquin (no corpus was available offline), and the film says why. |
| 2026-11-15 | Part 25, The Baroque: 12 chapters, 34.8 min narrated of which 4.0 min listening in 14 windows; 3 pause-and-listen questions; Variation 25 (the Tune as a French overture and as a chaconne: a ground of 8 bass notes heard twice, the reprise adding 26 ornament notes to 14); Lab 25 and its interactive; monochord/baroque.py (Galilei's strings and Mersenne's law, figures recovered from upper parts and re-realized on Corelli's Op. 3 No. 1, a ritornello finder, key colours in any temperament, ornaments, inequality and overdotting, a fundamental bass under a chorale); sound and picture gates clean. |
| 2026-11-15 | Part 26, The Classical Style: 11 chapters, 35.0 min narrated of which 2.7 min listening in 12 windows; 3 pause-and-listen questions; Variation 26 (our own Classical set: theme with Alberti bass, minore, adagio and finale, with 14, 14, 28 and 26 melody notes); Lab 26 and its interactive; monochord/classical.py (authentic cadences and phrase gaps, who leads each bar, accompaniment figures, eight style features, windowed tonal plans, Part 24's attribution test with a permutation null, on the music21 corpus's quartet movements); sound and picture gates clean. K. 265 and the tempo study's data were not available, so both are described rather than recomputed. |
| by 2026-11-15 | Parts 27 to 68, recorded together at the end: lengths are tools/lecture_length.py estimates (listening included), not narrated cuts; previews at 480p were queued as each part landed. |
| by 2026-11-15 | Part 27, The Romantic Century: 12 chapters, 32.7 min estimated of which 3.5 min listening; 3 pause-and-listen questions; Variation 27 (as a nocturne, as a Lied, and as a leitmotif transformed); its lab, interactive and problems. |
| by 2026-11-15 | Part 28, New Scales, New Rhythms: 12 chapters, 31.8 min estimated of which 2.9 min listening; 3 pause-and-listen questions; Variation 28 (in whole-tone planing, then over an octatonic ostinato with moving accents); its lab, interactive and problems. |
| by 2026-11-15 | Part 29, Twelve Tones: 12 chapters, 31.5 min estimated of which 3.7 min listening; 3 pause-and-listen questions; Variation 29 (as a twelve-tone row grown from its own intervals, then scattered in points); its lab, interactive and problems. |
| by 2026-11-15 | Part 30, Sound Itself: 11 chapters, 31.1 min estimated of which 3.8 min listening; 3 pause-and-listen questions; Variation 30 (phased against itself, as a cloud of glissandi, and on the harmonics of a string); its lab, interactive and problems. |
| by 2026-11-15 | Part 31, Transformations: 10 chapters, 31.3 min estimated of which 3.5 min listening; 3 pause-and-listen questions; Variation 31 (harmonized by a walk on the Tonnetz); its lab, interactive and problems. |
| by 2026-11-15 | Part 32, The Geometry of Chords: 12 chapters, 31.5 min estimated of which 2.6 min listening; 4 pause-and-listen questions; Variation 32 (harmonized by the shortest paths, then rerouted through chromatic chords); its lab, interactive and problems. |
| by 2026-11-15 | Part 33, The Mathematics of Rhythm and Scale: 12 chapters, 34.8 min estimated of which 3.4 min listening; 3 pause-and-listen questions; Variation 33 (as a Vuza canon, rung in plain hunt, and in Bohlen–Pierce); its lab, interactive and problems. |
| by 2026-11-15 | Part 34, Raga and Tala: 12 chapters, 31.1 min estimated of which 3.9 min listening; 3 pause-and-listen questions; Variation 34 (as Bilawal: an alap over the drone, then a gat in Teentaal with a tihai); its lab, interactive and problems. |
| by 2026-11-15 | Part 35, Maqam: 12 chapters, 31.1 min estimated of which 4.1 min listening; 3 pause-and-listen questions; Variation 35 (in Rast, Bayati and Hijaz, after a taqsim); its lab, interactive and problems. |
| by 2026-11-15 | Part 36, Bronze and Silk: 12 chapters, 31.0 min estimated of which 4.4 min listening; 3 pause-and-listen questions; Variation 36 (in qin harmonics, then as balungan with interlocking parts); its lab, interactive and problems. |
| by 2026-11-15 | Part 37, Timelines: 12 chapters, 42.1 min estimated of which 7.1 min listening; 3 pause-and-listen questions; Variation 37 (as an inherent pattern of two interlocking parts, then over the standard pattern); its lab, interactive and problems. |
| by 2026-11-15 | Part 38, Blues and Swing: 12 chapters, 33.9 min estimated of which 7.6 min listening; 3 pause-and-listen questions; Variation 38 (as a twelve-bar blues, a rag and a riff chart); its lab, interactive and problems. |
| by 2026-11-15 | Part 39, Changes: 12 chapters, 31.6 min estimated of which 5.5 min listening; 3 pause-and-listen questions; Variation 39 (as a bebop head, with an improvised chorus, then through three keys a major third apart); its lab, interactive and problems. |
| by 2026-11-15 | Part 40, The Song: 12 chapters, 33.7 min estimated of which 6.4 min listening; 3 pause-and-listen questions; Variation 40 (as a pop single, then as a beat that samples Variation 7); its lab, interactive and problems. |
| by 2026-11-15 | Part 41, Orchestration: 12 chapters, 31.3 min estimated of which 4.0 min listening; 3 pause-and-listen questions; Variation 41 (in eight orchestrations, the last matched to a vowel); its lab, interactive and problems. |
| by 2026-11-15 | Part 42, Composing: 12 chapters, 35.5 min estimated of which 5.3 min listening; 3 pause-and-listen questions; Variation 42 (composed by the searcher from its first four notes, with what it threw away); its lab, interactive and problems. |
| by 2026-11-15 | Part 43, Performing: 12 chapters, 34.4 min estimated of which 5.7 min listening; 3 pause-and-listen questions; Variation 43 (as written and as performed: the same notes, the differences drawn); its lab, interactive and problems. |
| by 2026-11-15 | Part 44, Music for Picture and Play: 12 chapters, 31.6 min estimated of which 4.9 min listening; 3 pause-and-listen questions; Variation 44 (as a cue on a hit point, as a leitmotif in three moods, as an adaptive loop); its lab, interactive and problems. |
| by 2026-11-15 | Part 45, The Scene: 12 chapters, 34.5 min estimated of which 3.4 min listening; 3 pause-and-listen questions; Variation 45 (hidden in another line, then released by timbre and by register); its lab, interactive and problems. |
| by 2026-11-15 | Part 46, Expectation and Emotion: 12 chapters, 30.9 min estimated of which 5.0 min listening; 3 pause-and-listen questions; Variation 46 (with three endings: expected, delayed, denied); its lab, interactive and problems. |
| by 2026-11-15 | Part 47, Origins and Universals: 14 chapters, 45.2 min estimated of which 3.5 min listening; 5 pause-and-listen questions; Variation 47 (through thirty simulated singers); its lab, interactive and problems. |
| by 2026-11-15 | Part 48, Digital Audio: 13 chapters, 34.2 min estimated of which 2.8 min listening; 4 pause-and-listen questions; Variation 48 (at 16, 8, 4 and 1 bit, with and without dither); its lab, interactive and problems. |
| by 2026-11-15 | Part 49, Filters, Delay and Reverb: 13 chapters, 31.1 min estimated of which 2.4 min listening; 3 pause-and-listen questions; Variation 49 (dry, then in a tiled room, on a plate, on a spring and in a cathedral); its lab, interactive and problems. |
| by 2026-11-15 | Part 50, Dynamics, Distortion and Pitch: 13 chapters, 31.1 min estimated of which 3.4 min listening; 3 pause-and-listen questions; Variation 50 (sung, hard-tuned, vocoded and stretched eightfold); its lab, interactive and problems. |
| by 2026-11-15 | Part 51, Synthesis I: Oscillators and Filters: 13 chapters, 40.3 min estimated of which 2.8 min listening; 3 pause-and-listen questions; Variation 51 (switched on: four monophonic tracks, one patch each); its lab, interactive and problems. |
| by 2026-11-15 | Part 52, Synthesis II: FM, Grains and Physical Models: 13 chapters, 34.0 min estimated of which 2.5 min listening; 3 pause-and-listen questions; Variation 52 (on FM keys and bells, dissolved into grains and back); its lab, interactive and problems. |
| by 2026-11-15 | Part 53, MIDI, Sequencers and the DAW: 13 chapters, 31.7 min estimated of which 2.1 min listening; 3 pause-and-listen questions; Variation 53 (as a tracker module and a tempo canon at 3 : 4 : 5 : 6); its lab, interactive and problems. |
| by 2026-11-15 | Part 54, Microphones and Loudspeakers: 13 chapters, 32.1 min estimated of which 2.2 min listening; 3 pause-and-listen questions; Variation 54 (through three microphone patterns and three loudspeakers); its lab, interactive and problems. |
| by 2026-11-15 | Part 55, Rooms and Space: 13 chapters, 47.1 min estimated of which 2.6 min listening; 3 pause-and-listen questions; Variation 55 (walked through four spaces, then circling the listener); its lab, interactive and problems. |
| by 2026-11-15 | Part 56, Recording and Mixing: 13 chapters, 37.3 min estimated of which 4.6 min listening; 3 pause-and-listen questions; Variation 56 (the session mixed three ways); its lab, interactive and problems. |
| by 2026-11-15 | Part 57, Mastering and Loudness: 13 chapters, 31.9 min estimated of which 4.8 min listening; 3 pause-and-listen questions; Variation 57 (an album side, and one war-mastered beside itself); its lab, interactive and problems. |
| by 2026-11-15 | Part 58, Compression for the Ear: 13 chapters, 32.5 min estimated of which 3.7 min listening; 4 pause-and-listen questions; Variation 58 (at five bit rates, and the residue alone); its lab, interactive and problems. |
| by 2026-11-15 | Part 59, Live Sound: 13 chapters, 31.5 min estimated of which 3.2 min listening; 4 pause-and-listen questions; Variation 59 (at an arena: front of house, the back row, the car park); its lab, interactive and problems. |
| by 2026-11-15 | Part 60, The Business of Music: 13 chapters, 33.3 min estimated of which 4.5 min listening; 3 pause-and-listen questions; Variation 60 (the Tune's family of copyrights: a recording, a cover, a remix); its lab, interactive and problems. |
| by 2026-11-15 | Part 61, Pitch, Onsets and Transcription: 13 chapters, 31.3 min estimated of which 3.9 min listening; 4 pause-and-listen questions; Variation 61 (performed, transcribed and re-rendered, five times round); its lab, interactive and problems. |
| by 2026-11-15 | Part 62, Beat, Chords and Structure: 13 chapters, 30.3 min estimated of which 3.8 min listening; 3 pause-and-listen questions; Variation 62 (sung freely, and accompanied live by a machine that listens); its lab, interactive and problems. |
| by 2026-11-15 | Part 63, Finding Music: 13 chapters, 31.4 min estimated of which 3.2 min listening; 5 pause-and-listen questions; Variation 63 (three earlier Variations, five noisy seconds each, named); its lab, interactive and problems. |
| by 2026-11-15 | Part 64, Source Separation: 13 chapters, 31.9 min estimated of which 7.0 min listening; 4 pause-and-listen questions; Variation 64 (a cappella and karaoke, separated, beside the true stems); its lab, interactive and problems. |
| by 2026-11-15 | Part 65, Machines that Compose: 13 chapters, 32.6 min estimated of which 7.7 min listening; 3 pause-and-listen questions; Variation 65 (the Tune's first phrase continued at five temperatures, uncurated); its lab, interactive and problems. |
| by 2026-11-15 | Part 66, Generative Audio: 13 chapters, 31.4 min estimated of which 3.8 min listening; 3 pause-and-listen questions; Variation 66 (sung, re-rendered as a DDSP string, and continued by a token model); its lab, interactive and problems. |
| by 2026-11-15 | Part 67, Doing Research in Music: 13 chapters, 33.3 min estimated of which 4.5 min listening; 3 pause-and-listen questions; Variation 67 (a critical edition: the Tune, a corrupt copy, and the original rebuilt); its lab, interactive and problems. |
| by 2026-11-15 | Part 68, The Variations: 13 chapters, 43.0 min estimated of which 14.6 min listening; 5 pause-and-listen questions; Variation 68 (the suite: every Variation, in the order they were made); the series is complete in script and computation; its lab, interactive and problems. |
Still open from §6: slurs and a second voice on a staff in the series' engraver (needed from Parts 14
and 16; chords and the grand staff landed with Part 13), tools/make.py registration, the optional music-qa extra. Not yet done for
Part 1: the 1080p master (the narrated film has been built and gated at 480p), a human listening pass (every
sound so far has been judged by measurement and by spectrogram, none by ear), and the Chinese edition (Phase 6).
Changes to the plan made by the pilot.
- Levels are set by the loudest 400 ms, not by integrated loudness (§3), because plucked sounds are peaky.
- The narration alone passes a limiter (§3); the music still never does.
- The subtitles carry a line for every listening window (
[sound: lower, upper, both, physical model]), written from the cue sheets, so the film can be followed with the sound off (§1, See what you hear). - Parts 2 and 3 run 33 minutes, under the ~40 and ~50 first planned: fourteen and thirteen chapters of two to three minutes. The gate (30 to 60) is met; from Part 4 on, a part is drafted at 6,500 words or more.
- The narrator reads about 172 words a minute, not 140: a silent preview (which keeps time at 140) of Part 1 runs
57 minutes, the narrated film 47.
tools/lecture_length.pynow estimates the series at the measured pace.
9. Decisions for the owner
2026-11-13: the owner read the plan and said to proceed. Production therefore runs on the proposed defaults: items 1, 2, 4, 6 and 7 as written; item 3 English first, Chinese in Phase 6; item 5 after the engraver pilot, before Part 10. Any of them can still be changed; the Tune (item 1) is the only one that gets more expensive to change with every part.
- The Tune. Ah! vous dirai-je, maman is proposed for the reasons in §2.2. The alternative is a theme written for the series. A familiar tune makes every transformation audible to everyone; an original one avoids the nursery association.
- The rights rule (§2.4): own renderings of public-domain scores and original pastiche only, no third-party recordings as music, no performance of works in copyright. It limits Parts 28–30 and 38–40 to analysis, statistics and pastiche. Confirm, or name the exceptions to pursue with licences.
- Languages. English and Chinese as planned, or English first.
- The number of parts. Sixty-eight is the comprehensive plan. A fifty-part cut would merge 8–9, 23–24, 34–37 into two, 51–52, 61–62, and 65–66, and fold 67 into 68.
- The engraver. Part 10 was built with the series' own engraver (
explainer/music/staff.py), which needs no new dependency, because installing Verovio's wheel was refused by the build session's permission policy. It draws one voice to a staff and will have to grow chords, slurs and second voices for Parts 13 to 22. The alternative is still open: approve one dependency (Verovio's wheel, or a system LilyPond) and the scenes keep working, since they use only theStaffinterface. - The compute exceptions for Parts 64 and 66 (up to 6 h and 8 h on CPU, resumable), or smaller models with weaker results.
- Length. The gate is 30–60 minutes including listening windows; Part 68 is planned at the ceiling.