A melody that remembers its gaps hides its pull on the scales that have them
Assumes: A melody that leaps down across hirajōshi's gaps is the quickest to read · The leap that pays itself back
A melody that wanders comes back towards the middle of its range, and a run of essays has asked in what unit the pull that brings it back is counted: in semitones, the distance on a keyboard, or in scale degrees, the distance in the scale. On an evenly spaced scale the two are the same model. On hirajōshi, whose steps are one and four semitones, they differ, and counted in degrees, a melody’s pull costs a hundred tunes on hirajōshi, not a dozen priced telling them apart at about a hundred thirty-note tunes. Three essays since have moved that price by changing how a melody moves — how often it skips, where it skips to, and in which direction — and each time hirajōshi stayed the cheapest scale to settle the question on.
Every one of those walks had no memory. Which way a move goes depended on where the melody was and on the pull, never on the move before it, and the sixty per cent of skips followed by a move the other way was produced by the pull alone. That was a convenience and also the whole of the method: the pull was fitted to the reversal, and the reversal was the evidence. A melody that leaps down across hirajōshi’s gaps is the quickest to read ended by naming the obvious objection. Gap-fill, as corpus studies describe it, is a reversal that depends on the skip: a leap across a wide gap is answered by a move back into it more often than a leap of the same size that crossed none. That is a memory, and a memory makes some of the reversals that the pull was being credited with.
So the walk was given one. The result is not that hirajōshi’s question gets easier because the reversals now carry information about its gaps. It gets harder, much faster than any change to how a melody moves has made it, and it gets harder exactly because hirajōshi has gaps.
A memory of one move
The walk is the earlier essays’ in every other respect, and like theirs it is a walk because a melody is a walk, not a set: a path of mostly small moves across a scale rather than a choice among its notes. A melody’s position is its distance from the centre in scale degrees. At each note it repeats, steps one degree, or skips two, three or four, in the shares three tunes gave: 31 repeats, 55 steps and 15 skips in 101 moves. Which way a move goes comes from a pull towards the centre that grows with distance, either in semitones or in degrees.
The new thing is what the walk remembers. Its state is now the degree and what its last move was: nothing worth remembering, a repeat or a step; a skip of two degrees or more that crossed a wide gap, meaning a step of the scale three semitones or wider lies inside it; or a skip that crossed none — each of the last two either up or down. After a remembered skip across a gap, the chance q that the next move, a repeat aside, goes back the other way under the pull becomes
q + γ (1 − q)
so γ is the share of the reversals the pull would not have produced that the memory supplies instead. A skip that crossed no gap is answered by the pull alone, as before. The pull’s strength κ is then refitted, as in every earlier essay, so that sixty per cent of all skips of two degrees or more are followed by a move the other way. Memory and pull now share that sixty per cent.
The two fitted walks, one pulled in semitones and one in degrees, are compared exactly as Markov chains on degree and memory together. The information per note separating them gives the notes needed to tell them apart at a likelihood ratio of 99, and dividing by thirty gives tunes. With γ at nought the walk is the earlier essays’ state for state, and so are its numbers: 102 tunes on hirajōshi, 295 on the double harmonic, 445 on the harmonic minor, 455 on the major scale and 521 on the major pentatonic.
What counts as a gap matters and is a choice. Three semitones makes the major third steps of hirajōshi gaps, and the augmented seconds of the harmonic minor and the double harmonic, and the minor thirds of the pentatonic. The major scale’s widest step is a whole tone, so on the major scale there is no gap to remember and γ changes nothing — the figures check that it changes nothing to the last digit, since it is the one control the model carries inside itself.
The pull drains
At γ of a tenth, the hero’s bars, hirajōshi needs 255 tunes instead of 102. The double harmonic needs 637, the harmonic minor 636 and the pentatonic about 1,300. The major scale still needs 455.
The mechanism is simple once the fitted pull is drawn. Every reversal the memory makes is one the pull no longer has to, so the refitted κ falls: on hirajōshi from 0.443 with no memory to 0.315 at a tenth and 0.100 at a fifth, the semitone pull and the degree pull falling together within a few thousandths of each other. The information that separates them falls faster than κ does. The two pulls differ in where they push hardest — at the notes beside hirajōshi’s major thirds, where a semitone of distance and a degree of distance part company — and a weaker pull pushes less hard everywhere, so the difference it leaves for a listener or a corpus to detect shrinks faster than the pull itself does. At a fifth the pull is under a quarter of its strength and the melody needed is fifty-seven times as long.
At 20.6 per cent the memory makes sixty per cent of skips reverse by itself. κ is nought, both walks are the same walk, and no amount of melody tells a semitone pull from a degree pull, because there is no pull to tell. Before that point the cost climbs steeply: 150 tunes at five per cent, 367 at twelve and a half, 596 at fifteen, about 1,200 at seventeen and a half, 5,800 at twenty.
This is a different kind of effect from anything the earlier essays varied. How often a melody repeats moved hirajōshi’s count between 52 and 246, and where and which way it skipped moved it by a quarter. A memory as weak as one reversal in ten that the pull would not have made moves it by a factor of two and a half. The question was always a question about a pull, and anything else that makes reversals takes the pull away.
How much memory leaves nothing
The strength at which the pull vanishes is a property of each scale, and the comparison between scales holds the essay’s first surprise.
A memory of every skip runs the pull out at exactly the same strength on all five scales, 18.9 per cent. The reason is that with no pull the walk does not know which scale it is on. It moves in degrees with the tunes’ step shares and goes either way with equal chance, and on any scale with any spacing that is one walk. Its reversals after a skip are then the same everywhere, and so is the memory needed to lift them to sixty per cent.
A memory of gaps acts only on the skips that cross one. On hirajōshi and the pentatonic that is 92 per cent of skips, so the memory has to be only slightly stronger than a memory of everything — 20.6 per cent — to do the same work. On the double harmonic it is 80 per cent and the pull lasts to 24.2. On the harmonic minor, whose only gap is the augmented second between its sixth and seventh degrees, fewer than half of skips cross a gap, and the memory has to supply 44.7 per cent of the missing reversals on those to carry the whole sixty. On the major scale, no strength suffices. A melody that only remembers gaps cannot replace the pull on a scale with none.
The ranking turns over
Put those together and the order of the scales reverses.
With no memory, hirajōshi needs 102 tunes and the major scale 455, four and a half times as many. That ratio was the argument of where a melody skips moves the ratios that how often it skips could not and the two essays before it: the scale with very unequal steps is where a semitone pull and a degree pull disagree most, so it is where the question can be settled with least melody. With a memory of gaps that ordering is temporary. The harmonic minor passes the major scale almost immediately, before five per cent; the double harmonic between five and ten; hirajōshi between twelve and a half and fifteen. At a fifth, the major scale needs 455 tunes, the harmonic minor about a thousand, the double harmonic 3,200, hirajōshi 5,800 and the pentatonic 29,000.
The order at the end is the order of how many of each scale’s skips cross a gap, from none on the major scale to ninety-two per cent on hirajōshi and the pentatonic. The disagreement between the two pulls lives at the edges of the wide steps. So does the memory. The scale with the most to say about the pull is the scale on which a memory of its gaps can say it instead.
The pentatonic deserves a line of its own. It was the dearest scale with no memory, because its steps of two and three semitones are nearly even and the two pulls barely disagree. Its gaps are minor thirds, every one of its skips crosses one, and the memory takes its small disagreement away at the same rate as hirajōshi’s large one. A scale that was hard to read becomes very nearly unreadable.
What a corpus would count
The memory was introduced as a model of gap-fill, so the obvious check is whether gap-fill would show it: whether, in a melody with this memory, skips across a gap are answered more often than skips across none.
They are, and they already were. With no memory, on hirajōshi, 60.3 per cent of skips across a gap are followed by a move the other way against 56.4 per cent of skips across none. On the harmonic minor it is 61.0 against 59.2, on the double harmonic 60.9 against 56.5. The pull produces it unaided. A skip across a wide gap covers more semitones than one of the same number of degrees that does not, so it more often ends far from the centre, and far from the centre the pull is stronger. That is the argument of the leap that pays itself back applied inside a scale: a bigger leap is answered more often by regression alone, and a leap across a gap is a bigger leap.
So a corpus that finds skips across gaps reversing more often than other skips has not found a memory. It has found the pattern the pull alone would leave, at about the size the pull alone would leave it.
The memory does change the counts, and where it changes them is the useful part. As γ rises the reversal after a skip across a gap barely moves — on hirajōshi from 60.3 to 60.8 per cent at a fifth — because the overall rate is held at sixty and most of hirajōshi’s skips cross a gap. The reversal after a skip across no gap falls, from 56.4 to 50.6, towards the even chance of a walk with no pull at all. A memory of gaps shows up not as more gap-fill but as less reversal everywhere else. The measurement that would separate a memory from a pull is the reversal after skips that cross no gap, compared with what the pull fitted to all skips predicts for them.
Knowing where the gaps are
The essay’s question asked whether reversals that carry information about the gaps would make hirajōshi’s question easier. Against a walk with no memory they do not, as the figures above show. Against a memory that carries no information about gaps — every skip remembered alike — they do. At a tenth, hirajōshi needs 255 tunes with a memory of gaps and 290 with a memory of every skip; at fifteen per cent, 596 against 844; at a fifth, 5,800 against none at all, since a memory of every skip has emptied the pull by then. On the harmonic minor the difference is large: 790 tunes against 4,000 at fifteen per cent.
The reason is the same arithmetic. Whatever the memory does not cover, the pull must still make, and those reversals are evidence about the pull. A memory confined to gaps leaves the pull working after every other skip; a memory of everything takes the reversals from the pull everywhere at once. Information about the gaps does help, then, but only in the sense that it is information about which reversals not to take from the pull.
What the walk leaves out
One move of memory, and only its direction. The memory sets which way the next move goes, not how far. Gap-fill in the corpus sense is often a step back into the gap — a particular size as well as a direction — and a walk whose memory also favoured a step over a skip after crossing a gap would move the evidence in a way this one does not reach.
γ is a share, swept, not a measurement. No repertoire’s γ is known. The figures say what each strength would cost; whether any music in hirajōshi has a memory of its gaps of a tenth, a fifth or nothing has not been counted here.
A gap is three semitones or wider. Moving the threshold to four would leave hirajōshi’s gaps and remove the augmented seconds and the pentatonic’s minor thirds, putting the harmonic minor, the double harmonic and the pentatonic beside the major scale. The ranking that turns over is a ranking at this threshold.
The sixty per cent is held fixed. Every pull is refitted to the same overall reversal, so the memory always takes its reversals from the pull. If a melody’s memory added reversals on top of what its pull already made, the overall rate would rise above sixty, and the pull would be measurable through the memory instead of hidden by it. The corpus rate is the constraint that makes the two compete.
Three tunes’ moves. The shares of repeats, steps and skips come from three major-key songs, as in every essay of this sequence. How a melody moves sets how many tunes it takes, and not which scale needs fewest found those shares moving the counts several-fold, and that holds here too.
Which repertoires
The five scales are hirajōshi, the double harmonic, the harmonic minor, the major scale and the major pentatonic, each as a pattern of steps with no tonal hierarchy and no tradition attached. Gap-fill has been counted in corpora of Western folk and art melody, mostly on diatonic and pentatonic material, where the corpus literature has repeatedly found much of the reversal after a leap accounted for by a melody’s return towards the middle of its range. That is a finding that γ is small in those repertoires, and it is what the method needs: the question of how a melody measures distance can be settled in a repertoire only where the reversals belong to the pull. Whether that is true of music written in hirajōshi is the first thing a study of it would have to establish, and the reversal after skips that cross no gap is the count that would establish it.
The surprising part
A tune’s range is a number of notes, not an interval found that a walk’s width is counted in notes and measured afterwards in semitones, and a melody’s pull can be counted only where a step is a skip found the evidence about the pull concentrated at a scale’s wide steps. Both made hirajōshi’s gaps the place to look. This essay finds that the same gaps are where a melody’s habit of answering a leap would hide what was there to see. The feature that makes a scale informative about how a melody measures distance is the feature a melody is most likely to have a habit about, and a habit is enough. A listener or a corpus trying to learn the pull from a gapped scale is learning it exactly where the music has the most other reasons to turn round.
Still open: a memory that fills the gap with a step
The memory here chooses only the direction of the move after a skip across a gap. Gap-fill as theorists describe it is more specific: the gap is filled, by a step back into it, so that the notes skipped over are supplied. A memory that set the size of the next move as well as its direction — a step more likely than a skip after a gap was crossed — would leave the reversal rate where this one puts it and change which notes the melody visits next, and on hirajōshi the notes inside a gap are exactly the notes beside the major thirds where the two pulls disagree most. The calculation is this walk with the step shares after a gap-crossing skip moved towards a step, the pulls refitted, and it would say whether filling the gap gives back to the pull the evidence that turning round took from it.
Part 15 of 15
One essay in the series on melody. 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.
Melodic intervalPost-skip reversalRandom walk
- The twelfth, and where it comes from melodic interval, post-skip reversal, random walk