Concept

Prior — where it appears

The expectation a model brings before it sees any evidence, expressed as a cost for changing its mind. In a key-finder it decides how much evidence a modulation needs, and moving it turns the same passage from two keys alternating into one key with borrowed chords.

Named by 13 essays across 4 fields — each of them below, with the objects they name alongside it.

The one number the ordered key-finder was tuned on. For each rate of alternation between two keys, the cost of changing key at which the model stops hearing two keys and starts hearing borrowed chords in one. The threshold rises with the period — 0.95 at 1 bar, 0.95 at 2 bars, 0.95 at 4 bars, 2.00 at 8 bars, 3.50 at 16 bars — so the parameter and the rate trade off against each other exactly. The value tuned earlier, 2.2, sits above every threshold on this axis, which means its verdict about fast alternation was a consequence of the tuning rather than a finding about the music. Filled means the model names two keys; hollow means it names one and calls the rest borrowings.

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.

scales · Key-relations
How surprising each chord is, in bits. Each step's information content, −log₂ of the probability the root-motion weights used here give it. a perfect cadence totals 6.4 bits over 3 steps; a deceptive cadence totals 7.3 bits over 3 steps; I – IV – V – vi totals 7.3 bits over 3 steps. The single most surprising move drawn is IV to V at 2.7 bits, which is 42 per cent of everything its passage spends. The eight weights are ordinal and stipulated rather than counted, so these are the numbers that ordering implies and not a measurement of any repertoire.

Surprise is a number

The chord that did not come was described rather than measured. Its measure is the information content of what did arrive, and a model of the probability has been to hand since the key-finding essays — eight root-motion weights, ordinal and stipulated. Reading them as a distribution prices a deceptive cadence at 2.71 bits against a perfect one's 1.85, and turns up the fact that the largest of the eight had never been read by anything.

harmony · Tonal-expectation
Thirty cents out of tune is heard as 8 on a 125 ms note and 25 on a 1 s one. How far out of tune a note sounds against how far out of tune it is, at 4 note lengths, at 440 hertz. The key is treated as a prior over pitch: a mixture of Gaussians on the twelve scale degrees, weighted by Krumhansl and Kessler's probe-tone profile and given the width the degree account already uses. The likelihood is the note's own effective limen, which for a short note is the Fourier bound 1/2T. The estimate is the posterior mean, and the shrinkage toward a prior is one line of arithmetic. At 1 s a thirty-cent mistuning is heard as 25.0 cents and at 125 ms as 7.8. Every curve turns back up near the middle of the semitone, because past there the nearest degree is the other one and the pull reverses. The buttons sound at A4, which is the pitch the figure is computed at, at the shortest note length it draws.

A short note is heard more in tune than it is

Four earlier essays treat a key as something that reduces the noise in a pitch judgement. Treat it instead as a prior and the prediction changes kind: not a smaller error but a systematic bias, pulling a short note toward the nearest scale degree by an amount the Fourier bound sets. Thirty cents out of tune on an eighth-of-a-second note is heard as eight. And the part the debt got wrong is the part that matters — the bias does not vanish on a long note. It stops at 17 per cent at A4 and at 48 per cent at A2, because the likelihood's width has a floor that no duration removes.

intervals · Pitch-acuity
A listener choosing between two styles hears the syncopated tune later than one who never chooses. A syncopated melody over one chord a bar and a walking bass, after a stated number of bars of the harmony and bass alone: the share of the melody's eight bars heard against the barline by a learning listener with no habits (every witness credited at three in four, which is also the habit of a style whose tunes mark the bar), by one arriving with the habits of a style whose tunes syncopate (the bass's motion and the melody's long notes credited at a coin toss), and by one who keeps both sets of habits and weighs them by how well each has predicted the votes heard so far. no habits: 0 bars 39%, 1 bar 59%, 2 bars 71%, 3 bars 76%, 4 bars 83%, 6 bars 88%, 8 bars 92%, 12 bars 95%, 16 bars 94%. the syncopating style's habits: 0 bars 93%, 1 bar 97%, 2 bars 99%, 3 bars 99%, 4 bars 100%, 6 bars 100%, 8 bars 100%, 12 bars 100%, 16 bars 100%. both, weighed by their record: 0 bars 67%, 1 bar 82%, 2 bars 91%, 3 bars 92%, 4 bars 95%, 6 bars 97%, 8 bars 98%, 12 bars 99%, 16 bars 98%.

The habit worth bringing is to distrust the tune

A listener who arrives with a style's habits — the bass's motion and the melody's long notes credited at a coin toss — hears a syncopated tune against the bar from its first bar. But a listener does not know the style in advance. Give it two sets of habits, one for tunes that mark the bar and one for tunes that syncopate, and let it weigh them by how well each predicts what it hears: it does better than a listener with no habits and far worse than one who simply knows, and it becomes sure of the style in fewer than one passage in ten. The reason is that the evidence runs one way. A tune that marks the bar never testifies against the habit of distrusting tunes, so the habit that serves every style is the syncopating one, kept always.

harmony · Progression
Which witness lies when the bass moves its root. Over a tune whose long notes mark the bar, the share of the melody's bars in which each witness votes for the true barline (up) or for the half-bar (down), under a walking bass that states each root on the barline, one that anticipates it by a quaver and ties it over, and one that puts the fifth on the barline and the root at the half-bar. a bass stating the root: root 51 for, 0 against; motion 0 for, 13 against; melody 51 for, 0 against. the root anticipated: root 50 for, 0 against; motion 0 for, 100 against; melody 51 for, 0 against. the root arriving late: root 0 for, 100 against; motion 0 for, 10 against; melody 51 for, 0 against. Anticipated, the root still sounds on the barline, tied over, and still votes for it; the bass's motion, which now lands a quaver early and moves again at the half-bar, votes against it in every bar. Late, the root votes against the bar every time.

A late root is believed because the record is kept by the reading

The habit worth bringing to a tune turned out to be trusting the bass's root and doubting everything else. A bass that anticipates the next chord does not break that habit — the root is still tied across the barline, and it is the bass's motion that lies. A bass that puts the root at the half-bar does break it, and nothing a listener learns can repair it, because each witness is judged by whether it agrees with the reading, and the reading was made by the liar.

harmony · Progression
Two honest bars are enough for a listener that can change its habits. Two bars of ground and eight of a tune that marks the bar, over a walking bass whose root arrives late in every bar, with a drum on the downbeat of the passage's first bars and silent after: the share of the tune's bars heard against the barline by four listeners, against how many bars the drum plays. A listener who no habits: 0 0, 1 0, 2 5, 3 37, 4 58, 6 72, 8 74, 10 74. A listener who trusts the root, doubts the rest: 0 0, 1 0, 2 0, 3 6, 4 12, 6 25, 8 38, 10 50. A listener who doubts the root: 0 74, 1 98, 2 100, 3 100, 4 100, 6 100, 8 100, 10 100. A listener who chooses among all three: 0 0, 1 10, 2 93, 3 100, 4 100, 6 100, 8 100, 10 100. A record scores each vote against the reading held when it is cast. One stroke forms a reading that the next bar of root erases; two leave it standing when the tune enters, and from then on every bar scores the root as the witness that disagrees. A listener crediting the root and the drum equally is held at a tie by any amount of drum alone.

Two honest bars convict a lying root

A bass that states its root late defeats every listener who learns from agreement, because the reading forms before any honest witness speaks. Give the passage a drum on its first downbeats and the same record that ratified the liar convicts it — but only a listener holding a habit that doubts the root can act on the verdict. Two strokes are enough for that listener, for as long as the tune lasts. One is not, and no amount of drum is enough for a listener that credits the root and the drum alike.

harmony · Progression
An honest drum that comes late is too late, however long it plays. Two bars of ground and twenty-four of a tune that marks the bar, over a walking bass whose root arrives late in every bar, with an honest drum on every downbeat from a stated bar to the end: the share of passages a listener choosing among three sets of habits ends on the true barline, for four starting credits for the drum. Credited 0.75: from bar 1 100%, from bar 2 0%, from bar 3 0%, from bar 4 0%, from bar 5 0%, from bar 6 0%, from bar 7 0%, from bar 9 0%. Credited 0.9: from bar 1 100%, from bar 2 99%, from bar 3 29%, from bar 4 0%, from bar 5 0%, from bar 6 0%, from bar 7 0%, from bar 9 0%. Credited 0.95: from bar 1 100%, from bar 2 100%, from bar 3 88%, from bar 4 0%, from bar 5 0%, from bar 6 0%, from bar 7 0%, from bar 9 0%. Credited 0.99: from bar 1 100%, from bar 2 100%, from bar 3 100%, from bar 4 88%, from bar 5 0%, from bar 6 0%, from bar 7 0%, from bar 9 0%. At the credit the drum has always had, three in four, a drum that misses the first bar never recovers the reading, though it then plays twenty-five bars running. Each bar the late root is believed before the drum arrives raises the credit it would need; at 0.99, ninety-nine to one, the drum must still start by the fourth bar.

An honest drum has to come first

Two strokes of an honest drum at the very start of a passage protect a listener from a bass whose root arrives late in every bar. The same two strokes a bar later do nothing at all, and neither does a drum that then plays every downbeat to the end. A listener that keeps a record of its witnesses scores the late drum against the reading the root has already made, and convicts it within two bars. Every bar the lie is believed first multiplies the trust the drum would need, and by the seventh bar no trust short of certainty is enough.

harmony · Progression
A break lets a late drum win only if the listener comes out of it holding no reading and almost no record. Two bars of ground and twenty-four of a tune that marks the bar, over a walking bass whose root is late in every bar, the choosing listener, and an honest drum on every downbeat from bar 5, 9 or 13 to the end, entering after a break at which the listener keeps a stated share of its witnesses' records. Solid: the break also wipes its reading. From bar 5: 96% keeping 0, 96% keeping 0.02, 96% keeping 0.05, 91% keeping 0.1, 46% keeping 0.2, 42% keeping 0.3, 30% keeping 0.5, 8% keeping 0.75, 7% keeping 1. From bar 9: 95% keeping 0, 92% keeping 0.02, 47% keeping 0.05, 43% keeping 0.1, 11% keeping 0.2, 2% keeping 0.3, 0% keeping 0.5, 0% keeping 0.75, 0% keeping 1. From bar 13: 93% keeping 0, 57% keeping 0.02, 44% keeping 0.05, 10% keeping 0.1, 1% keeping 0.2, 0% keeping 0.3, 0% keeping 0.5, 0% keeping 0.75, 0% keeping 1. Dashed, on the floor: the same breaks leaving half the reading's margin, where the drum wins no passage at any share of the record kept. The horizontal axis is drawn as the square root of the share.

A break rescues a late drum only by ending the reading

A drum that enters after a late root has made the reading needs odds in the hundreds to undo it. Bring it in after a break in the texture, and the obvious guess is that the break helps by making the listener forget whom it trusted. It barely does. What rescues the drum is the listener forgetting what it heard: with the old reading gone, a drum on bar 9 needs odds of nine to one, and with the record gone too it needs less than the three to one it has always had. A break that leaves even a hundredth of the old reading behind rescues nothing at all.

harmony · Progression
A silent break ends the listener's reading only after as many bars as the reading has votes in hand. The choosing listener, every root late, and a break of silence before bar 3, 5, 9 or 13 through which it goes on expecting a downbeat once a bar at the reading it holds, each failure charging that reading 1 vote: the share of passages whose reading the silence ends, against the break's length in bars. Before bar 3, mean margin 2.9 votes: 1 bar 0%, 2 bars 0%, 4 bars 100%, 8 bars 100%, 16 bars 100%; half ended by 3 bars. Before bar 5, mean margin 6.8 votes: 1 bar 0%, 2 bars 0%, 4 bars 0%, 8 bars 88%, 16 bars 100%; half ended by 8 bars. Before bar 9, mean margin 20.7 votes: 1 bar 0%, 2 bars 0%, 4 bars 0%, 8 bars 0%, 16 bars 0%; half ended by 24 bars. Before bar 13, mean margin 38.5 votes: 1 bar 0%, 2 bars 0%, 4 bars 0%, 8 bars 0%, 16 bars 0%; half ended by 48 bars. The horizontal axis is logarithmic in one plus the length.

A silent break has to outlast the reading's lead

A listener waiting through a break goes on expecting downbeats at the reading it holds, and each one that fails to come can be charged against that reading. Charged at a witness's vote apiece, the silence ends the reading only after as many bars as the reading has votes in hand: three bars after two bars of tune, eight after four, twenty-one after eight. A one-bar break would need a missing downbeat to cost twenty votes. And a silence that does end the reading leaves the record standing, which convicts the drum anyway.

harmony · Progression
An announcement of the plan pays the cycle only when it is nearly always right. Recognised exactly: proportions told apart across the whole piece, averaged over announcements that name the true plan with the chance on the axis and otherwise one of the four wrong plans, for a listener who puts exactly that chance of its prior on the plan named; dashed, the listener told the plan. four, cycled: 0.2 44.2, 0.3 44.2, 0.4 44.2, 0.5 44.4, 0.6 46.6, 0.7 46.2, 0.8 46.6, 0.9 56.1, 0.95 56.8, 0.99 60.6; told 60.8, learning 44.2; four in blocks of two: 0.2 39.1, 0.3 39.1, 0.4 39.1, 0.5 37.3, 0.6 37.8, 0.7 40.9, 0.8 41.6, 0.9 42.0, 0.95 42.5, 0.99 44.8; told 45.0, learning 39.1; opening and closing alternated: 0.2 37.1, 0.3 37.1, 0.4 37.1, 0.5 38.6, 0.6 38.2, 0.7 38.6, 0.8 38.9, 0.9 38.8, 0.95 39.2, 0.99 39.4; told 39.5, learning 37.1. The cycle recovers half of what being told gives it only at 90 per cent reliability.

An announced plan pays the cycle and punishes the blocks

A slow introduction, a title or a programme note can tell a first-time listener the plan of a piece before the first lapse — and be wrong. Trusted as far as it deserves, an announcement gives back half of what being told the plan is worth to four cycled functions only once it is right nine times in ten. But how far to trust it depends on the piece: a cycle rewards believing even a coin-toss announcement completely, while functions in blocks of two are made worse by an announcement right half the time, and a confident wrong one can cost a listener forty points of the first minute.

form · Proportion
After a silence long enough to end the reading, a bar of eight fill strokes hands the next reading to the drum. The choosing listener, every root late, a silent break before bar 3, 5 or 9 at one vote a failed downbeat, then a bar of 8 fill strokes for the true barline heard as the drum, then the drum on every downbeat: the share of passages ending on the barline against the silence's length (solid), with the silence alone dashed. Before bar 3: 0 bars 86%, 2 bars 100%, 4 bars 100%, 8 bars 100%, 12 bars 100%, 24 bars 100%; silence alone 4 bars 44%, 8 bars 44%, 12 bars 44%, 24 bars 44%. Before bar 5: 0 bars 0%, 2 bars 0%, 4 bars 53%, 8 bars 99%, 12 bars 100%, 24 bars 100%; silence alone 4 bars 0%, 8 bars 5%, 12 bars 7%, 24 bars 7%. Before bar 9: 0 bars 0%, 2 bars 0%, 4 bars 0%, 8 bars 0%, 12 bars 0%, 24 bars 99%; silence alone 4 bars 0%, 8 bars 0%, 12 bars 0%, 24 bars 0%. The horizontal axis is logarithmic in one plus the length.

A fill cannot end a reading, but it can win the next one

A drum fill in the break before a late drum is a witness that speaks while the old reading still stands, so every stroke it plays is scored as disagreeing, and its credit falls to a coin toss within two or three strokes: at three to one it can cast 1.37 votes in all, against a lead of twenty by the middle of a tune. A fill cannot end a reading. But once a silence has ended it, the same fill sets the next one, and the record that convicted the drum through every length of silence starts convicting the bass instead: after twelve bars of silence before bar 5 the drum goes from 7 per cent of passages to all of them.

harmony · Progression
A cadence hands the next section to a two-stroke fill only by emptying the reading, not by weakening it. The choosing listener, every root late, an honest drum from the bar after a cadence that leaves the share on the axis of the reading's lead (logarithmic, with "none" an emptied reading), with a bar of 2 fill strokes heard as the drum between them: the share of passages ending on the barline. Before bar 3 (mean lead 2.9 votes): 100% 7%, 50% 92%, 30% 100%, 20% 100%, 15% 100%, 12% 100%, 10% 100%, 7% 100%, 5% 100%, 3% 100%, 2% 100%, 1% 100%, 0% 100%. Before bar 5 (mean lead 6.8 votes): 100% 0%, 50% 0%, 30% 0%, 20% 26%, 15% 64%, 12% 87%, 10% 89%, 7% 90%, 5% 93%, 3% 95%, 2% 95%, 1% 96%, 0% 100%. Before bar 9 (mean lead 20.7 votes): 100% 0%, 50% 0%, 30% 0%, 20% 0%, 15% 0%, 12% 0%, 10% 0%, 7% 0%, 5% 1%, 3% 1%, 2% 1%, 1% 2%, 0% 100%. Before bar 13 (mean lead 38.5 votes): 100% 0%, 50% 0%, 30% 0%, 20% 0%, 15% 0%, 12% 0%, 10% 0%, 7% 0%, 5% 0%, 3% 0%, 2% 0%, 1% 0%, 0% 84%.

A cadence has to empty the reading, not weaken it

A drum fill after a long enough silence wins the next section for an honest drum, because it speaks into a reading that is empty. A cadence might do the silence's work in a bar. It does, but only on one condition: before bar 9, a cadence that removes ninety-eight per cent of the listener's conviction leaves a two-stroke fill winning one passage in a hundred, and one that removes all of it lets the fill win every one. The fill turns the reading either way. What the last sliver decides is whether the fill's first stroke is recorded as a disagreement — and that record is what the late root then uses to win the reading back.

harmony · Progression
A cadence that votes as a witness of its own moves the line from an emptied reading to a fiftieth of one. The choosing listener, every root late, a cadence before bar 9 leaving the share on the axis of the reading's lead (logarithmic, "none" an emptied reading); at the cadence its arrival casts one vote for the barline, heard as the tune's long note, as the drum, or as a witness of its own, or is silent; then 1 fill stroke heard as the drum, then the honest drum: the share of passages ending on the barline. a silent cadence: 100% 0%, 50% 0%, 30% 0%, 20% 0%, 15% 0%, 12% 0%, 10% 0%, 7% 0%, 5% 0%, 3% 0%, 2% 0%, 1% 0%, 0% 6%. heard as the tune: 100% 0%, 50% 0%, 30% 0%, 20% 0%, 15% 0%, 12% 0%, 10% 0%, 7% 0%, 5% 1%, 3% 1%, 2% 1%, 1% 10%, 0% 11%. heard as the drum: 100% 0%, 50% 0%, 30% 0%, 20% 0%, 15% 0%, 12% 0%, 10% 0%, 7% 0%, 5% 1%, 3% 1%, 2% 1%, 1% 2%, 0% 100%. heard as its own witness: 100% 0%, 50% 0%, 30% 0%, 20% 0%, 15% 0%, 12% 0%, 10% 0%, 7% 0%, 5% 1%, 3% 51%, 2% 90%, 1% 93%, 0% 93%.

A cadence that votes must not vote as the drum

A cadence lands on a downbeat, so it could cast a vote for the barline at the moment it loosens the listener's grip. Whether that vote helps depends on whose it is taken to be. Heard as the tune's long note, it speaks with credit the tune spent long ago and is worth almost nothing. Heard as the drum, it is exactly one more stroke of fill, and is convicted as the fill's first stroke was. Heard as a witness of its own, it carries a third of a vote and no record to lose — and that moves the line from an emptied reading to a fiftieth of one.

harmony · Progression

Named alongside it

The objects these essays reach for when they reach for this one.

ExpectationInferenceMetreHarmonic rhythmCadenceSyncopationTonal hierarchyBorrowed chordDeceptive cadenceDifference limenEntropyHarmonic analysis

All concepts