Scales and modes

How a melody moves sets how many tunes it takes, and not which scale needs fewest

Telling a pull towards the centre counted in semitones from one counted in degrees took about a hundred tunes on hirajōshi, on a step distribution borrowed from three major-key songs. Made a dial, the distribution moves that hundred anywhere from 52 to 246: repeats lengthen the count, skips shorten it. It moves every other scale with it, to within a few per cent. The double harmonic always needs three times hirajōshi's notes, the major scale four and a half, the pentatonic five. Which scale can settle the question is a property of the scales; how many tunes it takes is a property of the repertoire, and needs that repertoire's own count of repeats and skips.

Assumes: Counted in degrees, a melody's pull costs a hundred tunes on hirajōshi, not a dozen · A melody's pull can be counted only where a step is a skip

A melody that wanders tends to come back towards the middle of its range, and a melody’s pull can be counted only where a step is a skip asked what that pull is measured in. If it is in semitones, a note four semitones above the centre is pulled back harder than one two semitones above it whatever the scale; if it is in degrees, the pull counts steps of the mode, and a wide step and a narrow one count alike. On an even scale those are the same model. On a scale whose steps are one and four semitones, as hirajōshi’s are, they are two different walks, and the essay worked out how much melody it would take to tell them apart.

Counted in degrees, a melody’s pull costs a hundred tunes on hirajōshi, not a dozen then corrected the size of that question. Counting a skip as a move of two scale degrees, rather than as three semitones, took hirajōshi from about a dozen thirty-note tunes to about a hundred, and the pentatonic from second easiest of the scales to last. Both essays shared one borrowed number that neither could test, and the second said so. How often a melody steps, skips or repeats a note was taken from three major-key tunes, 31 repeats, 55 steps and 15 skips of two to four degrees in 101 moves, and applied unchanged to every scale. A mode with four-semitone gaps may well be sung with more repeated notes and fewer single steps than a major-key folk song, or the reverse.

The question was whether hirajōshi’s hundred tunes survive a different way of moving, or whether the count shifts by another order of magnitude with the share of steps, which would make the question unanswerable from any one repertoire without first counting how that repertoire moves.

The dial, and what it keeps

The walk is the earlier essays’ exactly. 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 degrees, and the direction of every move is decided by a pull towards the centre that grows with the distance, measured either in semitones or in degrees. Each version of the pull is fitted so that sixty per cent of skips of two degrees or more are followed by a move in the other direction, which is about the rate at which melodies in published corpora turn back after a leap. The two fitted walks are then compared exactly, as Markov chains, and the information per note that separates them gives the number of notes it would take to tell them apart at a likelihood ratio of 99.

The only change is the step distribution. Three shares set it: the share of moves that repeat the note, the share that skip two degrees or more, and the rest, which step. The skips keep the three tunes’ own proportions among themselves, six of two degrees to five of three to four of four. At the tunes’ own shares, 31 per cent repeats and 15 per cent skips, this is the earlier distribution exactly, and every count below reproduces the earlier essay’s at that point: 3,054 notes on hirajōshi, 13,645 on the major scale. The repeats are swept from none to sixty per cent and the skips from two to forty-five.

The counts move together

At the three tunes' share of repeats, every scale needs fewer notes the more the melody skips, and every scale's line has the same shapeNotes of melody needed to tell a pull towards the centre in semitones from one in degrees at a likelihood ratio of 99, both fitted to a 60 per cent reversal after a skip of two degrees or more, with 31 per cent of moves repeating the note, against the share of moves that skip; the rest are steps of one degree. hirajōshi: 2% 4494, 5% 4031, 15% 3051, 30% 2292, 45% 1888; double harmonic: 2% 12547, 5% 11384, 15% 8827, 30% 6766, 45% 5645; harmonic minor: 2% 19052, 5% 17265, 15% 13342, 30% 10182, 45% 8454; major: 2% 19513, 5% 17673, 15% 13632, 30% 10361, 45% 8559; major pentatonic: 2% 23121, 5% 20704, 15% 15617, 30% 11681, 45% 9580.the tunes' skips0%10%20%30%40%100030001000030000share of moves that skip two degrees or morenotes of melody neededhirajōshidouble harmonicharmonic minormajormajor pentatonicrepeats: 31%
Fig. 1 Notes of melody needed to tell a pull in semitones from a pull in degrees, on five scales, against the share of moves that skip two degrees or more, with 31 per cent of moves repeating the note, the three tunes’ share; the dashed line is the tunes’ own share of skips. The dial sets the share of repeats.

At the tunes’ share of repeats, more skips mean fewer notes on every scale. On hirajōshi the count falls from 4,494 notes with two per cent of moves skipping to 3,051 at the tunes’ fifteen per cent and 1,888 at forty-five. On the pentatonic it falls from about 23,100 to 9,582. The five lines on the logarithmic axis are nearly parallel, and the order of the scales is the same at every point: hirajōshi needs fewest, then the double harmonic, the harmonic minor, the major scale and the pentatonic.

Turning the dial to more repeats lifts every line and turning it to fewer drops them, and the lines stay parallel. At every mix of repeats and skips the order of the five scales is the same, at every one of the mixes drawn.

A fixed multiple of hirajōshi

Over every mix of repeats, steps and skips, each scale needs the same multiple of hirajōshi's notes to within a few per cent. For 24 mixes of repeats (0 to 60 per cent) and skips (2 to 45 per cent): each scale's notes needed as a multiple of hirajōshi's at the same mix, from smallest to largest. double harmonic: 2.78 to 3.01; harmonic minor: 4.23 to 4.49; major: 4.33 to 4.53; major pentatonic: 5.06 to 5.15. Hirajōshi itself over the same mixes: 1560 to 7369 notes.
Fig. 2 Over 24 mixes of repeats from none to sixty per cent and skips from two to forty-five: each scale’s notes needed, as a multiple of hirajōshi’s at the same mix, the dots individual mixes and the bar their range.

Divide each scale’s count by hirajōshi’s at the same mix and the result barely moves. Over 24 mixes that between them change hirajōshi’s own count from 1,560 notes to 7,369, the double harmonic needs between 2.78 and 3.01 times hirajōshi’s notes, the harmonic minor 4.23 to 4.49, the major scale 4.33 to 4.53 and the pentatonic 5.06 to 5.15. The pentatonic always needs five times as much melody as hirajōshi, give or take two per cent, however a melody moves.

So the question has two parts that separate cleanly. How much harder one scale makes the question than another is a property of the scales and the pulls, nearly independent of how the melodies move. How much melody it takes in absolute terms depends on how the melodies move, and strongly.

What the hundred tunes become

Hirajōshi's hundred tunes are anywhere from fifty to two hundred and fifty, depending only on how often the melodies repeat and skip. Hirajōshi: thirty-note tunes needed to tell a pull in semitones from a pull in degrees at a likelihood ratio of 99, for each share of moves repeating the note (columns) and skipping two degrees or more (rows). 0% repeats, 2% skips: 106; 15% repeats, 2% skips: 124; 31% repeats, 2% skips: 150; 45% repeats, 2% skips: 185; 60% repeats, 2% skips: 246; 0% repeats, 5% skips: 98; 15% repeats, 5% skips: 113; 31% repeats, 5% skips: 134; 45% repeats, 5% skips: 162; 60% repeats, 5% skips: 207; 0% repeats, 15% skips: 79; 15% repeats, 15% skips: 89; 31% repeats, 15% skips: 102; 45% repeats, 15% skips: 118; 60% repeats, 15% skips: 142; 0% repeats, 30% skips: 62; 15% repeats, 30% skips: 68; 31% repeats, 30% skips: 76; 45% repeats, 30% skips: 86; 60% repeats, 30% skips: 102; 0% repeats, 45% skips: 52; 15% repeats, 45% skips: 57; 31% repeats, 45% skips: 63; 45% repeats, 45% skips: 71. At the three tunes' own mix: 102.
Fig. 3 Hirajōshi: thirty-note tunes needed to tell the two pulls apart, for each share of moves repeating the note (columns) and skipping two degrees or more (rows); paler cells need more. The outlined cell is the three tunes’ own mix.

The answer to the lead’s question in hirajōshi’s own terms is a range. At the three tunes’ mix the count is 102 thirty-note tunes, the earlier essay’s hundred. A repertoire with no repeated notes and nearly half its moves skipping would settle the question in 52 tunes. One that repeats three notes in five and almost never skips would need 246. The hundred tunes are anywhere from fifty to two hundred and fifty, a factor of about five across the grid, and nowhere near the order of magnitude that would make the question hopeless.

The factor is large enough that the number of tunes cannot be quoted without the repertoire’s own step distribution, and small enough that the step distribution of any plausible repertoire puts the answer in the low hundreds. A collection of a few hundred transcribed melodies in hirajōshi, with their moves counted, would settle both the step distribution and the question it was needed for.

What the same dial does to the other scales

Because the ratios are fixed, the grid for hirajōshi converts into every other scale by multiplication, and on the other scales the range is less forgiving. The major scale needs about four and a half times hirajōshi’s melody at every mix, so its 455 thirty-note tunes at the three tunes’ own mix become about 235 for a repertoire of skipping, non-repeating melodies and about 1,070 for one that mostly repeats and steps. The pentatonic, at five times hirajōshi, runs from about 265 to about 1,260. The double harmonic, at about three times, from about 155 to 690.

Those numbers say something the earlier essays only implied. On the major scale and the pentatonic, the question of what a melody’s pull is measured in is not merely expensive; for a repertoire that steps and repeats as much as most folk song does, it is beyond any corpus anybody has assembled in a single mode with consistent transcription. The reason is the one two sizes of every step gave for why a third can be three semitones or four and still be called a third: on the diatonic scale a degree and a size in semitones almost never disagree about which of two moves is larger, so a pull in degrees and a pull in semitones are almost the same pull. Hirajōshi is the scale on which they disagree most near the centre, and that is why it is the place to look whatever the repertoire.

Why repeats cost less than they dilute

Repeats lengthen the count by less than their share of the moves, because a melody that stays put more must turn back harder to reverse as often. Hirajōshi: notes needed as a multiple of the count with no repeats, against the share of moves that repeat the note, at three shares of skips; the dashed curve is one over the share of moves that move, what repeats would cost if they only diluted the evidence. skips 5%: 0% 1.00, 15% 1.15, 31% 1.37, 45% 1.65, 60% 2.11; skips 15%: 0% 1.00, 15% 1.12, 31% 1.28, 45% 1.49, 60% 1.79; skips 30%: 0% 1.00, 15% 1.10, 31% 1.23, 45% 1.39, 60% 1.64.
Fig. 4 Hirajōshi: notes needed as a multiple of the count with no repeats, against the share of moves that repeat the note, at three shares of skips. The dashed curve is one over the share of moves that move, which is what repeats would cost if all they did was dilute the evidence.

The first guess about repeats is simple. A repeated note carries no information about which way a pull points, because it does not go anywhere, so a melody with a share r of repeats needs 1/(1 − r) times as many notes as one with none. Sixty per cent of repeats would cost 2.5 times as much melody.

They cost less: 2.11 times at five per cent of skips, 1.79 at fifteen, 1.64 at thirty. Repeats dilute the evidence, but they also change the walk that the evidence is about, because each pull is fitted to the same observable, sixty per cent of reversals after a skip. A melody that repeats a lot takes fewer moves between skips, so it drifts less far from the centre between them, and the pull that produces the same rate of turning back has to be stronger.

The more a melody repeats, and the more it skips, the stronger the pull fitted to the same reversal, and both meanings of distance need nearly the same pull. Hirajōshi: the pull strength κ each walk is fitted to so that 60 per cent of skips of two degrees or more are followed by a reversal, against the share of moves that repeat, at skip shares of 5 and 30 per cent. pull in degrees, skips 5%: 0% 0.363, 15% 0.368, 31% 0.376, 45% 0.386, 60% 0.403; pull in degrees, skips 30%: 0% 0.475, 15% 0.493, 31% 0.516, 45% 0.545, 60% 0.588; pull in semitones, skips 5%: 0% 0.368, 15% 0.373, 31% 0.381, 45% 0.391, 60% 0.408; pull in semitones, skips 30%: 0% 0.481, 15% 0.499, 31% 0.523, 45% 0.552, 60% 0.596.
Fig. 5 Hirajōshi: the pull strength each walk is fitted to so that sixty per cent of skips are followed by a reversal, against the share of moves that repeat, at five and thirty per cent of skips, for the pull in degrees and the pull in semitones.

The fitted pulls show it. With five per cent of skips the pull in degrees rises from 0.363 with no repeats to 0.403 with sixty per cent, and with thirty per cent of skips from 0.475 to 0.588. A stronger pull makes every move that does happen more informative, and that recovers part of what the repeats dilute. More skips have the same effect more strongly: a melody that skips more often is further from its centre when it skips, which takes a stronger pull to turn back sixty per cent of the time, and the stronger pull is easier to read.

The two meanings of distance need almost the same pull at every mix, within about 0.01. What separates them is not how hard they pull but where on the scale they pull differently, and that is the subject of the last figure.

Where the evidence sits

Whatever the mix, nearly all the evidence between the two pulls comes from the notes one and two degrees from the centre. Hirajōshi: the share of the information per note separating a pull in semitones from a pull in degrees contributed at each degree from the centre, at three mixes of repeats and skips. no repeats, many skips: -3 0.1%, -2 1.0%, -1 45.4%, 0 0.0%, 1 2.4%, 2 50.8%, 3 0.1%; the tunes' mix: -3 0.1%, -2 0.9%, -1 46.7%, 0 0.0%, 1 2.5%, 2 49.5%, 3 0.1%; mostly repeating: -3 0.0%, -2 0.8%, -1 48.2%, 0 0.0%, 1 2.6%, 2 48.1%, 3 0.1%.
Fig. 6 Hirajōshi: the share of the information separating the two pulls contributed at each degree from the centre, at three mixes: no repeats with many skips, the tunes’ mix, and mostly repeating.

The essay on counting skips in degrees found that the evidence sits on the two notes beside the centre, pointing opposite ways. On hirajōshi the notes one degree below and two degrees above the centre carry 96 to 97 per cent of it at every mix: 45 to 48 per cent at one degree below, 48 to 51 per cent at two above, with only a few per cent anywhere else. That is the reason the ratio between scales is so stable. The step distribution changes how often a melody stands on the notes that carry the evidence and how hard it is pulled there, and it changes both in the same way on every scale, so it scales every count and leaves every ratio. What decides a scale’s ratio is the arrangement of its own small and large steps near the centre, which no repertoire can change.

The surprising part: a ratio that does not care how it is measured

The result has a familiar shape from measurement elsewhere. When a quantity factorises into a part that belongs to the thing measured and a part that belongs to the conditions of measurement, the ratio between two things measured under the same conditions is a property of the things alone. Relative sensitivity in a psychophysical experiment survives a change of observer for the same reason, and the relative difficulty of two items in a test survives a change of the population taking it, to the extent that difficulty and ability factorise. Here the conditions are the way melodies move, and the factorisation is nearly exact: two per cent on the pentatonic, eight on the double harmonic. A study comparing two modes could rank them against each other on any repertoire and be right; a study asking how much melody one mode needs has to measure its own repertoire first.

That changes what a corpus study of this question needs to be. It does not need repertoires matched for how they move, if all it wants is to compare two scales. It needs only one well-counted repertoire per scale, with its repeats and skips reported, and the ratio this calculation gives can be checked directly against what the counts find.

What the dial cannot reach

The skips keep their proportions. Every mix keeps two-, three- and four-degree skips at six to five to four. A repertoire in hirajōshi might favour skips across its four-semitone gaps and avoid others, which would change which degrees carry the evidence and could move the ratios. The dial varies how much a melody skips, not where it skips to.

The repeats are independent of position. A real melody repeats some notes more than others, often the tonic and the fifth. A pull that only acts on moves is unaffected by where the repeats fall in this model, and in a melody it would not be.

Sixty per cent stays fixed. Every walk is fitted to the same reversal after a skip, taken from corpus studies of mostly Western melodies. A repertoire with a different reversal rate would have different fitted pulls and different counts, as the leap that pays itself back and the smoothness is in the skips discuss for the pattern itself.

A random walk is not a tune. The pull towards the centre is one regularity among many, and a melody is a walk, not a set is the reminder that the walk is a model of how successive notes depend on each other, not a model of a melody’s form, its phrases or the part of a tune that is kept from one verse to the next. Real tunes repeat whole phrases, and a repeated phrase is not new evidence.

What a repertoire would have to report

The dial turns the earlier essays’ borrowed number into a short list of things a corpus would need to count, and none of them is hard. The share of moves that repeat the note. The share that skip two degrees or more, counted in the mode’s own degrees rather than in semitones, which is the choice the essay on counting skips in degrees showed matters. The rate at which melodies turn back after such a skip, since every pull here is fitted to it. And, for the question this essay leaves open, where in the mode the skips start and end. With those four, the count of tunes needed follows from the grid, and the ratio to any other scale from the figure of fixed multiples.

What such a corpus must not do is treat a mode as a list of pitch classes and nothing more. A scale is not a set of pitches, and two repertoires using the same five notes can centre them differently, in which case the centre the pull acts towards, and so the notes beside it that carry all the evidence, are different notes.

Whose melodies

The scales are named modes, but no repertoire in any of them has been counted here. The step distribution comes from three major-key tunes, as in the earlier essays, and the dial says what happens if a repertoire moves differently; it does not say how any repertoire does move. Hirajōshi is a modern name for a scale used in Japanese koto music and in much twentieth-century writing that borrowed it, and the pentatonic and the double harmonic are similarly broad labels. Whether melodies in any of them repeat notes more or skip more than a Western folk song is an empirical question the calculation now makes worth answering, but cannot answer.

Still open: where a repertoire skips to

The dial here changes how much a melody skips and keeps the shape of its skips fixed. A scale with steps of one and four semitones offers a melody a choice that a major scale does not: a skip of two degrees can span five semitones or six, depending on which gap it crosses, and a melodist may avoid one and favour the other. If hirajōshi’s melodies skip preferentially across the large gaps, the notes beside the centre are visited differently and the evidence moves. The calculation is this walk with the skip distribution depending on the degree it starts from, swept from skips that avoid the four-semitone gaps to skips that seek them, and it would say whether the fixed ratios found here survive a repertoire that treats its own scale’s gaps unevenly — whether the ranking of scales is a property of the scales, or of the scales together with how their melodies use them.

Part 12 of 13

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

Counted with skips of two degrees, the two meanings of a melody's pull nearly coincide, and part only beside the centre. The hirajōshi scale, centre on its first note, both pulls fitted to a post-skip reversal of 60 per cent with a skip defined as a move of two or more degrees: the chance of moving inwards at each degree. Pull in semitones κ 0.449, pull in degrees κ 0.443 (with skips counted in semitones they were 0.715 and 0.849). Notes of melody to tell the two at a likelihood ratio of 99: 3054, against 337 with skips counted in semitones. Counted in degrees, a melody's pull costs a hundred tunes on hirajōshi, not a dozen Part 11 — Whether a melody is pulled towards its centre in semitones or in scale degrees looked decidable on hirajōshi from a dozen tunes. Most of that was the definition of a skip: three semitones turns some of the scale's own steps into skips. Counted as a move of two degrees, the seventeenfold cliff disappears, every unequal scale needs three to ten times as many notes, hirajōshi about a hundred tunes, and the pentatonic falls from second to last. The two definitions agree on a scale only when its seconds and thirds never overlap in size, and then only if the threshold sits in the gap. With skips taken as the three tunes take them, hirajōshi needs about three thousand notes and the pentatonic five times as many. Notes of melody needed to tell a pull towards the centre in semitones from one in degrees at a likelihood ratio of 99, both fitted to a 60 per cent reversal after a skip of two degrees or more, on five scales, with each skip weighted by (its span in semitones ÷ the mean span of a skip of that many degrees) to the power 0, the share of skips at each degree held fixed. hirajōshi 3054 (unbiased 3054); double harmonic 8836 (unbiased 8836); harmonic minor 13356 (unbiased 13356); major 13645 (unbiased 13645); major pentatonic 15634 (unbiased 15634). Where a melody skips moves the ratios that how often it skips could not Part 13 — How often a melody repeats, steps and skips changed how many tunes it takes to tell a pull counted in semitones from one counted in degrees, and left every scale a fixed multiple of hirajōshi to within a few per cent. Where it skips does not. Let a melodist prefer the skips that cross a scale's wide gaps, or avoid them, holding how often it skips, and the multiples move by up to a fifth: the pentatonic from 5.1 times hirajōshi to 4.2, the double harmonic from 2.9 to 2.4. Hirajōshi still needs fewest and the pentatonic most, but the harmonic minor and the major scale change places once skips seek the augmented second. A ranking of scales is mostly a property of the scales; their ratios belong to the scales and their repertoire together.

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