Generator

One pattern, four metres

The same 12-step onset pattern read under 4 candidate metres, each scored by a preference rule set: 3 for a strong position that carries an onset, -2 for one that does not, -1 for an onset that lands off every strong position. The scores are 4/4 -4, 3/4 12, 6/8 12, 12/8 as 3+3+3+3 12, so 3/4 and 6/8 and 12/8 as 3+3+3+3 tie and the model does not choose. Nothing about the sound differs between these readings; the bar line is supplied by the listener.
One pattern, four metres. The same 12-step onset pattern read under 4 candidate metres, each scored by a preference rule set: 3 for a strong position that carries an onset, -2 for one that does not, -1 for an onset that lands off every strong position. The scores are 4/4 -4, 3/4 12, 6/8 12, 12/8 as 3+3+3+3 12, so 3/4 and 6/8 and 12/8 as 3+3+3+3 tie and the model does not choose. Nothing about the sound differs between these readings; the bar line is supplied by the listener.

Drawn above with its standard settings, which is almost never how an essay draws it: an essay states the numbers it is arguing about, so the figure a reader meets there is about that argument rather than about the drawing in general. Every option a placement passes is checked against the ones this function actually reads, because an option it does not read is silently ignored and the figure quietly draws what is above instead.

It makes a noise. 59 of its 59 placements carry sound, built from the same numbers as the drawing, offering these buttons: The pattern, evenly, the same onsets, heard in 12/8, the same onsets, heard in 12/8 as 3+3+3+3, the same onsets, heard in 2+2+2+3, the same onsets, heard in 2+2+3, the same onsets, heard in 2+2+3+2, the same onsets, heard in 2+3+2, the same onsets, heard in 2+3+2+2 and 54 more.

Called by 15 essays

the blast radius of changing it

One pattern, four metres. The same 12-step onset pattern read under 4 candidate metres, each scored by a preference rule set: 3 for a strong position that carries an onset, -2 for one that does not, -1 for an onset that lands off every strong position. The scores are 4/4 -4, 3/4 12, 6/8 12, 12/8 as 3+3+3+3 12, so 3/4 and 6/8 and 12/8 as 3+3+3+3 tie and the model does not choose. Nothing about the sound differs between these readings; the bar line is supplied by the listener.

The beat is inferred, and sometimes wrongly

A bar line is not in the sound. One sequence of onsets supports a reading in four, in three and in six, and which one a listener settles on comes from a small set of preference rules rather than from anything in the signal — which is why the same recording can be heard two ways and why nobody can be talked out of either.

rhythm · Metre induction
The same induction, one level up. Bar-level onsets from thirty-two-bar AABA — a bar is marked where a section or a key begins — scored against hypermetres of 2, 3, 4, 6, 8 bars with the identical function the beat-level figures use. The best-fitting period is 8 bars, which at 108 beats a minute lasts 17.8 seconds.

The bar above the bar

A four-bar group is a bar whose beats are bars. That is not an analogy — it is the same computation, and the same metre-induction model produces one when it is handed bars instead of beats, unchanged. What decides where the hierarchy of levels stops is not in the arithmetic at all, and it is a number the phrase essay already measured.

form · Metre induction
Twelve stages, and the composer chose the rule. Every rotation of a 12-step pattern with 8 onsets against the unrotated original. Each row is one stage of a phase piece: the filled cells are what is heard when the two parts sound together, and the count beside it is how many of the two parts' onsets coincide. The number of stages is the length of the pattern, so the length of the piece is arithmetic.

A process that enumerates its own form

Take a twelve-step pattern, play it against itself, and move one copy along by one step at a time. The piece is over when the copy returns to where it started, so its length is twelve — arithmetic, not a decision. What is heard at each stage is the union of the two parts, and nobody composed any of it.

rhythm · Polyrhythm
One pattern, four metres. The same 6-step onset pattern read under 3 candidate metres, each scored by a preference rule set: 3 for a strong position that carries an onset, -2 for one that does not, -1 for an onset that lands off every strong position. The scores are the 3 is the beat 8, the 2 is the beat 4, every step is a beat 8, so the 3 is the beat and every step is a beat tie and the model does not choose. Nothing about the sound differs between these readings; the bar line is supplied by the listener.

Which of the two is the beat

A polyrhythm is notated as a bar of two with three laid across it. Run the metre rules used here over the composite and they choose the three — at every ratio tried, without exception. Add the one other rule the rules have, and the answer changes hands at a bar of 1,013 milliseconds, which is 118 to the minute.

rhythm · Polyrhythm
The bell against every division of its cycle. A 12-step pattern of 7 onsets drawn round a circle, with 4 equal divisions of the same cycle as inner rings. Each ring's beats are filled where the pattern strikes them: 1 of the 2, 2 of the 3, 2 of the 4, 3 of the 6. No division has all of its beats struck and none has none of them, so the pattern belongs to no one of them and can be played against any of them. That is what a cross-rhythm is here: one pattern against the beat, and against more than one beat at once, rather than two patterns against each other.

The bell is not a polyrhythm

Five earlier essays have set one pattern against another. In the practice the word cross-rhythm was borrowed from, there is one pattern and it is played against the beat — against several beats at once. Counted against the four divisions of a twelve-cycle, the Ewe bell marks half of the two, two-thirds of the three, half of the four and half of the six, and all of none of them.

rhythm · Polyrhythm
One pattern, four metres. The same 8-step onset pattern read under 4 candidate metres, each scored by a preference rule set: 3 for a strong position that carries an onset, -2 for one that does not, -1 for an onset that lands off every strong position. The scores are downbeat on step 1 -1, downbeat on step 2 -7, downbeat on step 3 -1, downbeat on step 4 -1, so downbeat on step 1 and downbeat on step 3 and downbeat on step 4 tie and the model does not choose. Nothing about the sound differs between these readings; the bar line is supplied by the listener.

The right period at the wrong phase

Finding the beat is two problems, not one. How far apart the beats are, and where the first one is. This site's rule set answers the first confidently on a tresillo and returns a three-way tie on the second — the same score for the downbeat on step one, step four and step seven — which is not a near miss but no answer at all.

rhythm · Metre induction
Syncopation against a bar of 8. An 8-step pattern with 3 onsets, against the metrical weights of its bar. A position's weight is zero on the downbeat and one lower at each level down the subdivision tree, drawn here as the depth of the bar hanging beneath it. A note on a weak position followed by a rest on a stronger one costs the difference. the tresillo, in a bar of eight scores 2 — the note at step 4 against the rest at step 5, costing 2.

Syncopation is a number about the metre

Longuet-Higgins and Lee price a syncopation at the metrical weight a note skips over. That makes it computable, and it makes it a property of a pair rather than of a rhythm — the son clave scores 4 read from step one, 2 from step three and 8 from step four, and not one onset has moved. Worse, the induction rules pick very nearly the reading that scores lowest.

rhythm · Metre induction
One pattern, four metres. The same 16-step onset pattern read under 4 candidate metres, each scored by a preference rule set: 3 for a strong position that carries an onset, -2 for one that does not, -1 for an onset that lands off every strong position. The scores are downbeat on step 1 0, downbeat on step 2 -12, downbeat on step 3 -12, downbeat on step 4 0, so downbeat on step 1 and downbeat on step 4 tie and the model does not choose. Nothing about the sound differs between these readings; the bar line is supplied by the listener.

The beat that is never sounded

A listener who has heard four bars of a groove and then hears two bars with the downbeats taken out does not move the downbeat. This site's rule set does, every time, on every pattern tried — and the direction it moves in says exactly what kind of model would be needed instead.

perception · Metre induction
Two metres as trees. Two metres — 9/8 as 3 × 3, 3 + 3 + 3; 9/8 as 2+2+2+3, 2 + 2 + 2 + 3 — each drawn as the bar dividing into beats and the beats dividing again. Simple and compound metres have the same number of beats and differ in the second division; an additive metre has beats of unequal length, which no single division produces.

No term for an unequal beat

A Balkan bar of nine is four beats, three short and one long. The induction rules lay their strong positions at a fixed period, so the only readings of nine it can offer are nine, three and one — and for a bar of seven, where seven is prime, the only readings are seven and one. The right answer is not among the candidates.

rhythm · Metre induction
A tracker following a tempo that will not stay still. The tracker's error as a fraction of a beat, against beat number, for 3 rates of tempo change with a period-correction gain of 0.2. It settles at 0.025 of a beat behind at 0.5 per cent a beat, 0.092 of a beat behind at 2.0 per cent a beat, 0.206 of a beat behind at 5.0 per cent a beat. It does not lose the beat; it lags, by very nearly the rate divided by the period-correction gain, and the lag reaches a quarter of a beat at 6.3 per cent a beat — at which point the tracker is nearer the wrong onset than the right one.

A metre has to be able to change its mind

Replace the scoring function with a phase-corrected oscillator and the two failures reported earlier separate. The beat now survives two silent bars, drifting 23 milliseconds of a 560-millisecond beat. But it does not lose a moving tempo so much as lag behind it, by the rate over the correction gain — and a cadential ritardando that halves the tempo in eight beats is faster than the model can follow.

form · Metre induction
One pattern, four metres. The same 12-step onset pattern read under 3 candidate metres, each scored by a preference rule set: 3 for a strong position that carries an onset, -2 for one that does not, -1 for an onset that lands off every strong position. The scores are 3/4 -4, 6/8 12, 2/4 -4, so 6/8 wins. The page prints 3/4, which the model does not prefer — it ranks 6/8 above it. Nothing about the sound differs between these readings; the bar line is supplied by the listener.

The time signature is a claim

A bar line is not a measurement. It is a claim about where the accents are, made before the sound exists, and there is a metre-induction model here that can be handed the same onsets and asked whether it agrees. On a hemiola it does not: the page says three and the model says six, by a margin of twelve against minus four. And on a bar of seven the signature is not even a candidate — what decides the reading is the beaming, which the signature does not contain.

rhythm · Notation
note length against the onsets. Every candidate metre's fit to a 16-step pattern with 4 onsets, plotted against how strongly note length is weighted. At a gain of zero the scoring is the onset-only one every earlier model used, and the winner is step 1 and step 4. At a gain of 0.05 the answer becomes step 4. 2 candidates are exactly flat — step 2 and step 3 have no onset on any strong position, so there is no credit for the cue to multiply and no weighting of it can move the line.

What the onsets left out

Eight essays induce a metre from a list of ones and zeros, and every failure they recorded was argued about as a failure of the rules. Two of the three are not. Note length is already in that list and the scoring throws it away: put it back and the son clave's two-way tie resolves to the notated downbeat. But the groove with its beat removed cannot be repaired by any cue at any strength, and the reason is arithmetic rather than empirical — the true phase has no onset on any of its strong positions, so there is no credit for a cue to multiply and its line is exactly flat.

form · Metre induction
How unequal a beat is allowed to be. Five bars — 2+3, 2+2+3, 2+2+2+3, 2+5, 3+4 — with the range of subdivision durations at which every one of the bar's beats stays inside the window where a series of events can be a beat — a tenth of a second to two seconds. The metres made of twos and threes have the widest bands, and they have them for a reason that is not about the window: a group of four subdivisions decomposes into two twos and a group of five into a two and a three, so neither is a beat at all. The only indivisible lengths are two and three, which fixes the ratio between an aksak metre's long and short beats at 3:2 by arithmetic.

How unequal a beat is allowed to be

A Balkan bar of nine is four beats, three short and one long, and the long one is always three subdivisions against two. Never four against two, never five against three. The usual explanation is that this is what the tradition does; there is a better one and it needs no perceptual measurement at all. A group of four subdivisions decomposes into two twos and a group of five into a two and a three, so neither is a beat — it is two. The only indivisible lengths are two and three, which fixes the ratio at three to two before anybody listens, and leaves the tempo window to decide only how fast the bar can go.

rhythm · Additive metre
What the joint search changes, and what it never changes. Over 552 constructed passages of eight slots with rests, how often the joint reading differs from the pipeline's. The chord differs in 29 per cent and the barline in 31, with both differing in 20. The key differs in 0 per cent — never — because the key is read from a pitch-class histogram, which does not know where the bar starts or which notes are chord tones. Two of the three decisions are entangled and the third is not.

Three decisions that constrain each other

Every model here decides one thing at a time — the key from the pitch classes, the metre from the onsets, the chords from the metre — and an earlier essay ended by saying a listener does all three at once. Resolving them jointly costs a hundred and fifty-seven times the search and changes the reading of two passages in five. It never once changes the key, and the reason it cannot is the reason the whole account is built the way it is.

harmony · Progression
Where a bar of 25 and a bar of 9 first disagree. The additive metre 2+2+2+3+2+2+2+3+2+2+3 — 25 units, an onset at the head of every group — with the accents it predicts drawn above the accents predicted by reading it as a repeating bar of 9, which is the cut of it that agrees longest. The two rows are identical for 24 consecutive steps and differ for the first time at step 25, where the shorter reading expects an accent and the metre does not supply one. Nothing before that step distinguishes the two hypotheses, so a listener who has not heard 25 consecutive steps has no evidence either way — whatever they are disposed to hear.

A twenty-five is a nine until its last unit

Every account of long additive metres says they are heard as groups of shorter ones, and the metre-induction model had never been pointed at the claim. Pointed at it, the model does not prefer the group — it prefers the long bar outright, and would go on preferring it more the longer anybody listened. What it cannot do is start: the evidence that separates a bar of twenty-five from a bar of nine does not exist until the whole bar has been heard, and at the tempo an unequal metre is best played at the psychological present holds sixteen units.

rhythm · Additive metre

All figures · What can be heard