Scales and modes

Time on one target finds the episodes' keys, for a memory of three bars and no other

Four repairs failed to make a key-finder hear a rondo's episodes as changes of key while it kept hearing a song's bridge as a chain of tonicizations, and each time the thing missing was the same: how long a passage keeps pointing at one target. Charged for that, bar by bar, the reading at last hears both episodes as keys and keeps the bridge — but only if it forgets a resolution after three bars, only between 0.92 and 0.99 nats a bar, and only with the leading-note charge that loses the blues.

Assumes: The leading note is already inside the chord that hides the key · A return is cheaper to avoid than to pay for

Two passages have defeated every key-finder in this sequence. A thirty-two-bar song’s bridge runs four applied dominants in a row — E7, A7, D7, G7 — and its scheme labels them as tonicizations inside C. A rondo’s two episodes, eight bars in G major and eight in A minor, are labelled as changes of key. A reading that hears the bridge correctly has always heard the episodes as regions of C, and the repairs offered so far have each been captured by something else in the listing before they reached the episodes.

The leading note is already inside the chord that hides the key ended with a diagnosis that ruled a whole family of repairs out. Any cost on a single bar — a chord’s fit, its bass, a charge on its chromatic notes — is satisfied equally by the reading that hears the G episode’s D7 as the dominant of the dominant in C and by the reading that hears it as the dominant in G. Both explain every note, and both contain the ordered dominant–tonic pair that the cadence as evidence found the strongest single evidence for a key. What separates the two passages is not in any bar. It is a run: the episode points at G for most of its eight bars, the bridge at a new target every two.

So the reading was given that run to pay for. It works, which no repair before it has done. It works in a window so narrow that it says more about the listing’s spacing than about keys.

Through the bridge the memory never empties, and its streaks never grow longTwelve bars of each passage as the reading with a memory of 4 bars hears them in C, with nothing charged: in each bar, whether the reading is inside a streak — a run of bars since an applied dominant first resolved to a target, kept alive while dominants keep resolving to it within 4 bars — and how long the streak has lasted. the song's bridge: III7 –, III7 –, VI7 1, VI7 2, II7 1, II7 2, V7 1, V7 2, I 3, vi 4, ii –, V –; 8 bars in a streak, the longest 4, charged 16 times the rate when the charge grows with the run. the rondo's G episode: I –, V7 –, I 1, V7 2, I 3, IV 4, V7 5, I 6, I 7, V 8, I 8, IV 1; 10 bars in a streak, the longest 8, charged 45 times the rate when the charge grows with the run. the rondo's A minor episode: i –, iv –, i –, V7 –, i 1, iv 2, V7 3, i 4, I 5, V 6, I 7, IV 1; 8 bars in a streak, the longest 7, charged 29 times the rate when the charge grows with the run. A flat charge per bar prices the bridge almost exactly as it prices an episode, because a chain of applied dominants keeps the memory full from its first resolution to its last. A charge that grows with the run sees the difference.123456789101112the song's bridgeIII7–III7–VI71VI72II71II72V71V72I3vi4ii–V–8 barsgrown 16the rondo's G episodeI–V7–I1V72I3IV4V75I6I7V8I8IV110 barsgrown 45the rondo's A minor episodei–iv–i–V7–i1iv2V73i4I5V6I7IV18 barsgrown 29each cell: the chord, and the bars its streak has lasted; red from the fourth bar
Fig. 1 Twelve bars of each passage as the reading hears them in C, with nothing yet charged and a memory of the length the dial sets: whether each bar lies inside a streak on one applied target, and how long the streak has lasted. At every length the bridge is never out of a streak from its first resolution to its last, and every streak in it is shorter than the G episode’s longest.

A run in the state

The reading is the one the last two essays used, which grew out of the second slot of a second slot hears every modulation as a tonicization. Its states are a home key, a mode and a degree, and beside each key’s seven diatonic degrees the dominants of its ii, iii, IV, V and vi. Each bar is scored by how well its notes fit the state’s triad and by its bass; each change of state by its root motion, by a key cost of 6 if the home key changes, by half a nat for entering an applied dominant, and by a bonus of 3 when a dominant’s next bar is rooted on its target. Every leading note the heard chord leaves unexplained costs 8, the charge that closed the escape through the minor ii. The memory that a return is cheaper to avoid than to pay for added is kept: the applied target the last dominant resolved to, forgotten after a stated number of bars without a return, and wiped when the home key changes.

The new term is a count inside that memory. A streak begins on the bar an applied dominant first resolves to a target the memory does not already hold. It continues while dominants keep resolving to that target within the memory’s span, and ends when the memory forgets or another target takes its place. Every bar spent inside a streak that has lasted r bars is charged

rate × (r + 1)^growth

so a growth of nought charges time in a streak at a flat rate, and a growth of one charges a streak of n bars the rate times n(n + 1)/2 — one bar cheap, eight dear, a chain of short streaks cheaper than one long one of the same length. That is exactly the cost the last essay’s continuation asked for. With the rate at nought the reading is the memory reading of the essays before, bar for bar across all 188 bars of the six schemes, which was checked; the run is capped at eight bars, which no streak in the listing exceeds.

The hero figure, read before anything is charged, shows the quantity the charge falls on. With a four-bar memory the bridge spends eight of its twelve bars in a streak, the G episode ten and the A minor episode eight. Counted flat, those are nearly the same number. Counted with growth, the bridge’s streaks sum to 16 times the rate, the G episode’s to 45 and the A minor episode’s to 29, because no target in the bridge holds the memory for more than four bars and the G episode’s holds it for eight.

A flat charge prices a chain as a key

A flat charge per bar was not the proposal, but it is the obvious first reading of “time spent tonicizing”, and it fails in an instructive way.

Charged at a flat rate for time on one target, the bridge is lost first. A memory of four bars, every bar inside a streak charged the same, from nothing to three nats: bars of the song's bridge, the rondo's G episode and its A minor episode read as the schemes label them, eight of each. 0: 8, 0, 0; 0.5: 8, 0, 0; 1: 8, 0, 0; 1.25: 8, 0, 0; 1.5: 8, 0, 0; 1.75: 4, 0, 5; 2: 4, 7, 5; 2.5: 4, 7, 5; 3: 4, 7, 5. The bridge falls to 4 at 1.75 nats, before the G episode is heard in G at 2.
Fig. 2 A four-bar memory, every bar inside a streak charged the same rate: bars of the bridge, the G episode and the A minor episode read as their schemes label them, eight of each. The bridge is lost at 1.75 nats; the G episode is heard in G only from 2. At no rate are both right.

As the flat rate rises from nothing the readings do not move until about one and a half nats a bar. Then the bridge goes first: at 1.75 it is read correctly in four of its eight bars, and the A minor episode in five of its eight, from its first dominant on. The G episode follows at 2, seven of its eight bars in G. Halving finds the edges more exactly — the bridge is lost at 1.51 and the G episode heard at 1.85 — and the order does not change.

The reason is in the hero figure. A chain of applied dominants is, to a memory, an unbroken run of pointing. E7 resolves to A7, which starts a streak on vi; A7 resolves to D7, which hands the memory to ii; D7 resolves to G7, which hands it to V, and the streak on V outlives the bridge by two bars of the following A section before the memory lets it go. At no bar between the first resolution and the last plus the memory’s span is the reading free of a target. A charge on time spent tonicizing anything charges the bridge for its whole length, and the bridge is as long as an episode.

When the bridge is lost, it is lost to D major, the reading that the bridge is not a labelling problem found a one-slot key-finder making of the same chain. The reading hears both A7s as the dominant of D, the first D7 as D’s own tonic with a seventh, the second as the dominant of D’s IV and the first G7 as that IV, and returns to C on the second G7. That costs one change of key and one change back, twelve nats — exactly what hearing an episode in its own key costs. The two escapes are priced the same, and the charge makes the bridge’s worth taking first.

A charge that grows with the run still loses the bridge first

The proposal was a charge that grows with the run, so that the bridge’s short streaks cost little and the episodes’ long ones a great deal. The hero’s totals say it should work by a wide margin: at a growth of one the G episode pays nearly three times what the bridge pays for the same rate.

However steeply the charge grows with the run, the bridge goes first. A memory of four bars, each bar inside a streak of r bars charged the rate times (r + 1) to the growth: the smallest rate at which the reading loses a bar of the song's bridge, and the smallest at which it hears at least seven of the eight bars of the rondo's G episode in G, found by halving. growth 0: bridge lost at 1.51, G episode heard at 1.85; growth 0.5: bridge lost at 1.10, G episode heard at 1.30; growth 1: bridge lost at 0.73, G episode heard at 0.93; growth 1.5: bridge lost at 0.45, G episode heard at 0.65; growth 2: bridge lost at 0.26, G episode heard at 0.46. A growing charge makes the G episode's long streak far dearer than the bridge's short ones, and the bridge still goes first.
Fig. 3 A four-bar memory, each bar of a streak of r bars charged the rate times (r + 1) raised to the growth: the rate at which the bridge is first lost, and the rate at which at least seven bars of the G episode are first heard in G. At every growth from nought to two the bridge goes first, and by very nearly the same two tenths of a nat.

It does not. At every growth from nought to two the bridge is lost at a lower rate than the G episode is gained: 1.51 against 1.85 with no growth, 0.73 against 0.93 at a growth of one, 0.26 against 0.46 at two. The rates fall as the growth steepens, as they must, since every streak longer than one bar costs more. The gap between the two edges hardly moves: about two tenths of a nat at every growth.

That constant gap is the clue. The episode is not short of charge — at a growth of one and a rate of 0.73, the C reading of the G episode is paying about 33 nats for its streak, nearly three times what a change of key and back costs. Something other than hearing the episode in G must be absorbing it.

The run is cut by a visit to the wrong key

The bar-by-bar reading shows what.

A long run on one target is cut by a visit to the wrong key. Bars 7 to 20 of the rondo — the refrain's end, the G episode and the refrain's return — as the reading with a four-bar memory hears them when each bar of a streak of r bars is charged the rate times (r + 1): nothing charged: V C V, I C I, I C V, V7 C V/V, I C V, V7 C V/V, I C V, IV C I, V7 C V/V, I C V, I C I, V C V, I C V/IV, IV C IV. the run charged 0.9: V C V, I C I, I C V, V7 C V/V, I C V, V7 C V/V, I Cm V, IV Cm V/IV, V7 Cm V/V, I C V, I C I, V C V, I C I, IV C IV. the run charged 1.2: V C V, I G IV, I G I, V7 G V, I G I, V7 G V, I G I, IV G IV, V7 G V, I G V/IV, I G IV, V C V, I C I, IV C IV. Starred bars are read other than the scheme labels them. At 0.9 the reading pays for one change of key and back, and spends it on 3 bars of C minor, where the episode's D7 points at the same G but the memory has been wiped; the streak is cut in two. At 1.2 it spends the same on G.
Fig. 4 The end of the first refrain, the G episode and the refrain’s return, as the four-bar-memory reading hears them with the run charged in proportion to its length: nothing charged, a rate of 0.9, and a rate of 1.2. At 0.9 three bars in the middle of the episode are heard in C minor; at 1.2 the whole episode is heard in G.

At a rate of 0.9 the reading changes key, as the charge was meant to make it do. It changes to C minor, for three bars in the middle of the G episode. In C minor the episode’s G major chord is still the dominant, its C major chord is the dominant of C minor’s IV, and its D7 is still the dominant of the dominant — so every note stays inside a chord the reading hears, the leading-note charge is never paid, and the fit costs almost nothing. What the visit does is wipe the memory. A change of home key resets it, so the streak on G is cut in two, and each half is short. The reading pays twelve nats for the change and back and saves the long tail of a growing charge.

At 1.2 the reading spends the same twelve on G instead, and the whole episode is heard as its scheme labels it. Between the two, it is a competition between two ways of spending one change of key: one that ends the run and one that ends the run and hears the episode where it lives. The second wins only once what the first leaves behind — two short streaks, still charged — costs more than the second’s own small disadvantages. That margin is the two tenths of a nat in the figure above.

This is the most general thing the essay finds, and it applies to any cost on a run. A charge for pointing at one target too long can be dodged by anything that breaks the run, and the cheapest break is not always the right key. The charge did make a long tonicization dearer than a change of key, which is what how much evidence a modulation needs found a modulation requires: a duration. It said nothing about which key.

How long the memory has to be

The memory’s span was fixed at four bars because a return is cheaper to avoid than to pay for found four the shortest that saw every return inside an episode and none across the form. With a charge on the run the span does a second job, since it decides how long a streak outlives its last resolution, and it is worth sweeping.

Only a three-bar memory hears both episodes as keys and keeps the bridge. The charge growing in proportion to the run, for memories of 2, 3, 4 and 6 bars: the smallest rate at which the reading loses a bar of the bridge, hears at least seven of the G episode's eight bars in G, and hears the A minor episode in A minor from its first dominant on (five of its eight bars), found by halving up to 3 nats. 2 bars: bridge 1.34, G 1.20, A minor 1.79; 3 bars: bridge 0.99, G 0.92, A minor 0.71; 4 bars: bridge 0.73, G 0.92, A minor 0.47; 6 bars: bridge 0.38, G 0.92, A minor 0.21. A memory of four bars or more loses the bridge first. A two-bar memory hears the G episode in G and keeps the bridge, but forgets the A minor episode's first resolution before its second arrives, and hears that episode as a key only at a rate that has already lost the bridge. Three bars is the only length at which both episodes are heard as keys while the bridge is kept, and only between 0.92 and 0.99 nats.
Fig. 5 The run charged in proportion to its length, for memories of two, three, four and six bars: the rate at which the bridge is first lost, at which the G episode is heard in G, and at which the A minor episode is heard in A minor from its first dominant. Only a three-bar memory hears both episodes before it loses the bridge.

Three spacings in the listing decide the answer. The bridge’s dominants resolve two bars apart, each to a new target. The G episode’s D7s resolve to G two bars and then three bars apart. The A minor episode’s E7s resolve to A minor three bars apart.

A memory of four bars or more holds the bridge’s last streak, on V, for two or more bars past the end of the chain, and loses the bridge first, as above; at six bars the bridge is lost at 0.38 nats while the G episode needs 0.92. A memory of two bars lets the bridge’s streaks die almost as soon as they begin, and keeps the bridge up to 1.34 nats; it hears the G episode in G from 1.20, the first time in this sequence of repairs that a reading has heard that episode as a key without losing the bridge. But a two-bar memory has forgotten the A minor episode’s first resolution by the time its second arrives, three bars later, so that episode builds only streaks of a bar or two. It is heard in A minor only from 1.79 nats a bar, by which rate the bridge has long gone.

Three bars is the only span that holds the A minor episode’s return and lets the bridge’s chain go quickly enough. With a three-bar memory the G episode is heard in G from 0.92 nats a bar and the bridge is lost at 0.99. Between those two, and only there, one reading hears all three passages as their schemes label them.

Both, and what it costs

The setting that hears both passages, and what it costs the blues. A memory of three bars and a run charged 0.95 times its length: bars of each of the six schemes read as labelled, and the whole listing, against the same reading with nothing charged for the run and with the run charged but unexplained leading notes free. nothing charged for the run: 32-bar song 32 of 32, rondo 24 of 40, blues 0 of 36, verse–chorus 32 of 32, sixteen-bar-period 16 of 16, ostinato 32 of 32, all 136 of 188. the run charged 0.95: 32-bar song 32 of 32, rondo 32 of 40, blues 0 of 36, verse–chorus 32 of 32, sixteen-bar-period 16 of 16, ostinato 32 of 32, all 144 of 188. the same, leading notes free: 32-bar song 28 of 32, rondo 32 of 40, blues 36 of 36, verse–chorus 32 of 32, sixteen-bar-period 16 of 16, ostinato 32 of 32, all 176 of 188. The middle row hears the bridge and the G episode as the schemes label them and the A minor episode from its first dominant. It does so only with the leading-note charge, which is what loses the blues.
Fig. 6 A three-bar memory with the run charged 0.95 times its length: bars read as labelled in each of the six schemes and the whole listing, against the same reading with nothing charged for the run, and with the run charged but unexplained leading notes free. Only the middle row holds the bridge and both episodes. It also loses the whole blues.

At a rate of 0.95 inside that window, the reading hears the song’s 32 bars as labelled, bridge included, and 32 of the rondo’s 40. The eight it misses are where a change of key is heard early or late: the first two bars of the A minor episode, an A minor and a D minor chord that sound like vi and ii of C until the passage goes on; the last refrain bar before the G episode and the first after it, heard in G; and four bars of the refrain after the A minor episode, which the reading leaves in A minor before coming home. The verse–chorus, the sixteen-bar period and the ostinato are untouched. It is the first setting in these essays to hold the bridge and both episodes at once.

The bill is in the other two rows. The window exists only with the leading-note charge switched on: with unexplained leading notes free, the same charge on the run loses the bridge, because the escape that hears a D7 as a minor ii is open again and breaks the bridge’s streaks for less than a nat. And the leading-note charge is the one that loses the whole blues, whose flattened sevenths share their pitch classes with leading notes, as the last essay found. So the reading that hears the bridge and both episodes reads 144 of the listing’s 188 bars as labelled. The reading with leading notes free hears the rondo just as well, loses half the bridge, keeps the blues, and reads 176.

What the window is made of

A window seven hundredths of a nat wide in one parameter, at one value of a second, opened by a third that costs a whole scheme, is not a model of how a listener tells a key from a tonicization. It is a measurement of the listing. Each of its edges is a spacing in bars: the two bars between the bridge’s resolutions, the two and three between the G episode’s, the three between the A minor episode’s. A three-bar memory is the only length that falls between them, and the charge’s window is where the costs of the two escapes, one into D and one into C minor, happen to fall either side of the right answer.

That makes the result fragile in a specific way. An A minor episode whose dominants came four bars apart would need a four-bar memory, which loses the bridge. A bridge whose dominants each lasted three bars would hold a three-bar memory’s streaks long enough to be charged like an episode. The listener who forgets found a listener with a memory of a few bars keeping nine tenths of a passage’s answers; here the length of that memory has to sit between two harmonic rhythms, and the listing happens to leave exactly one bar of room.

It also says something real about what the passages differ in. A modulation is a dominant that keeps coming back counted the returns and found them the separating fact. That was right, and this essay adds the time scale: a return separates a key from a tonicization only if it comes within a span shorter than the time a chain of dominants spends on each link. The bridge’s chain changes target every two bars, and an episode returns to its target every two or three. The difference between “pointing at G for eight bars” and “pointing at a new target every two” is a factor of four in duration and only a factor of about one and a half in the spacing of the events a listener actually hears.

Where the reading stops

A key change wipes the memory. That is a decision of the reading’s, inherited from the essays before, and it is the decision the C minor escape exploits. The episode’s D7 points at the pitch class G in C major and in C minor alike; a memory keyed to the target’s pitch rather than to its degree in the home key would carry the streak through the visit, and the visit would buy nothing.

The run is counted in bars. A streak’s length is a number of bars at whatever tempo the passage is played, and the charge is the same for a bar of two seconds as for a bar of four. The spacings that make the window are therefore spacings in the score, not in time — the opposite of what a phrase is a number of seconds found for the span a listener groups, which is fixed in seconds and lands on a different bar count at every tempo.

The rate, the growth and the cap are stated, not fitted. The rate is swept from nought to three or four nats, the growth from nought to two, and the run is capped at eight bars. No growth tried opens a window with a four-bar memory, and every edge was found by halving from a rate where the passage is lost to one where it is held, which assumes a single crossing between them.

The same six schemes. Every count comes from the listing the earlier essays used. It holds one bridge and one rondo, and a window whose edges are that bridge’s and that rondo’s spacings is a fact about them until a passage with other spacings is read.

Whose modulations

The claim is about the passages the earlier essays described: a classical rondo’s episodes in the dominant and the relative minor, each of which confirms its key by returning to its tonic every two or three bars, and a popular song’s bridge, whose secondary dominants change target every two. Trained listeners hear the first as keys and the second as a chain. On this arithmetic, a reading that charges time spent pointing at one target can be made to agree, but only for the narrow memory that falls between those two harmonic rhythms — which suggests that what such listeners carry is not a cost on duration but an expectation about how often a key’s dominant comes round.

Still open: a memory that keeps the target’s pitch across a change of key

The escape this essay found is a change of key that leaves the target where it was. In C minor the episode’s D7 still points at G, and the reading’s memory forgets that only because the memory is written in the home key’s degrees. A reading whose memory held the target as a pitch class — G is G in C major, in C minor and in G itself — would carry the streak across any change of key that did not also change the target, and the visit to C minor would cost twelve nats and buy nothing. The calculation is this reading with the memory keyed to the target’s pitch, which is larger by the number of pitch classes a target can be; it would say whether the window opens beyond three bars once the cheapest cut is closed, and so whether a duration charge needs the listing’s spacings at all.

Part 28 of 28

One essay in the series on Key-relations. The essays either side of this one:

The objects named here

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

InferenceKey-findingModulationSecondary dominantTonicization