4

Why is it that everyone says a piano can never be in tune?

Why can't we just assign a particular frequency to every note (A, A#, B, C, C#, etc) and then tune each piano string to the frequency of each note?

Similarly for guitar strings: why can't we just put the frets such that the strings will vibrate at the correct frequency?

Is it that difficult? Can't this solve the problem of just intonation sounding different in every key except one and equal temperament being slightly out of tune in every key?

  • 6
    See https://music.stackexchange.com/questions/14244/why-are-pianos-traditionally-tuned-out-of-tune-at-the-extremes?rq=1 and https://music.stackexchange.com/questions/60683/why-do-we-need-tempered-tuning?rq=1 "Is it that difficult?" …Yes. – Tetsujin Jun 16 '20 at 09:05
  • 4
    Does this answer your question? [Why do we need tempered tuning?](https://music.stackexchange.com/questions/60683/why-do-we-need-tempered-tuning) – leftaroundabout Jun 16 '20 at 09:20
  • On guitar, there are fanned-fret guitars which help to compensate, but every fretwire, to accomodate your ideal, would be a zig-zag shape, and it still wouldn't sound good in some keys! – Tim Jun 16 '20 at 11:24
  • 4
    Nobody says that. People say *similar* things with explicit constraints such as choice of just vs. well-tempered and so on. – Carl Witthoft Jun 16 '20 at 15:42
  • The problem of trying to tune a keyboard to just intonation isn't just that some keys are unusable; it's not possible to make all the chords of even one key usable. For example, it's not possible to tune the I, ii, IV, and V chords of a major key in just intonation. – phoog Jun 17 '20 at 19:42

8 Answers8

37

We can tune each string/pipe to a given frequency as accurately as we need to for musical purposes.

We can't do it so that they collectively satisfy several musically desirable properties, because it turns out our definition of those properties is logically inconsistent. The best technology in the world cannot fulfill a requirement that contradicts itself.

In particular, it's not possible to tune perfect octaves (ratio 2:1) and simultaneously have all diatonic fifths be perfect fifths (ratio 3:2), because the math doesn't add up: twelve perfect fifths almost but not quite correspond to seven perfect octaves. (Mathematically, this is because 3 and 2 are mutually prime numbers.)

Kilian Foth
  • 7,192
  • 1
  • 19
  • 28
  • Indeed, so it is. And further: we cannot have perfect major thirds (ratio 5:4) or perfect minor thirds (6:5) with any equal temperament. Math rules. – Scott Wallace Jun 16 '20 at 15:46
  • Why did we decide C * 3/2= G (i.e. a fifth) instead of calling it , say D ( a 2nd) or E(a third) . – Lelouche Lamperouge Jun 16 '20 at 16:43
  • 1
    Say you want to play something in C major using just intonation. You can compute all the frequencies you want using the interval, and (for example), you get a particular frequency for E. But with those frequencies, the intervals using E as the root won't quite be in tune: you can only tune your instrument to play in one key. Using equal temperament, all the intervals work out *mostly* correct regardless of what key you choose, but every interval except the octaves deviate to some degree away from the "idea" interval. – chepner Jun 16 '20 at 18:26
  • 2
    @LeloucheLamperouge: Biologically, our ears prefer combinations of frequencies with ratios containing small integers. Physically, this is because sound waves are additive and thus have a resultant frequency dependent on that ratio. Mathematically, 12 notes are chosen because different powers of 12th-root(2) give numbers very close to 5/4, 4/3, and 3/2, so we're able to create several nice combinations with just those 12 notes. Why _that's_ true has to do with continued fractions, or something. – BlueRaja - Danny Pflughoeft Jun 16 '20 at 21:04
  • 3
    Slight nitpick: the third prong of the trilemma wasn't stated. You *can* have all perfect octaves and all perfect fifths be just... you just end up needing infinite notes in an octave to do it (Dbb, C, B#, Ax#, who says they're the same? They're not, we just pretend they are). Ergodic theorem says it's even dense. And yes 19/12 is one of the continued fraction convergents to log_2(3/2). As an accident, 2^(4/12) is an acceptable approximation to 5/4 as well. – obscurans Jun 17 '20 at 00:08
  • "... twelve perfect fifths almost but not quite correspond to seven perfect octaves". Just checking I understand: is the arithmetic here 2^7 = 128 but (3/2)^12 = 129.746? – Ashley Jun 17 '20 at 12:27
  • 1
    @Ashley Yes, that's exactly it. This is why stacking fifths on top of each other results in pitches that slowly become ever higher compared with equidistant ones. – Kilian Foth Jun 17 '20 at 12:48
  • What definitions are "logically inconsistent"? –  Jun 17 '20 at 16:09
  • 1
    @BlueRaja-DannyPflughoeft by 'our ears prefer' you mean 'the minds of people brought up with western music'. There is little evidence it really is innate biology, as indigenous tribes do not share such preferences https://www.newscientist.com/article/2097333-the-musical-harmonies-you-like-depend-on-where-youre-from/ – Pete Kirkham Jun 17 '20 at 16:59
  • @chepner you've chosen a poor example, because the ratios (15:8):(3:2):(5:4) do indeed conform to the 15:12:10 ratios of a just minor chord. Or are you talking about the G# of an E major chord? – phoog Jun 17 '20 at 19:55
  • @phoog Some intervals would correspond, but not all. I tried leaving the details out to avoid having to discuss the ones that do :) – chepner Jun 17 '20 at 20:01
  • 1
    @chepner The one I usually use is the I-IV-ii-V-I progression, or some variant of that. If you tune C major, F major, and G major in just intervals then your D-to-A fifth is the very sour-sounding 40:27 ratio. If you raise the A to fix that, you lose the relative minor, and if you raise the E to fix that, you've admitted defeat by abandoning just intonation on the tonic chord. – phoog Jun 17 '20 at 21:11
  • @ggcg: The definitions are: 1) An octave consists of (exactly) a 2:1 ratio. 2) Smaller intervals than an octave exist and are (always) rational numbers. 3) There are finitely many notes in an octave. 2 is prime, so if you have any ratio which is not 2:1 or a power thereof, you can't multiply that ratio by itself repeatedly to get to some power of 2:1. That means stacking a rational interval on top of itself repeatedly will never land exactly on its starting point (in a higher octave). – Kevin Jun 18 '20 at 20:05
  • Kevin your statement is patently false. This is not how intervals are defined universally. This is why we have 12tet, 12th root of 2 –  Jun 18 '20 at 21:16
  • Additionally the desire to enforce your mathematical constraint is not necessarily logical in the first place. You painted yourself in a corner with that statement –  Jun 18 '20 at 21:17
  • 1
    @ggcg the assumption of just intonation is that intervals that aren't rational aren't perfectly "in tune." That's the origin of the second definition. Obviously "perfectly in tune" is somewhat subjective, but it is certainly true that if you tune a keyboard using acoustically pure intervals it doesn't turn out very well, and that does indeed arise from the logical inconsistency between those points. The fact that "this is not how intervals are defined" is in fact required by the logical inconsistency, which is why discussing the inconsistency is an answer to this question. – phoog Jun 18 '20 at 23:57
  • The ratio of a 4th times the ratio of a 5th does in fact give you 2, an octave. It is clear that one is creating a subjective inconsistency for the sake of argument. At least in this context the answer is not clear and leads to more ambiguity. Perhaps the author could provide the "definition" of consistency and where the actual inconsistency arises. –  Jun 19 '20 at 00:32
  • @ggcg: This is how things currently work, but it is not how they worked historically. See for example [Pythagorean tuning](https://en.wikipedia.org/wiki/Pythagorean_tuning) (tunes fifth to exactly 3:2) or [quarter-comma meantone](https://en.wikipedia.org/wiki/Quarter-comma_meantone) (tunes major third to exactly 5:4). – Kevin Jun 19 '20 at 15:15
  • That is not part of the OP so what purpose does it serve? There is a lot of ambiguity in the question and some responses. Just tuning also tunes that 5th exactly to 3:2. –  Jun 19 '20 at 17:14
21

Why can't notes be tuned according to a defined frequency?

They can. But what we can't do is tune them to "the correct" frequency, because there are different ways in which the 'correct' frequency could be specified. You've mentioned two of them in your question - just intonation, and equal temperament. As Kilian Foth's answer explains, both of those ways of tuning have advantages and disadvantages. Neither is 'correct'.

Why is it that everyone says a piano can never be in tune...

Pianos (and other stringed instruments) introduce a further complication, which is that the partials of the string don't follow a perfect harmonic series, due to the real world physics of how the string works. This effectively means that a single piano note isn't actually in tune with itself, let alone other notes! This is compensated for to an extent by stretched tuning.

Is it that difficult...

It is, but it's also that wonderful! If we lived in a world where there were really only 12 notes at the 'correct' frequencies, everything might sound very samey. It's the variations in tuning and note intonation that give music a lot of its subjective beauty and variety.

Well why cant we just define one note say A as 440hz and derive every other note's freq as multiples of 12th root of 2 from A and call it the true notes instead of saying they are slightly out of tune. I mean the frequency of a particular note is not predefined. We can decide what it should be right?

Well, we can decide what the frequency of one note is, yes. But when it comes to deciding what the frequency of another note is that we want to sound in tune with that note - no, we can't just decide what it is. The ear human ear's perception of what's 'in tune' doesn't depend on definitions of what 'the true notes' are - it depends on notes having frequency ratios that are equal to, or close to, certain ratios.

phoog
  • 16,807
  • 2
  • 33
  • 61
Нет войне
  • 45,699
  • 3
  • 75
  • 157
  • Well why cant we just define one note say A as 440hz and derive every other note's freq as multiples of 12th root of 2 from A and call it the true notes instead of saying they are slightly out of tune. I mean the frequency of a particular note is not predefined. We can decide what it should be right? – Lelouche Lamperouge Jun 16 '20 at 10:30
  • 3
    What would you gain with that @LeloucheLamperouge? Nothing would change to the way we perceive music if you do that. Some intervals sound more pleasant to the ear when played according to the Pythagorean definition (for instance, a 5th being 1.5 times the frequency) than to the 12-TET standard. Some accomplished musicians can slightly alter the pitch of a 12-TET 5th to match the other instruments they play with to great effect. Why would you want to take that away? It would be to the detriment of beautiful music. – mkorman Jun 16 '20 at 10:54
  • 2
    Regarding "If we lived in a world where there were really only 12 notes at the 'correct' frequencies, everything might sound very samey. It's the variations in tuning and note intonation that give music a lot of its subjective beauty and variety." - I've listened to so much A440 12TET music that music purposefully written in just intonation sounds strange. IMO, variations in tuning, intonation, and temperament don't contribute much to music beauty and variety - in fact, temperament and tuning can easily make a piece sound worse by giving off an out-of-tune impression. – Dekkadeci Jun 16 '20 at 11:18
  • @mkorman i dont understand why you said "sound more pleasant to the ear when played according to Pythagorean definition than to the 12 TET". Why is pythagorean more "pleasant" to the ear. Would you care to explain. – Lelouche Lamperouge Jun 16 '20 at 13:10
  • 1
    @LeloucheLamperouge I've replied in the question. The answer to your question comes down to why certain intervals sound more consonant than others - it's all to do with frequency ratios. – Нет войне Jun 16 '20 at 13:46
  • 9
    @LeloucheLamperouge - the reason is pure physics. When frequencies are exact multipliers of one another, the zeroes in the sine waves align, and they create a more pleasant sound in the ear. This is the basis of the octave, and this is how Pythagoras evolved scales initially. You will have heard quite a few musicians in this site mentioning that some 12-TET intervals sound dissonant to them. Apparently the major 3rd is the one that sticks out the most. – mkorman Jun 16 '20 at 14:55
  • @Dekkadeci what music are you listenting to that has been purposefully written in just intonation? Maybe it *is* strange. There are vocal groups that sing music from all sorts of different periods more-or-less in just intonation, music written centuries before anyone specified a given tuning system when writing music. Do those performances sound strange? – phoog Jun 17 '20 at 19:46
  • @phoog - All the explicitly just-intonation music I listened to was instrumental. I believe the pieces I found were from the same composer and were at least in a partially tonal idiom. – Dekkadeci Jun 18 '20 at 11:45
  • @Dekkadeci ok, so substitute *string ensembles* for *vocal groups.* The question stands. – phoog Jun 18 '20 at 23:53
  • @phoog - I believe the just-intonation music I found was at least partially for strings such as violins - and yes, it did sound strange. (The Musescore demos of just intonation I've listened to also sound like they have out-of-tune notes.) – Dekkadeci Jun 19 '20 at 08:46
6

One more problem is that piano strings are under far more tension than those in other instruments. On average, each string is under 200-300 pounds of tension. Unlike the violin or guitar or harpsichord and their close relatives, piano strings are anharmonic vibrators. The frequency of the first overtone is more than 2/1 and the second is higher than 3/1. The anharmonicity varies per string. Each piano is a bit different as is each venue. Thus pianos need voicing (each string tuned slightly differently). All this is on top of the need for tempering as discussed in other answers.

ttw
  • 24,207
  • 1
  • 31
  • 76
  • 2
    As far as I know, the anharmonicity is not a consequence of the tension; it's a result of the fact that the strings have stiffness, i.e., they resist being bent sideways, so the equations for perfectly flexible strings are not quite correct. The same also applies to guitar strings, but the pitch range of a guitar is not large enough for that to play a role in the tuning. (On the other hand, guitars have a whole zoo of other tuning issues, like the pitch going up when you pluck hard or press too hard on the string.) – Richard Metzler Jun 17 '20 at 07:27
  • 1
    @RichardMetzler correct. However, the stiffness and high tension are both consequence of the _thickness_, in that sense the statement does make sense. — Guitar and harpsichord do in fact have inharmonicity too, though less than piano. (Bass guitar meanwhile has substantial inharmonicity.) Violin does not, but that's not because of lower tension or even thickness, but because the bow creates a phase-locked loop that forces the overtones to have actual integer frequency ratios. – leftaroundabout Jun 17 '20 at 15:42
  • Aren't the usual words _inharmonic_ and _inharmonicity?_ – phoog Jan 30 '21 at 17:54
5

It is possible to assign any frequency to any string (on physical instruments with maybe some, but very low error. Synthesizers, in our days, will have no error at all.) The question of a piano being “in tune” depends on what you mean by this.

The chords in a “Major” key have a special physical relation: From a base note (also known as general bass) the three notes are absolute multiples in frequency. (Duplicating the frequency gives the octave, this is why octaves sound so equal to each other.) So, from C1, frequency ×2 you get C2, frequency ×3 you get G3, frequency ×4 (×2×2) you get C4, frequency ×5 you get E5, frequency ×6 (×3×2) you get G5; here is the “major” chord. For a bass frequency of 110 Hertz, you get 440−550−660 as “A major” chord. This is “clean tune” but you won’t find that on a piano!

On a piano, the difference between each of the 12 half-tones is ×¹²√2, so that twelve keys later, you have ×(¹²√2)¹² = ×2 for the frequency. A mayor chord is then something close to: 440−554⅓−659¼. This is “tempered tune”, and it is still very close to the “clean tune”. This is because, if you would follow the rules of clean tune, going through a whole octave would be something around ×2,003475 and this soon starts sounding odd.

This is because of physics of frequency, and you can’t “fix” it.

Tim
  • 183,051
  • 16
  • 181
  • 444
  • So that means the same note in different keys have different "correct" frequency. i.e frequency of G derived from A, is different from G derived from B and so on...? – Lelouche Lamperouge Jun 16 '20 at 10:25
  • 1
    The 'A major' calculations aren't right - 110, 220, 440, 880 Hz work, but not 550 and 660 Hz. – Tim Jun 16 '20 at 10:26
  • 1
    @LeloucheLamperouge in "just" intonation, yes - the same note in different keys has a different "correct" frequency. Equal temperament is the same in all keys, but the compromise is that equal temperament is slightly out of tune for all keys. – Нет войне Jun 16 '20 at 15:11
  • @Matthias your calculations are not clear. C1*2=C2 so C1*4=C2*2 which should be equal to C3 right. Similarly about G3 E5 and G5 you got those wrong aswell i presume? – Lelouche Lamperouge Jun 16 '20 at 15:26
  • @LeloucheLamperouge Yes. That is how I understand it (though I could be wrong. I'm not a music major). The frequency of each note is dependent on the notes being played around and with it. It is not just that the frequency of each note changes irregularly as you get higher or lower. – DKNguyen Jun 16 '20 at 20:54
  • @topoReinstateMonica But we only defined the frequency of A4 as 440hz and all the other notes are obtained from that right. Or does B have a "defined" frequency other than that obtained from A4. – Lelouche Lamperouge Jun 17 '20 at 06:22
  • 2
    @LeloucheLamperouge if you define A4 as 440 Hz, then B4 (or any other B) could have various different frequencies depending on the temperament you are using. Defining the pitch of one note does not define the pitches of other notes until you also specify a temperament. – Нет войне Jun 17 '20 at 06:37
  • @topoReinstateMonica i meant in the just intonation cause thats what humans find pleasant. So what does it mean for differnt "keys" to exist. For that we must define a true freq for each note and then derive the appropriate correct freq for all the relative notes in that key. is it like that? Why isnt ther only one key and all other notes are obtained from that by just intonation.. – Lelouche Lamperouge Jun 17 '20 at 06:52
  • @LeloucheLamperouge It's wrong to say that just intonation is "what humans find pleasant", because most humans enjoy music in other temperaments that would sound (to many people) *worse* in just temperament. *If* you want to tune your notes to just temperament, then you choose your root note, and tune your other notes relative to that. But if you are in Just C, then your fifth between D-A is "out of tune". Just intonation is a compromise, like all temperaments. – Нет войне Jun 17 '20 at 07:43
  • 2
    @LeloucheLamperouge If you want to know how I worked that out, look at the ratios at https://en.wikipedia.org/wiki/Just_intonation#Diatonic_scale. A is 5/3 of the frequency of C, and D is 9/8 of that frequency. if we do (5/3) / (9/8), we get 1.48148.... - *not* the pure 1.5 that would represent an "in tune" fifth. So you see, **Just intonation is "out of tune"** in some ways too! – Нет войне Jun 17 '20 at 07:48
  • @topoReinstateMonica. Ok. Just this one more . when we say we are in a particular key ( say B major) . how do we know what base freq of B to use...? – Lelouche Lamperouge Jun 17 '20 at 11:53
  • 1
    @LeloucheLamperouge you'd need to know your concert pitch: https://en.wikipedia.org/wiki/Concert_pitch. If you know your concert pitch and the temperament you want to use, you should be able to work out the frequencies of all notes. – Нет войне Jun 17 '20 at 11:57
  • @topoReinstateMonica even in one key, the pitch of certain notes must change depending on the harmonic context to achieve pure just intonation. It is often stated that a keyboard tuned in just intonation sounds good in only one key, but that's wrong: only certain *chords* from sound good, and there is no key in which every diatonic chord is in tune. It is not correct to say that "just intonation" is "out of tune" because just intonation is not properly used to tune keyboards. That is why it's an "intonation" but not a "temperament." – phoog Jun 17 '20 at 20:01
  • @phoog "only certain chords from sound good" - yes, as I was exploring a few comments ago (I only mentioned a single interval, but the underlying reason is the same). I'm using "out of tune" in the sense of 'not as consonant as it could be', which I assume is the sense it which it was used in "equal temperament being slightly out of tune in every key" in the OP. – Нет войне Jun 17 '20 at 21:14
2

Is it that difficult...

Yes, it is.

There are three observations about tuning:

  1. An octave sounds perfect when it's exactly a factor of 2 in frequency.

  2. A perfect fifth sounds perfect when it's exactly a factor 3/2 in frequency.

  3. If you stack twelve fifth on top of each other, and walk down seven octaves, you come back to the note where you started.

The problem is, mathematically, this is bullshit. Because it means that 3^12 == 2^19, which is simply not true. It's close, but it cannot work out. Choose any two of the above points, you cannot have them all.

That's why any tuning must make a compromise between the three points mentioned above. Equal temperament adjusts the perfect fifth to be 2^(7/12) = 1.498 instead of 3/2 = 1.5. You may not be able to hear the difference, but people with a trained ear do hear it. It's one of the most vexing experiences when you learn to tune a guitar, for instance, that you cannot tune the intervals perfectly, you must consciously add the error to achieve something like equal temperament. If you don't do that, you get a tuning that sounds good in some chords, but some other chords howl like a wolf. Equal temperament sacrifices point 2 from above.

Historically, people didn't use equal temperament. Instead, they would tune their instruments in a way that would fit the music they were intending to play. This sacrificed point 3 from above. (This always generates at least one fifth that cannot be used in the music because it sounds way off, effectively breaking the circle of fifth. You could also say that it's point 2 that's sacrificed because some fifth are nowhere near the 3/2 factor. However you look at it, you are sacrificing something.)

Of course, with modern technology, you can just measure the frequency, and tune each note accordingly. But you still need to decide which temperament you use to derive the "correct" frequencies, which of the three points above you want to sacrifice. You cannot get all three.

  • 1
    "They sacrificed point 3": actually, they sacrificed point 2. – phoog Jun 17 '20 at 19:43
  • @phoog Depends on how you look at it: You get at least one fifth that you absolutely cannot use in your music, so you may as well consider the circle of fifths broken at that point. – cmaster - reinstate monica Jun 17 '20 at 19:46
  • @phoog I've added a note on the reasoning to the answer, now. – cmaster - reinstate monica Jun 17 '20 at 19:53
  • 1
    "This always generates at least one fifth...": But point 3 *never* works acoustically. The only context in which that statement is true is the context of a 12-tone temperament. The difference between 12-tone temperaments is only in how many of the fifths are compromised and in the degree to which they are compromised. – phoog Jun 17 '20 at 19:58
  • What I'm trying to say is that the true mechanism of compromising on point 3 is a keyboard with more than 12 pitches per octave, because this gives you the ability to stack 12 fifths and arrive at a different note, for example, from G sharp to A flat on a split-key keyboard. On every 12-tone keyboard, G sharp and A flat are the same pitch, and the only way to achieve that is to have some or all of the fifths in a ratio other than 3:2. – phoog Jun 17 '20 at 20:09
  • Why even come up with the statement that a 3/2 factor is "perfect fifth" and then say that stacking those " perfect fifths" 12 times should give us back the original note but 7 octaves higher. Since if it doesn't check out mathematically, this whole idea is absurd. It means 12 fifths was never supposed to be 7 octaves. Why do everyone agree that" it should be but its not" and thats why "music is always slightly out of tune". Why didnt we come with a musical system that checks out perfectly in maths....? – Lelouche Lamperouge Jun 18 '20 at 08:56
  • 2
    because 3/2 SOUNDS perfect. But the power of the twelfth root of 2 doesn't quite (nearly, but not quite) And early music was generally restricted to a single scale, so the idea of having all keys in tune at the same time wasn't necessary -- so the system came into use because it sounded best for the people discovering it. And, personally, as a baroque flutists, I'd like my thirds to be more in tune than any piano will deliver in its "mathematically perfect" equal temperament. – Andrew Kay Jun 18 '20 at 09:58
  • 1
    @LeloucheLamperouge What you hear when tuning a perfect fifth is exactly this `3/2` factor: It's the point where all the odd overtones of the higher note fall exactly on the overtones of the lower note. Any deviation makes the interval sound impure. Just in the same way that all the overtones of an octave fall precisely on the odd overtones of the lower note. That's the physics of intervals, and it's the basis for us preferring to hear pure fifth and octaves. Point 1 and 2 of my list follow directly from physics. – cmaster - reinstate monica Jun 18 '20 at 09:59
  • @cmaster-reinstatemonica yes 3/2 times a freq sounds good with the original frequency because of physics, but why did people assign the name " a fifth" to it. Afterall we didnt have the chromatic or diatonic scale from the beginning of time. So "its called a fifth cause it sounds like a fifth" is not a valid answer. And you diddnt explain why people assume 3/2 stacked up 12 times should be some ocatave of the origanal freq. – Lelouche Lamperouge Jun 18 '20 at 11:34
  • @LeloucheLamperouge The fact that we use 12 seminotes stems directly from the fact that `2^19` and `3^12` are so close to each other. I.e. if you start a 440Hz (a'), then walk up by 12 fifths (or whatever you want to call it), and back down by 7 octaves (or whatever you call it), you arrive at 446Hz. That's less than 1.5% off. bb', the next semitone about a' is at 466Hz. Much farther away. So, baring that small error, you do indeed arrive back at where you started when you walk the circle of fifths, and the 12 notes you encounter are our 12 semitones. It's a small error, but still an error. – cmaster - reinstate monica Jun 18 '20 at 12:36
  • Btw, people have developed more precise approximations than 12TET. 53TET, for instance (https://en.wikipedia.org/wiki/53TET), which uses 53 semitones to exploit the fact that `3^53` is very close to `2^84`, it's off by only 0.2%. But still, whenever you try to match a power of 3 to a power of 2, you get a mismatch. Your friendly mathematician would have told you so... – cmaster - reinstate monica Jun 18 '20 at 12:43
  • @LeloucheLamperouge "why did people assign the name 'a fifth' to it": because it's the fifth note of the scale. I believe it arose originally because of the early practice of performing melodies with a drone. The fifth note in the scale settled on that frequency because it sounds better there. This is also seen in Indian music. It was only as harmonic language expanded (centuries later) that it became necessary to reconcile the width of 12 fifths with that of 7 octaves. – phoog Jun 19 '20 at 00:04
  • @cmaster-reinstatemonica the fact that we have 12 semitones became inevitable when the diatonic scale was divided into five whole steps and two half steps, centuries before people were writing 12-tone music. Filling in the half steps yields 12 semitones per octave. It was only later when people actually started trying to tune 12-tone keyboards that they had to start worrying about the Pythagorean comma. As far as I can tell there's no practical difference between 53-TET and variable-pitch just intonation. – phoog Jun 19 '20 at 00:06
  • @phoog If you say that our 12 semitones come from the half/whole steps of the diatonic scale, that's only half the story. The other half is, that the diatonic scale is the scale that you get when you take seven consecutive notes from the circle of fifths. The whole note matches two steps on the circle with an ideal fraction of `3/2 * 3/2 / 2 = 9/8`. If you take only five notes, you get the pentatonic scale; if you take more than seven, you start dividing whole steps in half. So, again, the fundamental reason remains the story about `2^19` being approximately `3^12`. – cmaster - reinstate monica Jun 19 '20 at 08:03
  • "the diatonic scale is the scale that you get when you take seven consecutive notes from the circle of fifths": it's not necessary to consider that fact to explain the 12-tone system. It does explain (or perhaps follow from) a preference for Pythagorean tuning in early keyboards (especially those with 8 keys per octave), but the filling in of the whole steps arises from the development of tonality via polyphony. The Pythagorean comma explains the problem of tuning a keyboard with 12 keys per octave, but it doesn't explain why the four additional keys were added. – phoog Jan 30 '21 at 18:26
1

I'm not sure that anyone has spelled this out yet but historically many instruments were tuned the way you want. This however meant that you could only play in one key and be perfectly in tune. The further you strayed from that key, the more out of tune you would sound. Some pre-classical organs allowed tuning for a given key via a sliding sleeve around the end of each pipe. Similarly lutes had gut frets that could be adjusted by sliding them along the fingerboard according to the key you were playing in.

The main force for equal temperament (i.e. slight out of tune-ness equally in every key) was perhaps J.S. Bach when he wrote his 48 Preludes and Fugues.

Correction See informative comment below by @brendan

  • 2
    This is a misconception which doesn't give Bach enough credit. It's called the "Well-Tempered Clavier", not the "Equal-Tempered Clavier", and if played on an instrument using well temperament, it highlights the differences in intonation of each key. https://en.wikipedia.org/wiki/Well_temperament – brendan Jun 17 '20 at 13:23
  • @brendan - Thanks for that comment - I've learned something new. I'll edit my answer to reference it. I wonder if there are any recordings of a keyboard using the authentic tunings that Bach knew. His 48 would sound very different if played this way. Are today's harpsichords tuned that way? – chasly - supports Monica Jun 17 '20 at 13:43
  • 1
    I've discovered a video demonstrating Bach's tuning. Search for *Tuning a harpsichord in Bach's temperament - Bradley Lehman* – chasly - supports Monica Jun 17 '20 at 13:50
  • See also *A Bach prelude in three different temperaments.* – chasly - supports Monica Jun 17 '20 at 13:58
  • "Some pre-classical organs allowed tuning for a given key via a sliding sleeve around the end of each pipe": virtually every organ allows retuning pipes, since organs have to be kept in tune and atmospheric conditions change. But you can't retune for each piece unless you have a fairly small organ. – phoog Jun 17 '20 at 20:06
  • @phoog - Exactly, I'm speaking from personal knowledge! I went to a concert last year where such a portable organ was used in concert with other historical instruments. Afterwards the keyboardist opened the lid and showed me the tunable pipes. The whole thing was a little bigger than an upright piano. – chasly - supports Monica Jun 18 '20 at 22:52
  • @chaslyfromUK I have been to a few concerts where organs and/or harpsichords were set into different temperaments for certain pieces. This always happens at intermission, because it takes too long to do at any other point in the concert. To do it with a church organ would take several hours if not days. – phoog Jun 19 '20 at 00:09
  • @phoog - Yes, he changed the tuning during a break. That's why I asked him if I could see inside. He didn't have to retune every pipe as the keys were closely related. I remember now, it was called a portative organ. Here's a picture similar to the one I saw. I remember he had replaced the hand bellows with an electric air pump - cheating I thought. http://www.orgel-schumacher.com/media/1166/continuo-8plus4_0001-bis.jpg?anchor=center&mode=crop&width=500&height=500&rnd=131229241210000000 – chasly - supports Monica Jun 19 '20 at 00:27
1

You make the claim (in the form of a question) that arbitrarily assigning frequencies to note names in the chromatic scale would "solve the problem of just intonation sounding different in every key except 1 and equal temperament being slightly out of tune in every key".

Based on this statement is seems that you do not know how these tuning systems arise.

Just tuning is based on the natural harmonics of some typical vibrating systems. Hence intervals are very "harmonious" in this tuning system.

The harmonic sequence is fn = n*f1.

From this we can get the "5th" and the "3rd" from n = 3 and n = 5 harmonics. Obviously this is not the correct ratio but if we bump them down into the first octave [f1, 2*f1] we get f(5th) = 3/2 * f1 and f(3rd) = 5/4 * f1.

If you apply the same reasoning starting from the 5th you get the ratios for the 7th and 9th (or 2nd bumped down). The "4th" is really a 5th below the tonic so we require the ratio of 4th (octave lower) to the 1st to also be 3/2, which becomes 2/3 upon inversion, and 4/3 when moved up and octave. The point being is that these ratios are based on the physics of vibration. This produces a set of notes that have THREE distinct consecutive ratios, the half step = 16/15, and two types of whole tone with ratio 9/8 and 10/9. For example the ratio Re/Do = 9/8 but that of Mi/Re = 10/9.

In terms of letter names perhaps we had chosen too few in the early days of music, or perhaps we had some other notation not currently in use that helped us distinguish these. If one wanted to build a D scale using, as the starting point the second note of the C scale then the second note, Re, could not possibly be the E of the C scale because it would not have the correct ratio. This is sometimes "corrected" by lowering the second note, and likewise for the others that do not follow a strict pattern. This "correction" helps standardize things and allows us to use a very simple alphabet for describing the notes available to us.

So, when you say that the Just scale is "different in every key" it is not clear what you mean! If the ratios are kept true then it should sound THE SAME in every key. I think you need to be clear about what quality you think is different.

The 12TET system defines the half step as the 12th root of 2, ~1.05946309436... . This is an irrational number and hence impossible to calculate exactly, though we try our best. In this tuning system ALL consecutive 1/2 steps have identical ratio. Hence ALL whole steps have identical ratio regardless of where you start, r ~ 1.0594631^2 ~ 1.122462. By the way 9/8 = 1.125, and 10/9 ~ 1.111. All one needs to do is get 1/2 steps to register the same value to within the precision of some spectral analyzer. Then everything is "in tune". In theory one could tune in 12TET with enough precision that a human could not detect the drift all the way through the spectrum of human hearing, to within the pitch discrimination ability of the human ear and brain. This is not possible, imo, out to infinity but it is possible for a finite bandwidth. So again, what exactly is "out of tune" for the equal tempered scale? Is "out of tune" your way of saying that the tones are not based on harmonics of the fundamental, dominant and sub-dominant?

I think that you need to enhance the question to be more clear. However, based on the two mathematical definitions of tones it is simply NOT possible to (1) make the steps equal ratio in all places while maintaining the harmoniousness that naturally occurs when harmonics are used. I am not sure if this helps answer your question but I've tried to interpret it faithfully.

  • I assume that the base freq of all notes in equal temperament is obtained from A440. Correct me if im wrong. By base freq i mean the freq used to create a major/minor scale of that note in whichever temperament people want. ........... . But before the equal temperament came to existence, how did people assign different base frequencies for different notes to create a scale. Assuming there was one fixed freq for a note, like A440 ,in this situation as well. – Lelouche Lamperouge Jun 19 '20 at 08:29
0

Several issues that haven't been mentioned.

First, the fundamental vibration frequency of a piano string isn't the pitch frequency people hear. Experimental evidence shows that the pitch (especially of the low notes of a piano) that people hear is more based on a combination of the higher harmonics of the note being played (some combination of absolute frequency, frequency differences, and frequency ratios of some set of higher harmonics). And, for piano strings, the higher harmonics are not exact integer multiples in frequency of the note's fundamental mode, due to finite diameter and stiffness of the piano strings. Therefore, if you tune certain notes mathematically "in tune" in they will sound out of tune to most humans. Especially in combination with the (slightly inharmonic) harmonics of other notes in any chord.

Next, a key on a piano often hits not one string, but multiple strings. The strings actually exchange energy between themselves during the duration of a note which slightly bends the pitch as the note evolves. So there is not a single pitch to tune to.

Third, as a note decays, the amplitude changes, and again due to finite diameter and tension, the fundamental frequency changes. So, when do you want a note to be in tune? It will then not match that tuning at other times or with different dynamics.

Etc. (Basically the physics of real materials, plus non-deterministic neuron firings in cochleas and human brains, does not produce a single simple math equation regarding "correct" frequencies.)

hotpaw2
  • 1,783
  • 2
  • 17
  • 23