Pitch and tuning

Tuned for one shape, a cent is worth five frets

A guitar can be tuned so that one chord shape is exactly just wherever it is moved on the neck, and every other shape is then between twelve and fifteen cents out — worse than on the frets. So a player of such a tuning chooses, chord by chord, between intonation and the distance the hand travels. Searched exactly over every fingering of a I–IV–V ground, the route that keeps every chord in the one shape is the cheapest as soon as a cent of the piece's mean error is worth 4.8 frets of movement. On equal-tempered frets the same route needs a cent to be worth fifty-seven.

Assumes: The chord a tuning gives up is a fingering · Counting beats moves the price of a chord, not the tuning

The chord a tuning gives up is a fingering found that what a guitar’s six string offsets fix, from the music’s point of view, is fifteen differences between pairs of strings, and that a chord shape asks each pair for a particular difference. A tuning can meet every demand of one shape exactly, and a shape moved about the neck without changing its fingering asks for exactly the same differences, so it stays exactly just wherever it goes. Every open chord shape is a family of one; a tuning serves one family and no more.

That left the choice a player actually makes. Given a tuning set for one family, every chord still has several fingerings, and only one of them is in the family. The player can stay inside it — at the cost of moving the hand wherever the family’s version of each chord happens to sit — or leave it for a fingering nearer to hand and pay in intonation. The prediction was that the cheapest route through a piece stays in the family far longer than a player choosing by comfort would, and the question was a number that belongs to guitar teaching rather than to tuning: how many frets of hand movement a cent of intonation is worth.

The number is 4.8. Above it, the cheapest route through a I–IV–V ground keeps every chord in the tuned shape; below it, the route starts to leave. On equal-tempered frets the same decision needs a cent to be worth fifty-seven frets, which is to say that nobody playing on the frets should ever make it.

Five shapes, and one of them tuned

Every major chord on a guitar in standard tuning can be played in the shape of any of five open chords moved up the neck — the open C, A, G, E and D shapes, each with the nut replaced by a barre. Teaching books call it the CAGED system, and it is exactly the set of families the earlier essay had in mind: five fingerings per chord, each one a transposition of an open chord.

Tune the guitar to make the E shape exactly just. That is the tuning the earlier searches found for a song built on the E shape — the A string and the B string raised 1.96 cents to make their fifths and fourths pure, the G string lowered 13.68 cents to make the E chord’s third a just 5 : 4, the D string and the top string where the frets put them. Then every fingering of every chord in a ground on E major can be scored.

Tuned for the E shape, every other fingering is between 12 and 15 cents out. Every moveable fingering of the three chords of a ground on E major, with its mean departure from just when the guitar is tuned to make the E shape exactly just (upper bar) and on equal-tempered frets (lower bar). E: C shape at 4 14.08 tuned, 8.99 on the frets; A shape at 7 12.51 tuned, 6.65 on the frets; G shape at 9 13.29 tuned, 7.95 on the frets; E shape, open 0.00 tuned, 5.60 on the frets; E shape at 12 0.00 tuned, 5.60 on the frets; D shape at 2 14.99 tuned, 7.82 on the frets. A: C shape at 9 14.08 tuned, 8.99 on the frets; A shape, open 12.51 tuned, 6.65 on the frets; A shape at 12 12.51 tuned, 6.65 on the frets; G shape at 2 13.29 tuned, 7.95 on the frets; E shape at 5 0.00 tuned, 5.60 on the frets; D shape at 7 14.99 tuned, 7.82 on the frets. B: C shape at 11 14.08 tuned, 8.99 on the frets; A shape at 2 12.51 tuned, 6.65 on the frets; G shape at 4 13.29 tuned, 7.95 on the frets; E shape at 7 0.00 tuned, 5.60 on the frets; D shape at 9 14.99 tuned, 7.82 on the frets. The E-shape fingerings are exact wherever they sit on the neck; every other fingering is worse than on the frets.
Fig. 1 Every moveable fingering of E, A and B major, with its mean departure from just when the guitar is tuned for the E shape (upper bar) and on equal-tempered frets (lower bar). The E-shape fingerings are exact wherever they sit. The others are 12.51 cents out for the A shape, 13.29 for the G shape, 14.08 for the C shape and 14.99 for the D shape — against 6.65, 7.95, 8.99 and 7.82 on the frets.

The E-shape fingerings are exact: the open E chord, the A chord barred at the fifth fret, the B chord barred at the seventh, the E chord again at the twelfth. Every other fingering is between 12.5 and 15 cents out, and every one of them is worse than it would be on plain frets — the A shape by six cents more, the D shape by seven. A tuning that serves one family perfectly serves every other family worse than no tuning at all.

The lower bars carry a small surprise of their own. Even on equal-tempered frets the fingerings are not equal: the E shape is the most in tune at 5.60 cents and the C shape the least at 8.99. The frets distribute the error evenly among intervals, not among shapes, and different shapes put different intervals on the strings.

What leaving the shape costs

The earlier essay predicted that the cost of leaving the tuned family would be thirteen cents or more every time, and the figure prices that exactly. The cheapest way out of the E shape is the A shape, at 12.51 cents; the most expensive is the D shape, at 14.99. Nothing costs less than twelve and a half, because every other shape asks at least one pair of strings for an interval the E shape’s tuning has deliberately put somewhere else — most often the third, which the E shape puts on the G string over the bottom string and which the A shape, for instance, puts on the B string over the A string, a pair the E tuning leaves exactly as the frets have it, nearly fourteen cents from where a just third would need it.

That makes the decision at each chord binary in effect. A fingering is either exact or at least twelve and a half cents out; there is no fingering that is nearly in tune. Somebody has to pay the comma in exactly the keyboard sense, and here the somebody is a fingering: the tuning has concentrated all the error on the shapes it does not serve. The route search is therefore not weighing small improvements against small movements. It is deciding, chord by chord, whether to pay a large fixed price in intonation or a variable price in distance, and that is why only four routes ever win.

The search, and its answer

A route through the piece is a choice of fingering for each chord. Its cost is two numbers: the piece’s mean departure from just, weighting each chord by how long it sounds, and how far the hand moves, counted as the change in the fret at which it sits — the lowest stopped fret of each fingering, or the first fret for an open chord. Combining them needs an exchange rate, and the exchange rate is the thing being asked for, so it is swept: at each rate the cheapest route is found exactly, by working through the chords one at a time and keeping, for each fingering of each chord, the cheapest way of arriving at it.

Tuned for the E shape, a cent of intonation is worth about five frets of hand movement. Every way through a ground on E major — I, IV, I, V, IV, I, for 16, 8, 8, 4, 4 and 8 beats — that is the cheapest route at some exchange rate between the piece's mean departure from just and the frets the hand moves, choosing each chord's fingering from its five moveable shapes; once with the guitar tuned to make the E shape exactly just and once on equal-tempered frets. Tuned for the E shape: 12.09 cents for 0 frets; 4.30 cents for 2 frets (worth it above 0.3 frets a cent); 2.09 cents for 10 frets (worth it above 3.6 frets a cent); 0.00 cents for 20 frets (worth it above 4.8 frets a cent). On the frets: 6.85 cents for 0 frets; 6.15 cents for 2 frets (worth it above 2.8 frets a cent); 5.95 cents for 4 frets (worth it above 10.2 frets a cent); 5.78 cents for 10 frets (worth it above 34.5 frets a cent); 5.60 cents for 20 frets (worth it above 57.5 frets a cent). Tuned for the shape, the route that keeps every chord in it is the cheapest once a cent is worth 4.8 frets; on the frets it needs 57.5.
Fig. 2 Every route through a ground on E major — I, IV, I, V, IV, I for 16, 8, 8, 4, 4 and 8 beats — that is cheapest at some exchange rate between mean departure from just and frets of hand movement, tuned for the E shape and on the frets. Tuned: 12.09 cents for no movement, 4.30 for two frets, 2.09 for ten, and exactly just for twenty, worth it above 4.8 frets a cent. On the frets: 6.85 cents for none down to 5.60 for twenty, worth it above 57.5.

Tuned for the E shape, only four routes are ever the cheapest. If movement is nearly free, the route that stays in the E shape throughout is exactly just and moves the hand twenty frets over the piece. If a cent is worth less than 4.8 frets, a route that plays the B chord as an A shape at the second fret and the last A chord as the open A shape costs 2.09 cents and ten frets. Below 3.6 frets a cent, a route that moves the whole piece up to the twelfth fret costs 4.30 cents and two frets. And if movement is precious beyond a third of a fret a cent, the hand stays at the seventh fret for the whole piece and pays 12.09 cents — the price of playing every chord in a shape the tuning was not set for.

On the frets the same search is almost indifferent. Its cheapest route in intonation is also the E shape throughout, at 5.60 cents, and the route that never moves is 6.85. Every cent between them costs from three to fifty-seven frets of movement, and a player who values their hand at all has no reason to follow the shape. Tuning for one shape does not only make that shape just; it makes staying in it worth twelve times as much.

Where the hand goes

The four routes are not a gradual series; they are four different ways of holding a guitar.

Staying in one shape walks the hand up and down the neck; the cheapest-moving route stays at the seventh fret. Where the hand sits — its lowest stopped fret — for each chord of a ground on E major, on each route that is cheapest at some exchange rate, with the guitar tuned for the E shape. 12.09 cents, 0 frets: A shape at 7 (hand 7), D shape at 7 (hand 7), A shape at 7 (hand 7), E shape at 7 (hand 7), D shape at 7 (hand 7), A shape at 7 (hand 7); 4.30 cents, 2 frets: E shape at 12 (hand 12), A shape at 12 (hand 12), E shape at 12 (hand 12), C shape at 11 (hand 11), A shape at 12 (hand 12), E shape at 12 (hand 12); 2.09 cents, 10 frets: E shape, open (hand 1), E shape at 5 (hand 5), E shape, open (hand 1), A shape at 2 (hand 2), A shape, open (hand 2), E shape, open (hand 1); 0.00 cents, 20 frets: E shape, open (hand 1), E shape at 5 (hand 5), E shape, open (hand 1), E shape at 7 (hand 7), E shape at 5 (hand 5), E shape, open (hand 1).
Fig. 3 Where the hand sits for each chord of the ground on each route that is cheapest at some rate, tuned for the E shape. The just route goes 1, 5, 1, 7, 5, 1. The ten-fret route goes 1, 5, 1, 2, 2, 1. The two-fret route sits at 12 and drops to 11 for the V chord. The route that never moves stays at 7.

The just route is the one a student of barre chords knows: open E, the E shape barred at the fifth fret for A, back to open E, barred at the seventh for B, down to the fifth, home. The hand travels four or six frets at every change. The ten-fret route is the same until the V chord, which it plays as an A shape at the second fret and follows with the open A — the route of a player who does not want to reach the seventh fret for four beats. The two-fret route and the unmoving one are position playing: find a place on the neck where every chord of the piece lies under the hand, at the twelfth fret or the seventh, and fit whichever shape is there.

Position playing is exactly what a tuned guitar punishes. Its whole purpose is to change shape so as not to move, and a tuning set for one shape charges every change of shape between twelve and fifteen cents.

The rate, turned

The route that is cheapest changes at three exchange rates, and the dial moves across them.

At each exchange rate the cheapest route is one of fourThe cheapest way through a ground on E major, with the guitar tuned for the E shape, when a cent of the piece's mean departure from just is worth 4.2 frets of hand movement: I as the E shape, open, IV as the E shape at 5, I as the E shape, open, V as the A shape at 2, IV as the A shape, open, I as the E shape, open — 2.09 cents from just and 10 frets moved. Drawn on the neck, each chord's stopped notes as dots, the six chords in order from left to right in each fret they use.1357911121315EADGBEI E: EIV A: E at 5I E: EV B: A at 2IV A: AI E: Ea cent worth 4.2 frets: 2.09 cents, 10 frets moved
Fig. 4 The cheapest route through the ground, tuned for the E shape, at an exchange rate a player sets with the dial, drawn on the neck with each chord’s stopped notes as dots. At 4.2 frets a cent: open E, E shape at 5, open E, A shape at 2, open A, open E, 2.09 cents from just and ten frets moved. Above 4.8 every chord is in the E shape; below 3.6 the piece moves to the twelfth fret; below a third of a fret a cent it stays at the seventh.

Each route is the cheapest over a whole range of rates, and the ranges are wide except in one place. The just route wins from 4.8 frets a cent upward, and the route that never moves from a third of a fret downward; the two intermediate routes share the interval between, and the ten-fret route is the cheapest only between 3.6 and 4.8. So a player’s valuation does not have to be known precisely. What matters is which side of about five frets a cent it falls on.

That valuation has a plausible order of magnitude, which is the reason to think it matters. A shift of four or five frets on a guitar neck at a chord change is routine for a player of barre chords and awkward at speed; fourteen cents on a chord’s third is about the gap between a just third and an equal-tempered one, which is audible on a sustained chord. A player who thinks a fourteen-cent third is worse than a five-fret shift — which is to say most players who would bother to retune — is above the threshold and should play every chord in the tuned shape.

A leap is not a distance

Counting movement in frets treats a seven-fret shift as seven times a one-fret shift, and a guitarist would not. The difficulty of a position change is largely in making it at all.

Counted in leaps rather than frets, staying in the shape costs five leaps, about one a cent. The same ground on E major, tuned for the E shape, with the hand's movement counted as one for every change of position however far, against the mean departure from just. 12.09 cents for 0 shifts: A7 D7 A7 E7 D7 A7; 5.42 cents for 1 shift (worth it above 0.15 shifts a cent): E12 A12 E12 E7 D7 A7; 3.13 cents for 2 shifts (worth it above 0.44 shifts a cent): E12 A12 E12 E7 A12 E12; 0.00 cents for 5 shifts (worth it above 0.96 shifts a cent): E0 E5 E0 E7 E5 E12. Counted in frets the same one-shape route is 20 frets.
Fig. 5 The same ground, tuned for the E shape, with each change of hand position counted as one however far it goes. The cheapest routes: 12.09 cents with no shifts; 5.42 with one; 3.13 with two; exactly just with five, worth it above 0.96 shifts a cent. The one-shape route is the only just route under either count.

Counted in leaps, the frontier has the same ends and different middles. The route that never moves is still 12.09 cents, and the only just route is still the one that keeps every chord in the E shape, now counted as five leaps rather than twenty frets. The intermediate routes are different: one leap, from the twelfth-fret position down to the seventh and staying there, for 5.42 cents; two leaps for 3.13. The last step, from 3.13 cents to exactly just, costs three more leaps, and the exchange rate for it is 0.96 leaps a cent — about one leap a cent. The answer to the question survives the change of units: a player should stay in the tuned shape if a cent of the piece’s mean error is worth more to them than about one shift of hand position.

A small surprise about the frets

The comparison with equal temperament has an implication beyond the tuned guitar. On the frets, the route that keeps every chord in the E shape is the most in tune of all the routes, at 5.60 cents, and the route that never moves is the least, at 6.85. A guitarist who has never retuned a string and plays every chord of a ground in E as an E-shape barre chord is, by this count, playing 1.25 cents closer to just than one who plays the same chords in position at the seventh fret. That is not much, and it takes twenty frets of movement to get, but it is the same direction as the tuned result and it says something the earlier essays did not: equal temperament has a favourite shape, and it is the one whose intervals — fifths, octaves and a single major third — the frets approximate best. The same fact is behind a guitar cannot be in tune: the frets are a compromise among intervals, and each shape samples the intervals differently. A player who changes shape to stay in one place is choosing, without knowing it, among five different compromises. What a temperament cannot do is make every chord equally good; what it can do, on a guitar, is make the shapes nearly equally bad, and the spread from 5.60 to 8.99 cents is how nearly.

How the search is made

The five shape templates are the open chords of standard tuning — C as x 3 2 0 1 0, A as x 0 2 2 2 0, G as 3 2 0 0 0 3, E as 0 2 2 1 0 0 and D as x x 0 2 3 2 — each moved by the number of frets that brings its root to the chord wanted, and again twelve frets higher if it still fits below the fourteenth fret. The tuning for a shape is the one the earlier searches find for that shape alone, with the lowest string pinned at zero, as counting beats moves the price of a chord, not the tuning pinned it. A fingering’s error is the mean, over its sounding pairs of strings, of the departure of each interval from the five-limit just ratio its span names, exactly as every earlier essay on the guitar’s tuning counted it; a route’s error weights each chord by its beats.

The route is found by dynamic programming over the six chords, which is exact: for each exchange rate the cheapest route is the true minimum over every combination of fingerings, not a search that might stall. The rates are swept over four orders of magnitude, and because the frontier of error against movement is convex, the sweep finds every corner of it. The rate at which one corner gives way to the next is the movement difference divided by the error difference between them.

What the search leaves out

Reach. A fingering’s difficulty is not only where the hand is but what it has to do there. The G shape and the C shape moved up the neck are awkward stretches; the E and A shapes are the barre chords every player learns. A search that weighted fingerings by difficulty would push further toward the E shape, which is the direction the result already points.

Speed. Four beats of a chord leave time for a shift that a quaver does not. The piece here is slow and the movement cost is the same at every change; a fast piece would raise the cost of every shift and move the threshold up.

The sound of the shape. A barre chord and an open chord do not sound alike: open strings ring, and a barre stops them. The error counts intervals, not timbre, and a player choosing the open E over the barred E at the twelfth fret is choosing a sound as well as a position.

Bending. A guitarist can pull a stopped note a few cents by pressure. That is a way to fix a non-family fingering on the fly, and it is not available on the open strings, which in several of the non-E shapes carry the offending note.

Whose guitar playing

The piece is a I–IV–V ground of the kind that runs through blues, folk and rock guitar, stated rather than transcribed, and the shapes are the moveable major chords every guitar method teaches. Players who retune a guitar for a piece usually do so to an open tuning that makes one chord ring on the open strings — often by the harmonics, which a guitar tuned by harmonics hides a comma found decides where the comma goes — and one tuning has no comma to place found those tunings are exactly the ones in which a single barred shape carries the music. The arithmetic here says why that pairing is stable: once a tuning is set for one shape, the player’s cheapest route is to keep the shape, and the player’s habit of barring one shape up and down the neck is the route the search finds. A tuning is right for some chords and wrong for the rest posed the problem from the tuning’s side; this is the same problem from the hand’s.

Still open: which shape the tuning should serve

Everything above takes the family as given — the E shape, because the earlier searches found it for a piece in E. But the tuning is the player’s choice too, and a guitar can be tuned for any of the five shapes. Each choice makes a different fingering of each chord just and puts it at a different place on the neck.

The question that follows is which shape a tuning should serve for a piece in a given key, when the player will then follow the cheapest route. The prediction the table above makes is that the answer depends on where each family puts the piece’s chords: a family whose tonic chord is an open shape starts the hand at the nut and may keep it lower on the neck. The search is the one here run five times — once for each family’s tuning — and it would say whether the shape to tune for is a fact about the key, about the progression, or about neither.

Part 10 of 26

One essay in the series on open strings. 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, the 8 sharing most with it of 14.

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.

Equal temperamentIntonationJust intonationOpen stringOptimisationVoicing