Pitch and tuning

A wind instrument is a thermometer

Pitch goes as the square root of absolute temperature, so a warming clarinet sharpens by about three cents a degree and passes a Pythagorean comma after eight. The strings beside it go flat as they warm. Nobody chose either number, no temperament addresses either of them, and together they are twice the size of the discrepancy this whole field is named after.

Assumes: A tube that skips every other partial · Twelve fifths and seven octaves, which are not the same thing

Eleven essays in this field are arguments about a few cents. The comma is 23.5; the syntonic comma is 21.5; a meantone fifth is 3.4 cents narrow; the schisma is under two, and it is under two on purpose.

Every one of those is a decision. Somebody chose where to put the discrepancy, argued about it, and wrote it down. This rung is about a quantity of the same size that nobody chose and no temperament addresses, which arrives within the first ten minutes of any concert.

The arithmetic, which is one line

A tube’s resonance is the speed of sound divided by twice its effective length. The length does not change. The speed of sound does: it is the square root of the ratio of specific heats times the gas constant times absolute temperature, which for dry air is 331.3 metres a second times the square root of one plus the temperature over 273.15.

So pitch goes as the square root of absolute temperature, and the interval it moves is 1200 times the log of the ratio of the two speeds.

A wind instrument is a thermometer, and a string is not. Cents from the pitch at 20 degrees, against the temperature of the air inside a wind instrument and of a steel string, computed from the speed of sound as 343.2 metres a second times the square root of absolute temperature, and from a string's tension falling by Young's modulus times the expansion coefficient per degree. The wind slope is 2.95 cents a degree at 20 degrees, so 0.0 cents at 20, 11.7 cents at 24, 23.3 cents at 28, 34.7 cents at 32. The Pythagorean comma is reached at 28.1 degrees — 8.1 degrees of warming, which a wind instrument does from breath alone within a few minutes. The string goes the other way, 36 cents flat at 34 degrees, so the gap between the two sections opens at 5.4 cents a degree.
Fig. 1 Cents from the pitch at twenty degrees, for a wind instrument and for a steel string. The wind slope is 2.95 cents a degree at twenty and falls very slowly; the shaded band is the Pythagorean comma, which is reached at 28.1 degrees — eight degrees of warming. The string runs the other way and the buttons play the same fingering at two temperatures.

Three cents a degree. A wind instrument’s bore starts at whatever the room is and ends up near body temperature, because the air in it is breath; the change is ten to fifteen degrees, and it happens over a few minutes of playing.

That is thirty to forty-five cents. The Pythagorean comma is 23.5.

The string goes the other way

A stretched steel wire heated by a degree tries to lengthen by eleven and a half parts per million. Clamped between two fixed points it cannot, so the tension falls instead — by Young’s modulus times that expansion, which for steel is about 2.3 megapascals per degree.

Frequency goes as the square root of tension. A string wound to eight hundred megapascals therefore loses 0.29 per cent of its tension and 2.5 cents of its pitch per degree.

A 10-degree room, against every comma in the field. Seven quantities in cents on one axis. Five are distinctions the tuning essays are about, the largest of them the Pythagorean comma at 23.5 cents. The other two are what 10 degrees does to an instrument: a wind instrument sharpens by 29.0 cents and a steel string flattens by 25.3, so the two move apart by 54.3 cents — 2.3 times the comma the whole field is named after. Nobody chose either of these two and no temperament addresses them.
Fig. 2 Seven quantities in cents. Five are distinctions the tuning essays are about; the other two are what ten degrees does to the two halves of an orchestra. A wind instrument sharpens 29 cents and a string flattens 25, so the two sections separate by 54 — 2.3 times the comma the field is named after, from a change of temperature nobody controls.

The two effects have opposite signs and comparable size, which is the worst possible arrangement. If both sections went sharp together the ensemble would simply be at a different pitch, which is a thing that has happened repeatedly over four centuries and which nobody in the hall would notice. Going apart is audible immediately.

At A440, twenty-nine cents is a beat rate of seven and a half a second between a wind instrument and a string playing the same written note — which is not a subtlety anybody has to listen for.

A 5-degree room, against every comma in the field. Seven quantities in cents on one axis. Five are distinctions the tuning essays are about, the largest of them the Pythagorean comma at 23.5 cents. The other two are what 5 degrees does to an instrument: a wind instrument sharpens by 14.6 cents and a steel string flattens by 12.5, so the two move apart by 27.2 cents — 1.2 times the comma the whole field is named after. Nobody chose either of these two and no temperament addresses them.
Fig. 3 The same comparison at half the temperature change, because the size of the effect is what makes it a problem rather than a curiosity. Five degrees is a warm-up rather than a hot hall, and it still moves a wind instrument and a steel string apart by more than half the Pythagorean comma between them. At ten degrees the gap is 29 cents of sharpening against 25 of flattening; at five it is roughly half of each, and the sum is still larger than any distinction tuning theory argues about. At A440 twenty-nine cents is seven and a half beats a second between a wind and a string playing the same written note, which is not a subtlety anybody has to listen for.

Which is why the tuning note is not once

The practical consequence is the routine of every orchestra and it is worth reading as the consequence of an arithmetic rather than as a ritual.

An ensemble tunes before it starts, when everything is at room temperature. It plays, the winds warm and go sharp, the strings warm and go flat, and both keep moving until the bore reaches equilibrium. Then it tunes again — which is what the retuning after an overture, and the audible adjustments during long rests, are for.

What a player does about it is a length change, and the size of the change follows.

A warm tube is not sharp; it is sharp and out of tune with itself. How far each sounding length sharpens, for a bore of radius 20.0 mm carrying breath at 34 degrees into a room at 20, with the temperature falling along the bore. A resonance is set by the time a wave takes to traverse the tube, so a short sounding length uses only the warm end — its mean is 31.0 degrees against 23.3 for the longest — and comes out 30.6 cents sharp against the longest note's 9.5. That is a spread of 21.1 cents within one instrument, which is more than half a Pythagorean comma and is not something a fingering can be adjusted for, because it changes as the instrument warms. A uniform warming would not do this at all: the end correction is a length, so a uniformly warmed tube sharpens by the same 40.4 cents at every note.
Fig. 4 The same internal mistuning on a bassoon-sized bore, which is where it is worst. A resonance is set by the time a wave takes to traverse the tube, so a short sounding length uses only the warm end and a long one averages the whole gradient — and the wider and longer the bore, the more of a gradient there is to average. What a player does about it is a length change, and the size follows: to flatten a sixty-centimetre sounding length by twenty-nine cents takes about ten millimetres of pulled joint. Ten millimetres on six hundred is a striking correction for something invisible in the score, and it is uniform where the error is not — the pull flattens every note by the same proportion and the warming sharpened them by different ones.

Ten millimetres on six hundred is a striking number for a correction that is invisible in the score. And it points at the problem the next section is about, because the end correction it is being added to is a fixed length while the wave speed is not.

The instrument does not stay in tune with itself

The first version of this calculation asked whether the end correction makes the sharpening depend on the note, and the arithmetic answered in one line: it does not. A resonance is the wave speed over twice the effective length, the correction is part of that length, and the ratio between two temperatures is the ratio of the two wave speeds at every length whatever. A uniformly warmed tube sharpens by the same amount at every note.

What is not uniform is the tube. Breath enters at body temperature and the far end of the bore sits in the room, so there is a gradient along it — and a short sounding length uses only the warm end while a long one averages the whole of it.

A warm tube is not sharp; it is sharp and out of tune with itself. How far each sounding length sharpens, for a bore of radius 7.5 mm carrying breath at 34 degrees into a room at 20, with the temperature falling along the bore. A resonance is set by the time a wave takes to traverse the tube, so a short sounding length uses only the warm end — its mean is 32.6 degrees against 27.4 for the longest — and comes out 35.2 cents sharp against the longest note's 21.4. That is a spread of 13.8 cents within one instrument, which is more than half a Pythagorean comma and is not something a fingering can be adjusted for, because it changes as the instrument warms. A uniform warming would not do this at all: the end correction is a length, so a uniformly warmed tube sharpens by the same 40.4 cents at every note.
Fig. 5 How far each sounding length sharpens with breath at thirty-four degrees entering a bore whose far end is at twenty. A resonance is set by the time a wave takes to traverse the tube, so the calculation is one over twice the integral of dx over c. The shortest length comes out 35 cents sharp and the longest 21 — a spread of fourteen cents within one instrument, which is more than half a comma and which no fingering can be adjusted for, because it changes as the instrument warms.

Fourteen cents of internal mistuning is a large number by the standards of this field. It is two thirds of a syntonic comma; it is three and a half times the difference limen at A440; it is comparable to the worst third in a well temperament.

And it goes the same direction as everything else that is wrong at the top of a wind instrument’s range. The end correction is a bigger fraction of a short tube, so short notes are already flat by that measure; the gradient now makes them sharp by another. The two do not cancel — they are different sizes and they move differently — and the residual is what a player is correcting with embouchure all the time.

What is moving is the wave speed and not the tube. A stopped cylinder’s modes are set by its acoustic length divided into the speed of sound, so warming the air inside it multiplies every mode frequency by the same factor — which would be a transposition and nothing worse, if the air inside were all at one temperature. It is not: breath enters at thirty-four degrees and the far end sits in a room at twenty, so the gradient runs along the bore and each sounding length averages a different part of it.

The organ, which is the control case

There is one wind instrument on which the whole problem disappears, and the reason is instructive.

An organ’s pipes are all at the temperature of the building. They warm and cool together, so they all sharpen and flatten together — the instrument goes out of tune with the world and stays perfectly in tune with itself. That is why an organ is tuned at a stated temperature, why the specification exists, and why a cold church in January and a warm one in July are two different pitch standards for the same instrument.

It is also why an organ and an orchestra are so difficult to combine. The organ is at the building’s temperature; the winds are at breath temperature; the strings are somewhere between and moving. Three references, none of them adjustable during a performance except the last two, and the immovable one is the loudest.

The same argument covers a free reed, whose pitch is the reed’s own and is a property of a piece of metal rather than of a column of air — so an accordion or a harmonium sharpens with temperature by the tiny amount a metal tongue’s stiffness changes, not by three cents a degree. An accordion and a clarinet drift apart for the same reason a violin and a clarinet do.

Humidity, which is small and real

The air inside a played wind instrument is saturated with water vapour, and water is lighter than the nitrogen and oxygen it displaces. A lighter gas has a higher sound speed, so a humid bore is a sharp bore.

It is worth about six and a half cents between dry air and fully saturated air at room temperature, and that is the wrong temperature to quote it at. The bore of a played instrument is not at room temperature; it is at breath temperature, and saturation vapour pressure rises steeply:

bore temperature saturated mole fraction dry to saturated
20 °C 0.023 6.6 ¢
25 0.031 8.9
30 0.042 12.0
34 0.053 15.1
37 0.062 17.8

At the temperature the bore actually reaches, the humidity effect is fifteen cents, not six — a factor of two and a third larger than the figure previously recorded here, and smaller than the temperature effect by a factor of two rather than five. It is not a minor term beside the warming; it is half of it.

The reason it grows is that water vapour enters twice. A lighter gas raises the sound speed through the molar mass, and water’s ratio of specific heats is lower than air’s, which lowers it — the two partly cancel and the first wins. What makes the effect grow with temperature is not the physics of the mixture but how much water saturated air can hold, which more than doubles between twenty degrees and thirty-four.

Which means humidity is not a separate correction

The two effects are usually stated as independent and added, and they are not independent, because the water is carried in by the same breath that carries the heat. A bore with a temperature gradient along it has a humidity gradient along it, in the same direction, and a short sounding length uses the warm wet end while a long one averages toward the cool dry one.

So humidity belongs inside the register calculation rather than beside it. Recomputing that calculation with the water vapour included — the resonance being one over twice the integral of dx over the local sound speed, with both temperature and vapour fraction varying along the bore:

gradient shape 62 cm 28 cm 13 cm spread
linear 27.3 ¢ 40.8 46.8 19.5
exponential 18.4 29.6 39.2 20.7
step 27.6 52.2 52.2 24.6
square root 19.2 29.8 36.8 17.6

Two things come out of that and they pull in opposite directions.

The spread is larger than the fourteen cents reported above — between eighteen and twenty-five, depending on the gradient’s shape — because the wet end is sharper than temperature alone accounts for and the short lengths use it. The internal mistuning of a warm wind instrument is worse than the dry calculation says.

And it is much more robust than the caveat below suggests. Four gradient shapes as different as a straight line and a step function give spreads within a factor of one and a half of each other, while the absolute sharpening they predict varies by fifty per cent. The quantity that survives the modelling choice is the one the essay cares about; the one that does not is the one it does not use.

A wind instrument is a thermometer, and a string is not. Cents from the pitch at 20 degrees, against the temperature of the air inside a wind instrument and of a steel string, computed from the speed of sound as 343.2 metres a second times the square root of absolute temperature, and from a string's tension falling by Young's modulus times the expansion coefficient per degree. The wind slope is 2.95 cents a degree at 20 degrees, so -30.0 cents at 10, 0.0 cents at 20, 29.0 cents at 30, 57.1 cents at 40. The Pythagorean comma is reached at 28.1 degrees — 8.1 degrees of warming, which a wind instrument does from breath alone within a few minutes. The string goes the other way, 51 cents flat at 40 degrees, so the gap between the two sections opens at 5.4 cents a degree.
Fig. 6 The full range a room can actually be in, from an unheated church at five degrees to a stage under lights at forty. Across it a wind instrument moves by about a hundred cents — a semitone, from temperature alone — while a steel string moves nearly as far the other way. Every comma this collection argues about is a decision somebody made about where to put an error in a tuning system; this is larger than all of them and is no part of that argument, because there is no policy about it. There is only what the room is doing.

What this says about the rest of the field

The obvious reading is that the temperament literature is arguing about nothing, and that reading is wrong. It is worth saying why, precisely.

Temperament is about ratios within an instrument, and this is about the instrument as a whole. A uniformly warmed wind instrument keeps every interval it had; a keyboard tuned in quarter-comma meantone keeps its intervals whatever the room does. The comma essays are about the relation between a fifth and a third, and a change of absolute pitch does not touch it.

The two quantities are commensurable and not comparable. Both are measured in cents, which is what makes the bar chart above possible, and they answer different questions: one is about the size of a discrepancy inside a system and the other is about the position of the whole system.

Where they do meet is the ensemble. An orchestra is not one instrument, and the differences between its sections are exactly the kind of quantity temperament is about — an interval between two sounding notes. Which is why a fifth between a warm oboe and a cool viola can be a quarter-tone out while both players are playing perfectly, and why nothing in the temperament literature helps.

Where A has been. Documented pitch standards and surviving instruments, plotted as cents from A440. The extremes are 392 Hz and 465 Hz, which is 296 cents apart — 3.0 semitones, close enough to a minor third that a piece written at one and played at the other is in a different key. Nothing here is a preference; each is a decision somebody recorded.
Fig. 7 Where A has actually been, on the same cent axis. The spread between the extremes is nearly a minor third and it is a spread of decisions. Temperature moves an ensemble by a fifth of a semitone within a movement, invisibly, and no decision is involved at any point.

What a listener can and cannot detect

The last question worth asking is whether any of this is audible, and the answer is different for the three quantities involved.

The smallest audible difference, and what has to clear it. The difference limen for frequency, converted from Wier, Jesteadt and Green's 1977 fit into cents, against the intervals and commas the rest of these essays argue about. Anything drawn below the curve is a quantity nobody can hear as a change of pitch; anything well above it is a quantity a listener can be asked about. The limen is for pure tones, successive, with trained listeners — the most favourable case there is, and therefore the right one to test a claim against.
Fig. 8 The difference limen for successive tones across the range, with two of this essay’s quantities drawn against it — the comma, and the spread a warm bore opens up inside one instrument. The third, the 29 cents ten degrees is worth, is off the top. All three are an order of magnitude above the limen, so none of them is anywhere near the edge of what is detectable — which is the reverse of the situation the schisma essay found, where the whole argument was that a discrepancy had fallen below the threshold and stopped mattering.

A slow drift of the whole ensemble is nearly invisible. Absolute pitch is rare and the memory for a specific frequency is coarse, so a hall that has warmed by five degrees over an hour is not something a listener notices, and the recordings that document it were not made because anybody complained.

And the humidity term is invisible for a different reason, which is that it arrives at the same time as the temperature term and in the same direction. A player pulling a barrel out is correcting the sum, and nothing in the correction says which part of it was heat and which was water. The two are separable only in an experiment nobody has reason to run — the same instrument warmed by a heater rather than by breath — and the fifteen cents above is therefore a computed quantity that has never been isolated from the forty-five it travels with.

A difference between two sounding parts is immediate. Twenty-nine cents between an oboe and a violin on the same written note beats seven times a second, which is nowhere near the threshold of anything.

And fourteen cents of spread inside one instrument is the hardest case, because it is not a wrong note but a wrong interval — the octaves inside a wind instrument’s own range stop being octaves by a measurable amount, and that is a defect a listener attributes to the player.

Which is a fair description of the situation wind players are actually in: nobody blames the room.

Whose instruments, and when

Unheated halls are the historical norm, and the practical consequences are documented rather than inferred.

Baroque and Classical performances in northern Europe took place in buildings whose temperature was whatever the season made it, and the surviving instruments are consistent with pitch standards that varied by more than a semitone between places and by an audible amount between winter and summer in one place. A church organ tuned in summer is flat in January by the arithmetic above — about ten cents for a ten-degree change — and a wind player joining it has to match a moving target with a fixed instrument.

The modern solution is to control the building rather than the instrument, and it is recent. Air conditioning in concert halls is a twentieth-century convenience which happens to be, among other things, a tuning device.

Two further consequences follow that are worth stating because they are checkable.

Outdoor performance is worse and always has been. A military band’s tuning problem is a temperature problem before it is anything else, and the instruments of that tradition — with generous tuning slides — reflect it.

And a recording is a snapshot of a temperature. Two takes of the same passage twenty minutes apart, in a hall that is filling with an audience, are at different pitches by an amount that is audible in a crossfade. Anyone who has edited a live recording has met the arithmetic on this page without necessarily recognising it.

What the picture cannot show

The gradient is a straight line and a real one is not. The register calculation assumes the temperature falls linearly from breath to room along the bore, which is a stand-in for a thermal problem involving flow, conduction through the wall and the time since the note started. The section above runs three other shapes — exponential, square-root and a step — and the answer is better than “robust in sign”: the spread across the register comes out between 17.6 and 24.6 cents under all four, a factor of one and a half, while the absolute sharpening each predicts varies by fifty per cent. The quantity the essay uses is the stable one and the quantity it does not use is the unstable one, which is a piece of luck rather than a design.

The string calculation is of a wire and not of an instrument. It holds the two ends rigidly fixed. A real violin’s neck, body and fingerboard all expand as well, and wood’s expansion is anisotropic and much larger across the grain than along it. The direction is right and is confirmed by every player’s experience; the magnitude is a wire’s.

Humidity is computed here rather than quoted, from the saturation vapour pressure and the mole-fraction shift in both the molar mass and the ratio of specific heats. What is not computed is how saturated a real bore is at any point along it: fully saturated is an upper bound near the mouthpiece and an overestimate at the bell, so the register spreads above are the wettest case.

And nothing here models what a player does. Every wind player corrects continuously with embouchure and, on some instruments, with alternate fingerings; the numbers above are what the instrument would do if nobody were listening.

The ladder from here

The tube’s length decides the note and the temperature decides the length in wavelengths. What decides how much of the sound gets out is a different number entirely — the size of the opening compared with a wavelength — and the next rung finds that it also decides how well the tube resonates, so an instrument cannot be made louder without being made worse at holding a note.

Part 5 of 13

One essay in the series on air column. 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 11.

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.

BoreCentsEnd correctionIntonationPythagorean commaSpeed of soundString tensionTemperament