Key-relations — the series
-
Keys are neighbours, and the map is computed
Two keys a fifth apart share six of their seven notes. That single fact generates the circle of fifths, the key signatures, the shape of nearly every modulation, and the sense that some keys are far away.
-
The key plan is the form
The large shape of a classical movement is not a shape at all, it is a journey — out to one key and back. Which key is not a matter of taste. Of the two keys that share six of their seven notes with home, only one introduces a note the home key does not use in any of its chords, and that note is the arriving key's own leading note. The departure is audible because of one accidental.
-
Three ways to measure how far a key is
Notes in common and steps round the circle of fifths are the same measurement — among the twelve major keys the first is seven minus the second until it bottoms out. Voice-leading distance between the tonic triads is a different one, and it disagrees in exactly one place: E and A♭ are four steps from C, share three of its seven notes, and are two semitones away, which is nearer than the dominant.
-
How much evidence a modulation needs
Run a key-finder bar by bar over a progression that moves to the dominant at bar six. With four bars of history the answer becomes the new key at bar seven and holds. With three bars it never gets there at all, and reports E minor and B minor on the way. The window decides the lag as much as the music does.
-
The circle is a circle, and the map is not
Among the twelve major keys, notes in common is a strict function of distance round the circle of fifths — one value for each step count, no exceptions — so there is nothing else to measure and the map really is one-dimensional. A second axis appears only when the minor keys are added, and it is a different kind of move: the relative shares all seven notes and the parallel is one semitone away.
-
Two keys at once
Every key figure so far assumes one key is sounding, and the standard key-finder has no value it can return that means two. Play one progression in C and the same progression a major third away at the same time, and the model does not report uncertainty: it reports E minor, at a correlation of 0.886, against 0.959 for the same progression in one key. It is as confident as it ever is, and neither key it names is being played. Give it the missing hypothesis — pairs of key profiles rather than single ones — and it recovers both keys at every separation, all seven of seven.
-
The alternation a key-finder cannot follow
Two keys sounding together are not in the key-finder's vocabulary, and an earlier essay ended by pointing at the other case and saying what was missing: a passage whose alternation rate can be varied while everything else is held still. Built, it gives a rule with three numbers in it — the second key is never named below a block of three bars, the tracking clears ninety per cent above twice the window, and the reading is late by half the window throughout.
-
A key-finder that keeps the order
Every key-finding model until now begins by throwing order away — a histogram over a window, correlated against twenty-four profiles — and the thing that most obviously declares a key is an ordered pair of chords. A model that keeps the order costs 84 states and 7,056 transitions against 24 hypotheses and none, and what it buys is the one test a histogram was said not to pass: two keys in turn and two keys at once have histograms 98 per cent alike, and are two different sequences.
-
A modulation and a borrowing are one number apart
The key-finder that keeps the order has one tuned parameter, and said so. Sweep it and the parameter turns out to be the whole verdict: below a threshold the model hears two keys alternating, above it one key with borrowed chords. The threshold rises with how slowly the keys alternate — and the value it chose sits above every threshold in range, so its finding about fast alternation was a consequence of the tuning.
-
The margin the dynamic program already had
Nine earlier essays produce a single best reading, and the passages worth arguing about are the ones where two readings are nearly equally good. What is needed for that has been inside the model from early on: a dynamic program that finds a best path has, by construction, the best score into every state at every bar — so the gap between the best reading and the best reading in any other key is already computed, and printing it turns every analysis here into a measurement of ambiguity.
-
How much of the reading arrives late
Every margin reported earlier is two-sided: the best path through a key at a bar is the score into it plus the score onward from it, and the second half uses bars a listener has not heard. Dropping that term is one line. On a thirty-two-bar song it removes more than half the certainty, and on a passage built to be ambiguous it changes the key named at nine bars out of eleven.
-
The listener who forgets
Setting an analyst's reading of a key against a listener's measures what arrives late. Both passes assume perfect recall of their own half — which is as wrong going forward as knowing the future is going back. Put a decay on the forward pass and a listener with a memory of a few bars keeps a quarter of the confidence and nine tenths of the answers.
-
The bars a key is made of
A discount that treats every bar alike is the wrong shape for a memory, so take each bar away in turn and see what it was worth. The bars an analysis points at carry seven times as much of the answer as the ordinary ones and slightly less of the certainty — and a memory built only of them reads the passage worse than a memory with no structure in it at all.
-
The key-finder with no tonic
Thirteen essays of key-finding have run over twelve major collections and not twenty-four keys, so a passage in A minor is read as C. Adding the missing twelve costs almost nothing and fixes almost nothing — because the model has no tonic in it at all, and below three raised sevenths in a passage the extra states are worth exactly zero.
-
A tonic bought with the function
Putting the measured probe-tone profile inside the ordered key-finder is one term, and it does what was predicted: the natural-minor passage is named A minor at every bar instead of C major. It also does two things nobody predicted. It renames a scheme that has been read in the wrong key at every bar since the day it was written, and it destroys the chord's function while it is buying the key.
-
Two cues meet in a corner
The profile finds a key's tonic and the bass finds a chord's degree, and until now each was swept with the other held at nothing. Swept together across 42 settings, the plane they make is not the ridge that was predicted. The tonic is a step in one direction, at a profile share of 0.55, and the bass cannot move it; the degree is a slope in the other, rising to 89 per cent as the bass is weighted, and the profile barely touches it. Every question is answered only in a corner of the plane — and the one place the two cues overlap is the one piece of music both can rescue.
-
A bass line is not a list of roots
Every bass note the key-finder has been given was its chord's root, and under that line a bass cue reads 89 per cent of scheme bars on the right degree. Give the same chords an economical bass that moves to the nearest chord tone, as a keyboard reduction would, and nearly half of them are inverted. The cue that rewards the triad rooted on the bass then reads 68 per cent at best and worse as it is trusted more; the cue that rewards any triad containing the bass cannot be fooled and stops at 61. The same inverted line does one thing the roots never did: it puts the leading note of each new key at the bottom, and finds the rondo's modulations.
-
Given the bar in octaves, the degree comes back
A bass note is a bare pitch class in the usual figure, and a register in any realisation anybody plays. Voice each bar in octaves and a listener knows which three pitch classes are sounding and which is at the bottom, which names the chord outright — and the rule that uses it reads the right scale degree in 92 per cent of bars on a real bass line, against 68 for the published cue on the same line and 89 for that cue on a line made entirely of roots. The question was whether the register recovers the 89. It recovers it and passes it.
-
A sharper cue is worth nothing to a reading that moves
The rule that names the chord outright reads 92 per cent of scale degrees right where the published bass cue reads 68 — at the key cost these readings have always been run at. Sweep that cost and the advantage is not a property of the cue. Where a change of key is cheap the sharp rule reads 46 per cent and the vaguest rule 47, because a reading that will move key on one bar's evidence follows a sharp cue wherever it points. The cue's whole value is borrowed from the model's reluctance to be moved.
-
The two parameters turn out to have a ceiling between them
The essay before this one asked whether the bass cue's weight and the cost of changing key are one quantity with two names, and said the test was a contour: if they multiply, the curves of equal degree share are hyperbolae. They are not. Along the ninety per cent contour the product of the two runs from 2.7 to 15.2, because past a bass weight of about one and a half the reading saturates and more cue buys nothing. And the sweep finds something no single-parameter sweep here could: the key cost has a best value, and a reading that will never change key is worse than one that will.
-
The ceiling is thirteen bars with names
The key-finder's two cues stop buying anything at about 93 per cent of scheme bars read right, and the obvious suspect was the chord segmentation feeding it. The reading was never given a segmentation: every bar arrives with its true chord. What the ceiling is made of can be listed instead, and it is thirteen bars of 188 — seven in a bridge of secondary dominants, four in a minor episode whose chords C major also owns, and two at the edges of a modulation. No weight of any cue moves one of them.
-
The bridge is not a labelling problem
Seven of the key-finder's thirteen remaining misses are the thirty-two-bar song's bridge, and the essay before this one proposed that they might be an argument about labels rather than a failure: relabel the eight bars with the keys their dominants point at, and the reading's E and D majors might turn out to be right. They do not. The reading gets one bar of eight under either label, because four of the eight are read as the chord's own root taken for a tonic — a dominant seventh heard as a chord in its own right. And one of the bars the relabelling could have bought is unwinnable in principle: an applied dominant is the same four notes in the major and the minor of the key it points at.
-
Looking ahead rescues the relative minor, not the bridge
A key-finding reading that scores each bar by its own notes cannot hear an applied dominant, whose meaning is in the bar after it. Given one cue about a pair of bars — a dominant earns credit when the next bar is rooted on its key's tonic — the thirty-two-bar song's bridge is read as the chain of dominants it is, each chord both the arrival of the last and the departure to the next. But the same cue hears a blues's opening tonic seventh as the dominant of its own IV, and at the setting that read the listing best it costs five bars for three. The cue earns its place only in a reading reluctant to change key, and there what it rescues is the rondo's episode in the relative minor.
-
A second slot hears every modulation as a tonicization
A key-finder that names one key per bar reads a chain of applied dominants by moving the key with every chord. Give its state a second slot — the key a bar is in, and the key its dominant points at — and the thirty-two-bar song's bridge is read exactly as the scheme labels it, every bar, for the first time in these essays, and the blues's opening stays in its tonic. At every setting that does that, the rondo's two eight-bar episodes are heard as tonicizations inside C, and no setting of the three costs reads both. A modulation to a closely related key and a long tonicization are the same chords; what separates them is how long they last, and a cost for entering a state cannot count.
-
A modulation is a dominant that keeps coming back
A key-finder with a slot for an applied dominant read the thirty-two-bar song's bridge as its scheme labels it and heard the rondo's two episodes as tonicizations inside C, and no setting read both. The obvious repair — charge a tonicization by the bar, so a long one costs more than a short one — makes it worse: the reading gives up the bridge before it gives back a single episode, because the bridge spends six bars in applied chords and the episodes three and two. By the bar, the chain is the longest tonicization in the listing. What the episodes have and the bridge does not is a dominant that resolves to the same tonic again and again.
-
A return is cheaper to avoid than to pay for
The essay before this one found what separates a modulation from a tonicization: an episode's dominant keeps resolving to the same target, and the bridge's dominants never do. So the key-finder was given a memory of where its last dominant went, and charged for a return — the prediction being that one setting would at last hear the episodes as keys and the bridge as a chain. None does. Every return the charge is aimed at is avoided for less than a nat, by hearing a D7 as a minor chord or by moving the passage into another key, while the reading the charge was meant to force costs twelve.
-
The leading note is already inside the chord that hides the key
A key-finder kept hearing a rondo's episodes as passages inside C, and the escape it used was to hear a D7 as a D minor chord, throwing away its F♯. Charge a chromatic note by how strongly it points at another key, and that escape closes. Nothing else moves, because every F♯ and G♯ in the episodes was already inside the chord the reading heard — as the third of V of V. The charge takes a chromatic note seriously everywhere except where it was needed, and in the blues it mistakes a flattened seventh for a leading note.