Harmony and voice leading

The change reading follows the chords, not the bar

Every passage read until now changes chord exactly at the barline, which is the one harmonic rhythm at which 'the chords change here' and 'the bar starts here' are the same sentence. Pull them apart and the reading goes with the chords: at one chord a bar it stands 1.52 standard units above the other candidates and finds the barline half the time, at two chords a bar it stands 0.01 above them and is at chance, and at a chord every two bars its margin is exactly half — because half the barlines then carry no change at all.

Assumes: The chords mark the barline by changing there · The chords are a weak witness to the barline

The essay that found the harmony marking the barline by changing there found that the harmony marks the barline by changing there rather than by being more consonant there, and that a reading scored on how much the pitch-class content changes at each candidate position stands well above the alternatives at the true one.

Every passage it read changes chord exactly once a bar. So does every passage the two essays below it read. That is not a small restriction: one chord a bar is the single harmonic rhythm at which “the chords change here” and “the bar starts here” pick out the same slots, and a reading that scores the first cannot be distinguished from a reading that scores the second until the two are pulled apart.

Pulling them apart is one parameter. A bar of two chords puts a change at the middle; a chord held across two bars puts a hold at every second barline.

The margin collapses

The change reading follows the chords, not the bar. How far above the other candidates the true barline stands, in standard units, for the reading that scores how much the pitch-class content changes at each candidate — at three harmonic rhythms. At 2 chords a bar the margin is 0.12 and the reading finds the barline 12 per cent of the time; At 1 chord a bar the margin is 1.66 and the reading finds the barline 42 per cent of the time; At a chord every two bars the margin is 0.47 and the reading finds the barline 27 per cent of the time, against a chance rate of 13 per cent. The passages read earlier all changed chord once a bar, which is the middle column and the only one where the reading has anything. Two chords a bar puts a change at the half-bar as well and the reading cannot tell the two apart; a chord every two bars leaves half the barlines with no change at all and the margin halves exactly.
Fig. 1 How far above the other candidates the true barline stands, in standard units, at three harmonic rhythms. The dark bar is the true barline and the pale one the half-bar, and the two are mirror images by construction.

At one chord a bar the reading stands 1.52 standard units above the average of the other candidates and picks the true barline 48 per cent of the time, against a chance rate of 12.5.

At two chords a bar it stands 0.01 above them and picks the barline 13 per cent of the time. That is chance to within the noise of a hundred and twenty passages. The reading has nothing at all.

At a chord every two bars it stands 0.76 and picks it 35 per cent of the time.

So the reading was measuring the chord rate and calling it the bar. With two chords a bar the changes fall on the barline and the half-bar alike, the two candidates are indistinguishable, and a reading that cannot separate them cannot separate the barline from anything. With a chord every two bars the changes fall on alternate barlines only, so half of the true barlines carry no evidence — and the margin comes out at 0.76 against 1.52, which is half, exactly.

That exactness is worth pausing on. It is not a fitted agreement; it follows from the construction, and the figure leans on it rather than remarking on it. Halving the density of the evidence halves the standardised margin, which is what a linear score in a standardised unit does.

What the earlier essay actually established

This does not overturn the thirteenth essay; it narrows it, and the narrowing is sharp enough to be worth stating as a sentence.

What the thirteenth essay established is that a harmonic change is evidence about where a boundary is. That stands. What it did not establish, and could not have, is that the boundary in question is the barline — because in every passage it read, the barline and the chord change were the same event.

How often the metre, the chords and their product find the barline, chords at 1. Constructed passages of four bars of eight quavers, 100 at each setting, with the barline at the first slot. Rhythm regularity is how much likelier a note is on a strong slot than a weak one; chord regularity is how much likelier a note is to be a tone of its bar's chord than a random scale tone. rhythm 0: metre finds it 10%, chords find it 41%, product finds it 16%; rhythm 0.25: metre finds it 34%, chords find it 35%, product finds it 56%; rhythm 0.5: metre finds it 49%, chords find it 21%, product finds it 66%; rhythm 0.75: metre finds it 50%, chords find it 17%, product finds it 56%; rhythm 1: metre finds it 50%, chords find it 11%, product finds it 45%.
Fig. 2 The essays before this one, whose passages all change chord once a bar. Their finding that the metre alone can never exceed half — because it cannot tell a barline from the half-bar — is untouched by anything here.

The metrical half of those essays is untouched. A metre built on a regular weight profile cannot tell a barline from the barline half a bar later, because the two put the same slots under its strong positions, and that ceiling of one half is arithmetic rather than measurement — the same ceiling the chords never move the barline ran into from the other side.

What changes is the other half: the harmony was supposed to break that tie, and it breaks it only when the harmonic rhythm happens to be slower than the half-bar. Two chords a bar is a common harmonic rhythm — it is most of a Bach chorale and a great deal of everything else — and in it the harmony gives a listener no more help with the barline than the metre does.

Why the reading looked so good

There is a reason a rate detector masquerading as an alignment detector gives a convincing answer, and it is the same reason a pitch detector reports an octave too low.

A chord change every four slots also produces a change at every eighth slot — every second change falls on the slower grid. So the slower grid inherits the faster rate’s evidence, and the bar, being a multiple of any harmonic rhythm that fits inside it, inherits every rate’s evidence.

Four bars and eight barlines: the metre ties the barline with the half-bar, and the chords decide. A constructed passage of four bars of eight quavers, its barline at the first slot and its chords Am, F, Dm, G. Notes: slot 1 C, slot 2 E, slot 3 E, slot 5 E, slot 6 E, slot 9 C, slot 13 A, slot 17 F, slot 18 F, slot 21 D, slot 22 F, slot 23 D, slot 25 G, slot 26 D, slot 27 D, slot 29 B. For each of the eight places the barline could fall: as written metre score 16, metre, scaled 1.00, chords 0.750, product 0.750; 1 quaver late metre score -2, metre, scaled 0.63, chords 0.672, product 0.420; 2 quavers late metre score -14, metre, scaled 0.38, chords 0.679, product 0.255; 3 quavers late metre score -32, metre, scaled 0.00, chords 0.708, product 0.000; 4 quavers late metre score 16, metre, scaled 1.00, chords 0.708, product 0.708; 5 quavers late metre score -2, metre, scaled 0.63, chords 0.833, product 0.521; 6 quavers late metre score -14, metre, scaled 0.38, chords 0.750, product 0.281; 7 quavers late metre score -32, metre, scaled 0.00, chords 0.750, product 0.000. Best metre score: as written and 4 late. Best metre, scaled: as written and 4 late. Best chords: 5 late. Best product: as written.
Fig. 3 One passage at one chord a bar, with the change score at each candidate position. The peak at the barline is real and it is what the earlier essay read; what it does not say is whether it is there because that slot is a barline or because that is where the chords happen to change.

That means the reading can never be wrong in the direction that would have been informative. If it reported the barline when the chords changed twice as fast, the report would carry information — the reading would have found something the chord rate did not supply. Reporting the barline when the barline is the chord rate is a report with nothing in it.

The one case where the two come apart is the one the figure shows as 0.76: a chord every two bars. There the reading does have evidence at the barline, half of it, and it is genuinely evidence about a two-bar unit rather than about the bar. So even at the rate where the reading looks best behaved, what it has found is the harmonic rhythm.

The rate at which it fails is an ordinary one

It would be a smaller finding if two chords a bar were an exotic harmonic rhythm. It is not.

A four-part chorale in common time moves at a chord a beat for long stretches and at two a bar almost throughout; a slow movement in four often has two harmonies to the bar; a great deal of nineteenth-century writing changes on every second beat. The harmonic rhythm at which the reading collapses entirely is one of the two commonest there are, and the harmonic rhythm at which it works is the one that produces the least interesting harmony.

That inverts the usual way of putting it. The reading is not a good barline detector with a known failure case; it is a chord-rate detector that coincides with a barline detector at one setting, and the setting is the one where the harmony is doing least.

What the fourth axis is worth, once it can be compared. 600 passages at each of 5 settings, with the chance that a long note falls on a metrically weak slot rising from none to certain. Ranked on the raw score, a non-zero mixture wins on 15 per cent of passages at the left and 26 at the right — but that ranking is a ranking of rulers. Ranked against each mixture's own null it wins on 65 and 74 per cent, and the number that matters is the third line: how often the chord the search then names is not the chord the metrical reading names. That runs from 8 per cent where the two cues agree about which notes are prominent to 30 where they do not. So the fourth axis is a decision on about a third of syncopated passages and on about one in twelve of the rest.
Fig. 4 The rate at which each cue finds the barline over the earlier essay’ own passages, all of which change chord once a bar. Every number on it is computed at the setting this essay has just shown to be the special case.

It is worth being clear that this does not make those earlier readings wrong about the passages they read. It makes them readings about a corpus of one harmonic rhythm, and it means the quantity they reported — how much the harmony helps with the bar — is not a constant of music but a function of a dial nobody had turned.

Two dials that were one dial

The reason the dial went unturned for three essays is worth naming, because it is the kind of thing that hides in a generative model rather than in an analysis.

The passages are built chord by chord and the chords are laid out one to a bar, so “bar” and “chord” name one and the same unit. Every dial the essays did turn — how regularly the notes fall on strong slots, how strictly each note belongs to its chord, how many notes there are — acts within that structure and leaves it alone. A parameter that is not in the model is not a parameter anybody thinks to sweep, and a chord rate of one a bar was not a setting; it was the shape of the loop.

Two of the three decisions take one value each. Every hypothesis the search holds for this passage: eight barline phases across, five cue mixtures down, each cell the key that hypothesis reads. With the histogram the joint search uses — one count per event, unweighted — the whole grid is C major, and it is that at every phase and every mixture because a bag of notes does not know where the barline is. Weight the histogram by the same cue the segmentation uses and 5 different keys appear in it. The strip above is the metre score at each phase: identical at all eight, because this passage has a note on every slot and rotating it gives the same pattern back. So on a passage of this shape the joint search is a search over the barline and the chord, with the key fixed in advance and entering only as a discount on a chord whose root falls outside it.
Fig. 5 The two axes the essays before separated: what falls on the metrically strong slots, and how the pitch-class content changes at a boundary. They are genuinely independent of each other, and both were computed inside one harmonic rhythm.

The separation of those two axes was a real piece of work and it survives. What it did not include was a third axis that the construction had fixed at a value, and the third axis turns out to carry the second one entirely.

What a listener has instead

Stating the negative leaves the original question open, and the honest position is that the account here has not answered it.

A listener does find barlines in passages with two chords a bar, and they do it somehow. The essays before this one supply two candidates and neither is enough on its own: the metre is a weak witness with a ceiling of one half, and the harmony turns out to be a witness to something else.

A mixture axis on which the reading never moves. The best chord at each mixture of the two segmentation cues, and what the same weighting gives the same notes shuffled into a different order. Both fall along the axis, and most of the fall is the ruler rather than the music: a metrical weighting over a bar of eight spans a factor of eight and a three-to-one duration spans three, so the weighted note mass is 3.2 times more concentrated at the left of the figure than at the right, and a concentrated mass is easier for four notes to cover. What is not the ruler is the gap. It is widest at a mixture of 0.5, where the reading is C major7 at 1.37 standard deviations above its own null, against 1.12 for C major7 at a mixture of nought. The reading is the same chord at every mixture here, so the axis is unidentified rather than zero.
Fig. 6 The two axes the earlier essay separated — what falls on the strong positions, and how the content changes. Both are computed from the notes alone, and neither is the thing this essay has found missing.

What is missing from both is everything that is not pitch-class content or metrical position: the bass line’s own contour, the register at which each chord is voiced, the articulation, the dynamic, and the fact that a real passage is played by somebody who knows where the barline is and shows it. How often the chord changes is the essay that made the harmonic rhythm a quantity in the first place, and it is the quantity that turns out to be doing the work here rather than the metre.

That includes what the long note and the strong note separated, which is duration against metrical weight — both of them cues this passage model has and neither of them a cue about alignment once the rate is free. So the practical reading of these four essays together is that the chord rate is recoverable from the notes and the bar’s alignment is not, at least not by anything computed so far. That is a claim with an obvious next test and it is the next essay’s.

What the collapse is not

Three readings of the collapse are available and two of them are wrong, so it is worth closing them off.

It is not noise. A hundred and twenty passages at each rate is enough to separate 13 per cent from 48, and the margin at two chords a bar is not a small positive number — it is 0.01 standard units, which is zero to two decimal places in a quantity that reaches 1.52 at the next setting. The reading has not become unreliable; it has become empty.

It is not the harmony getting weaker. Every passage at two chords a bar has more harmonic events than one at a chord a bar — twice as many changes, twice as much of exactly the evidence the reading scores. The reading fails with more evidence than it succeeds with, which is the tell that the evidence was never about the barline.

And it is not the standardisation. The score at the half-bar is the score at the barline reversed, exactly, at every rate — an identity of the measure that the figure checks. So the reading is not failing to find a peak; it is finding one and finding an equal trough half a bar away, which is what a period-two ambiguity looks like when it is drawn on an alignment axis.

Put together, those three say the same thing in three ways. A reading that scores a difference across a boundary can only tell a listener where the boundaries are, and “where the boundaries are” is a rate and an alignment together. the earlier essay read the alignment off a passage in which the rate had already supplied it.

Which computation produced the numbers

The passages are the thirteenth essay’s, with one parameter added. Each is four bars of eight slots, with notes placed at a stated density biased toward the metrically strong slots by a regularity dial, and each note’s pitch class drawn from its current chord with a probability set by a second dial.

The parameter added is how long a chord lasts, in slots. At eight it is one chord a bar, which is what every earlier essay used; at four it is two a bar; at sixteen it is one chord held across two bars. Nothing else changes.

The reading is the thirteenth essay’s change score: for each of the eight candidate alignments, how far the pitch-class content on one side of each boundary differs from the content on the other, averaged over the boundaries that alignment implies. It is standardised against the same passage with its slots shuffled, because a reading’s raw score depends on how many notes there are.

The margin is the standardised score at the true barline minus the average at the six candidates that are neither the barline nor the half-bar. The half-bar is excluded from that average because it is not an ordinary competitor — it is the one candidate the metre cannot distinguish from the truth, and including it would flatter every reading.

Where the model stops

The chord rate is constant within a passage. Real harmonic rhythm accelerates into a cadence and slows in a prolongation, which is the quantity how often the chord changes measured and left as a constant here, so a real passage has a rate that is a function of position rather than a number. A reading that scored a changing rate would have more to work with and is not what any essay here computes.

And the chords are drawn at random within the key. They avoid repeating and they obey nothing else — no functional progression, no cadential preparation. A progression is a path is The first of these essays, and a listener hearing a real progression has expectations about which chord comes next that these passages give them no basis for.

The chord rate is a power of two. Four, eight and sixteen slots are the rates that fit the metre exactly, and a harmonic rhythm of three slots in a bar of eight — a chord every dotted crotchet — is a case with no clean relationship to the bar at all. That case is where a rate detector and an alignment detector would come apart most usefully and it is not computed here.

Eight slots to a bar is one metre. A bar of three, or a compound metre, changes which candidate alignments are confusable with which.

What the picture cannot show

It cannot show the bass. Every note here is a pitch class with no register, and the single strongest cue to a harmonic boundary in real music is probably the bass moving. A bass line is not a list of roots is where that becomes a question about register, on a different account.

Nor a performance. A player marks a downbeat with time, weight and articulation, and every one of those is outside the note list. That is not a small omission: it may be the entire answer.

It cannot show a real corpus either. Every passage here is generated, which is what makes the dial available and is also what makes the result a statement about a model. Whether real music at two chords a bar leaves its barline as unmarked as these passages do is a question a corpus would answer and there is none — and there is a reason to think real music does better, since a composer writing two chords a bar has every other cue available and no reason to leave the downbeat unmarked.

And it cannot show a listener who is already entrained. The readings here are cold — each passage is read on its own with no prior. A listener four bars into a piece has a running hypothesis, and the question a real listener faces is whether to keep it rather than which of eight alignments to adopt.

Still open: what the reading finds when it is asked its own question

The finding above is a failure of the reading as a barline detector and a description of what it is instead. A measure that follows the chord rate is a harmonic-rhythm detector, and a harmonic-rhythm detector can be evaluated properly — by asking it what the rate is and checking the answer against what the passage was built with.

That is a different scoring: instead of eight candidate alignments at a fixed period, a set of candidate periods, each scored at its own best offset and standardised against the same shuffled null. The question is how often it returns the rate it was given, and the interesting part is the shape of its errors rather than the rate of them.

The prediction from the ambiguity above is specific and it is worth writing down before it is run. A slower grid inherits a faster rate’s changes and a faster grid cannot inherit a slower one’s, so the reading should err slow and essentially never fast — which would make it a period detector with the same asymmetry a pitch detector has toward subharmonics, and would explain why it reported the bar so convincingly. The bar is a multiple of every harmonic rhythm that fits inside it.

Part 14 of 17

One essay in the series on progression. The essays either side of this one:

What links here

Essays that reach for this one mid-argument — the half of a link its own author cannot write down.

What this makes readable

Essays that declare this one a prerequisite.

The objects named here

The third way in, after the field and the series: the things themselves, and every essay that touches each one.

Chord segmentationDownbeatHarmonic rhythmMetreProgression