My first guitar teacher told me that someday I'd start to notice that you can't get all strings perfectly in tune. At that point, he said, you'll know you're getting somewhere on the guitar.
Absurd. A guitar within tolerance is in tune. It's a fundamental feature of the instrument. Not a flaw.
Music doesn't live in an abstract realm of perfections, it is an expression however formed. The fact that we can measure it is one thing. But the music or instruments do not need conform to discrete measurements to satisfy.
I know engineers hate this, but ask any musician. It's like arguing that a sitar and its scales aren't right. Absurd.
> If thirds and fifths are so out of tune in 12-TET, why do we use it? The advantage is that all the thirds and fifths in all the keys are out of tune by the same amount. None of them sound perfect, but none of them sound terrible, either.
Can't we have a system that is optimized for the notes that are actually played in a song rather than the hypothetical set? And what if the optimization is done per small group of notes rather than over an entire song?
You might play a G# note in the context of an E chord (where it's the third), and then you might play it in the context of a C# (where it's the fifth).
These are discernably different pitches, but the same "note", in the same key, in the same song!
Sure, that's basically just intonation (JI). You pick what key you want to play in and a scale, and then you build an instrument around that scale.
(Though something that happens in just intonation is that you often find out you need more notes than you might have originally thought, because JI makes distinctions between notes that are treated as the same in 12-TET. For instance, you might have 10/9 or 9/8 as your major second, or your minor seventh might be 9/5, 16/9, 7/4, or 12/7 depending on context.)
I don't think any just intonation guitar has been mass produced, but you can definitely build one or modify an existing guitar if you have the right tools and are willing to do a bunch of math and learn how to install frets.
Here's a so-so performance of myself playing a Bach piece on a newer and vastly improved version of that just intonation keyboard: https://www.youtube.com/watch?v=rqbWnDhip0A
In 12-EDO the song has 11 distinct pitch classes. (Bach used the tritone, but not the minor second.) In my straightforward JI interpretation, I use 15 pitch classes. (I would have used 16, but my keyboard simply doesn't have a key for that note.)
Actually is not a guitar problem, but all 12-TET tuned instruments have this, it is just a side effect of harmonic math. In the guitar case it is not only the tuning that counts, also the material the string are made and the diameter of the strings count to the final frequency, and we are using parallel frets so applying the same distance to different strings. There are guitars with not parallel frets that try to compensate for the diameter variation. But that’s all math and understanding, cause when you tune your guitar and just play you are in another world were "thought is the killer of flow"; so just play and enjoy the sound. :D
Fixed it: “Why can’t you tune your poorly made guitar?”
The most guitars today are still made in the style of the 1950s Gibsons and Fenders, including the neck and tuner layout. Most guitar buyers focus on the aesthetic and not the quality. I switched to a headless guitar where the tuners are at the bridge and it has a fanned fretboard giving the strings more natural tensions, the thing stays in tune and is intonated at the frets extremely well.
> If you watch slow-motion video of a guitar string vibrating, you’ll see a complex, evolving blend of squiggles. These squiggles are the mathematical sum of all of the string’s different harmonics.
This is incorrect. If you watch a video like [0], the squiggles aren't real, they're an artifact of a rolling shutter camera. A real slowmo camera will correctly show the entire string vibrating[1].
The rest of the article is correct, but you can't see harmonics happening to the string.
>> but you can't see harmonics happening to the string.
But you absolutely can if you rest a finger on a node and pick it, producing primarily the harmonic. You can even see the lesser vibration at the nodes with your eyes.
> If you watch a video like [0], the squiggles aren't real, they're an artifact of a rolling shutter camera.
...is this correct? You can say this about any oscillating phenomenon - that doesn't mean it's not 'real'. The "squiggles" are an artifact of the frequency of the string and the scan rate of the rolling shutter. You'll also see artifacting from a global shutter camera, where the "squiggles" will be an artifact of the string frequency and the frame (rather than scan) rate.
Or do I misunderstand?
I've been playing guitar for 25 years, and it seems to me that I can look at the "squiggles" from a rolling shutter capture of a string and tell you which string it is (and possibly, if I'm having a particularly sharp day, whether it's E or drop-D). I've never tested myself this way - am I certain to fail? :-)
You would need a frame rate higher than the Nyquist frequency of highest harmonic you want to capture. Since the fundamental frequency of the lowest pitch sting is 83.4 Hz, and you want to capture up to the fifth harmonic (at 83.4 Hz * 5 = 417 Hz) and double that to get the Nyquist frequence, so at least 834 fps. So you would need a high speed camera with 1000 fps to capture the real vibrations.
This is why string instrument players sometimes prefer to play a note not on the empty string (let's say play a A on the A-string on a cello), but instead on a lower string (e.g. first finger, fourth position on the lower D string) to accord for these imperfections. As a string instrumemt player, you pretty much only have to worry about these notes on empty strings, every other note you can "wiggle into place".
I was born with something not quite like perfect pitch, but when something is even slightly off tune it caused physical discomfort for me.
My cs department had a cool project class where you built what was basically a raspberry pi with a microcontroller by hand, and you had to use the dumb speaker and controller to make your own music firmware to produce notes. the challenge involved, was basically, the processor’s clock wasnt fine grained enough to produce perfect notes. I wanted to make a simon says toy but the notes were off. I approached my professor with my problem and he said I could cheat the processor clock in a clever way to get what i wanted and it was such a “oh wow computers are magic” to me, i got the notes i wanted. disappointingly the TA grader wasnt that impressed but that proff ended up offering me a job before I graduated.
Even if you tuned two string to ensure that two specific notes on them vibrated at a perfect interval, there are non-multiplicative overtones modulated by resonance with the rest of the instrument. Those intervals are ideals for minimizing dissonance. Practically, the dissonance of 12TET intervals falls below the noise floor of all the other acoustic distortions that give instruments character.
Well, there's only 6 knobs and if you want to be "in tune with the world" those six knobs can only be in one place.
However if you want more notes than that to be their best you're going to have to compromise and work at it a bit.
Now if you want the instrument to sound its absolute best on its own solo, a slightly different place for some strings.
And then depending on other musicians you are playing with and the way their tuning has achieved perfection (or not), some further tweaking can make a big difference.
And that's after accepting that the "knobs can only be in one place".
For students to get really good at the tuning process can require a few extra years of everyday practice more than it does to learn to play a few pieces.
Part of the limitation is the way only a few minutes of tuning are spent for every hour of practice, if that.
There is no way to tune your guitar so that all the successive open fourths (and the one major third) are pure, without the high E being quite off pitch relative to the low one.
But, unless you mainly play stacked fourths, why would you make it a requirement? You can, for instance, tune instead to get pure fretted fifths between adjacent strings, and fretted octaves between strings one removed.
The real reason you can't get your guitar in tune is one which makes none of the above matter. Most guitars don't have good intonation. Most acoustic guitars don't have movable saddles to set intonation at the bridge. Electric ones do. For accurate tuning, you need not only compensation at the bridge, but also at the nut.
On my main axe, I installed a small screw next to the nut, right under the G string. Just doing the G string makes a huge difference!
Here is a test: play an open D power chord (open D, A on G string, D on B string) it is very clean. Now release the A to play a 1-4-8 G power chord (open D, open G, D).
On my compensated guitar, both of them are crisply in tune. Without nut intonation, one of the two will have ugly beats. If you tune one, the other goes wonky.
When I first heard how good it is after putting in the compensating screw, I was astonished and at the same time filled with the regret of not having done it decades earlier.
Why the G? The unwound G string on electrics is the most susceptible to bad intonation at the nut, because it undergoes the greatest pitch change when it is fretted. Guitarists like to bend that one for the same reason. Fretting it at the first or second frets makes it go markedly sharp; for that reason we need to shorten the distance between the nut and the first fret to get that sharpened interval back down to a semitone.
This is less of a problem on guitars with a wound G, which has a lot more tension in it to compensate for its weight, and doesn't pitch-bend nearly as easily.
> You can, for instance, tune instead to get pure fretted fifths between adjacent strings, and fretted octaves between strings one removed.
No, you can’t. If you tune so that octaves with one string between are correct everywhere on the neck, that will force the tuning to be 12 tone equal temperament, and a fifth in 12 TET cannot be a perfect fifth.
For some reason it’s taken me decades of playing guitar to become good enough at tuning and also sensitive enough to really feel the fact that I can’t tune the guitar. Recently I finally grokked the simple reason that 12 TET cannot be perfect, and it doesn’t take a long article to see it. I was kind-of aware of the major third problem, but I naively thought fifths were still perfect.
A 12 TET chromatic is 2^(1/12), and a 12 TET fifth would be 2^(7/12). A perfect fifth is a 3:2 ratio. Those numbers are slightly different, and that’s enough to understand it. Another way of thinking about it is that if you were to complete the cycle of fifths purely by stacking fifths, you should end up on the note you started with but many octaves higher. But you should be able to see that starting on C1 and going by octaves will produce a number that is purely powers of 2, whereas stacking fifths will necessarily involve powers of both 2 and 3, so they can never be equal, I can stack fifths and never land on my original note’s octaves.
> A 12 TET chromatic is 2^(1/12), and a 12 TET fifth would be 2^(7/12). A perfect fifth is a 3:2 ratio. Those numbers are slightly different, and that’s enough to understand it.
Note this this is normally called the "Pythagorean comma".
Article reads like a well akchuallly to is your guitar in tune.
I probably haven't tuned my guitar to concert tuning for a long time.
I tried rocksmith and often tuned to that otherwise I just keep it in tune with itself and what approximately sounds right to me.
My fingers are too fat for any precision to matter too much. So long as it's in tune with itself intonation is vaguely right and the action is acceptable no one will notice my solo playing in the garage by myself is out of tune are the fifth harmonic.
Not all instruments are limited to a fixed set of pitches. A good classical string player micro-adjusts each individual note to adapt to its harmonic context. For example, making all the thirds and fifths sound good even when the key changes, or adjusting a leading tone up or down very slightly to make it even more leading.
Another way to think of it is that they have to hit every pitch without assistance from the instrument anyway, so they learn to make every note sound “good” rather than hitting a mathematically defined frequency.
fun fact: some bands, like red hot chilli peppers, will tune the G string slightly flat such that major thirds become just, for some of their riffs. Listen to "scar tissue" for example
The other problem I always notice on top of all this is that when you pluck a string, it adds tension to it temporarily, so the pitch when you first play it is a little higher than the pitch as it settles down. The louder you play it, the more the effect.
Woah, so cool when a topic I was going into in depth gets to HN.
I'm a relatively new adult beginner on the violin, and one of the fascinating (and extremely difficult) things about un-fretted string instruments is the player has the freedom to shift the tuning around to fit the context. On the violin, we normally play melodies and scales using Pythagorean tuning (which is actually a misnomer as Pythagoras didn't invent it, the ancient Mesopotamians did), which is based on the circle of fifths and leads to wider whole steps and narrower half steps than equal temperment tuning. But then for double stops (i.e. chords), and especially when playing in a string quartet, just intonation, which is based on the harmonic series, is used so the notes sound concordant. This page describes all the different tuning systems a violinist may use, also including 12 TET when trying to match a piano: https://www.violinmasterclass.com/posts/152.
This video shows how challenging it can be when trying to adjust intonation when playing in a string quartet: https://youtu.be/Q7yMAAGeAS4 . Interestingly, the very beginning of that video talks about what TFA discussed that when you tune all your strings as perfect fifths your major thirds will be out of tune.
I'll also put in a plug for light note, an online music theory training tool that was mentioned on HN a decade ago: https://news.ycombinator.com/item?id=12792063 . I'm not related to the owner in any way, I just bought access a few years ago and think it was the first time I really understood Western music theory. The problem with music theory is that the notation is pretty fucked up because it includes all this historical baggage, and lots of music theory courses start with what we've got today and work backwards, while I think it's a lot easier to start with first principles about frequency ratios and go from there.
Other notes (pun intended!): The violin is great for learning music theory because you can actually see on the string how much you're subdividing it - go one third of the way, that's a perfect fifth, go halfway, that's an octave, etc. Harmonics (where you lightly touch a string) are also used all the time in violin repertoire. Finally, the article mentions Harry Patch, but you should also check out Ben Johnston, a composer who worked with Patch and was famous for using just intonation. Here is is Amazing Grace string quartet, and you can really hear the difference using just intonation: https://youtu.be/VJ8Bg9m5l50
53 comments
[ 37.6 ms ] story [ 1543 ms ] threadAdvanced banjo players will sometimes use harmonics for a ‘bell’ effect. Here’s a short video from Alison Brown, a great player.
https://www.youtube.com/shorts/NJDgpw2jIdc
Music doesn't live in an abstract realm of perfections, it is an expression however formed. The fact that we can measure it is one thing. But the music or instruments do not need conform to discrete measurements to satisfy.
I know engineers hate this, but ask any musician. It's like arguing that a sitar and its scales aren't right. Absurd.
Can't we have a system that is optimized for the notes that are actually played in a song rather than the hypothetical set? And what if the optimization is done per small group of notes rather than over an entire song?
You might play a G# note in the context of an E chord (where it's the third), and then you might play it in the context of a C# (where it's the fifth).
These are discernably different pitches, but the same "note", in the same key, in the same song!
(Though something that happens in just intonation is that you often find out you need more notes than you might have originally thought, because JI makes distinctions between notes that are treated as the same in 12-TET. For instance, you might have 10/9 or 9/8 as your major second, or your minor seventh might be 9/5, 16/9, 7/4, or 12/7 depending on context.)
I don't think any just intonation guitar has been mass produced, but you can definitely build one or modify an existing guitar if you have the right tools and are willing to do a bunch of math and learn how to install frets.
This page is about a JI keyboard I built a while back, but there's also a few pictures of a couple old Harmony guitars I adapted to JI: https://jsnow.bootlegether.net/jik/keyboard.html
Here's a so-so performance of myself playing a Bach piece on a newer and vastly improved version of that just intonation keyboard: https://www.youtube.com/watch?v=rqbWnDhip0A
In 12-EDO the song has 11 distinct pitch classes. (Bach used the tritone, but not the minor second.) In my straightforward JI interpretation, I use 15 pitch classes. (I would have used 16, but my keyboard simply doesn't have a key for that note.)
The most guitars today are still made in the style of the 1950s Gibsons and Fenders, including the neck and tuner layout. Most guitar buyers focus on the aesthetic and not the quality. I switched to a headless guitar where the tuners are at the bridge and it has a fanned fretboard giving the strings more natural tensions, the thing stays in tune and is intonated at the frets extremely well.
This is incorrect. If you watch a video like [0], the squiggles aren't real, they're an artifact of a rolling shutter camera. A real slowmo camera will correctly show the entire string vibrating[1].
The rest of the article is correct, but you can't see harmonics happening to the string.
[0] https://youtu.be/XOCGb5ZGEV8 [1] https://youtu.be/6sgI7S_G-XI
But you absolutely can if you rest a finger on a node and pick it, producing primarily the harmonic. You can even see the lesser vibration at the nodes with your eyes.
...is this correct? You can say this about any oscillating phenomenon - that doesn't mean it's not 'real'. The "squiggles" are an artifact of the frequency of the string and the scan rate of the rolling shutter. You'll also see artifacting from a global shutter camera, where the "squiggles" will be an artifact of the string frequency and the frame (rather than scan) rate.
Or do I misunderstand?
I've been playing guitar for 25 years, and it seems to me that I can look at the "squiggles" from a rolling shutter capture of a string and tell you which string it is (and possibly, if I'm having a particularly sharp day, whether it's E or drop-D). I've never tested myself this way - am I certain to fail? :-)
My cs department had a cool project class where you built what was basically a raspberry pi with a microcontroller by hand, and you had to use the dumb speaker and controller to make your own music firmware to produce notes. the challenge involved, was basically, the processor’s clock wasnt fine grained enough to produce perfect notes. I wanted to make a simon says toy but the notes were off. I approached my professor with my problem and he said I could cheat the processor clock in a clever way to get what i wanted and it was such a “oh wow computers are magic” to me, i got the notes i wanted. disappointingly the TA grader wasnt that impressed but that proff ended up offering me a job before I graduated.
However if you want more notes than that to be their best you're going to have to compromise and work at it a bit.
Now if you want the instrument to sound its absolute best on its own solo, a slightly different place for some strings.
And then depending on other musicians you are playing with and the way their tuning has achieved perfection (or not), some further tweaking can make a big difference.
And that's after accepting that the "knobs can only be in one place".
For students to get really good at the tuning process can require a few extra years of everyday practice more than it does to learn to play a few pieces.
Part of the limitation is the way only a few minutes of tuning are spent for every hour of practice, if that.
But, unless you mainly play stacked fourths, why would you make it a requirement? You can, for instance, tune instead to get pure fretted fifths between adjacent strings, and fretted octaves between strings one removed.
The real reason you can't get your guitar in tune is one which makes none of the above matter. Most guitars don't have good intonation. Most acoustic guitars don't have movable saddles to set intonation at the bridge. Electric ones do. For accurate tuning, you need not only compensation at the bridge, but also at the nut.
https://guitarnutcompensation.com/
On my main axe, I installed a small screw next to the nut, right under the G string. Just doing the G string makes a huge difference!
Here is a test: play an open D power chord (open D, A on G string, D on B string) it is very clean. Now release the A to play a 1-4-8 G power chord (open D, open G, D).
On my compensated guitar, both of them are crisply in tune. Without nut intonation, one of the two will have ugly beats. If you tune one, the other goes wonky.
When I first heard how good it is after putting in the compensating screw, I was astonished and at the same time filled with the regret of not having done it decades earlier.
Why the G? The unwound G string on electrics is the most susceptible to bad intonation at the nut, because it undergoes the greatest pitch change when it is fretted. Guitarists like to bend that one for the same reason. Fretting it at the first or second frets makes it go markedly sharp; for that reason we need to shorten the distance between the nut and the first fret to get that sharpened interval back down to a semitone.
This is less of a problem on guitars with a wound G, which has a lot more tension in it to compensate for its weight, and doesn't pitch-bend nearly as easily.
No, you can’t. If you tune so that octaves with one string between are correct everywhere on the neck, that will force the tuning to be 12 tone equal temperament, and a fifth in 12 TET cannot be a perfect fifth.
A 12 TET chromatic is 2^(1/12), and a 12 TET fifth would be 2^(7/12). A perfect fifth is a 3:2 ratio. Those numbers are slightly different, and that’s enough to understand it. Another way of thinking about it is that if you were to complete the cycle of fifths purely by stacking fifths, you should end up on the note you started with but many octaves higher. But you should be able to see that starting on C1 and going by octaves will produce a number that is purely powers of 2, whereas stacking fifths will necessarily involve powers of both 2 and 3, so they can never be equal, I can stack fifths and never land on my original note’s octaves.
Note this this is normally called the "Pythagorean comma".
https://en.wikipedia.org/wiki/Pythagorean_comma
I probably haven't tuned my guitar to concert tuning for a long time.
I tried rocksmith and often tuned to that otherwise I just keep it in tune with itself and what approximately sounds right to me.
My fingers are too fat for any precision to matter too much. So long as it's in tune with itself intonation is vaguely right and the action is acceptable no one will notice my solo playing in the garage by myself is out of tune are the fifth harmonic.
Another way to think of it is that they have to hit every pitch without assistance from the instrument anyway, so they learn to make every note sound “good” rather than hitting a mathematically defined frequency.
https://strandbergguitars.com/en-WW/magazine/true-temperamen...
They solve exactly for this issue, and sound amazing in use. The downside is that you are somewhat locked into a given tuning.
Alternatively you can take the approach of guitars with movable frets so you can adjust them per tuning.
https://youtu.be/EZC69A8TsJ8?si=7hUIb7FEKb45eV_L
These are generally used for microtonal playing but can also effectively be true temperament as well.
Guitars with gut frets used to have adjustable positions, which allowed for some mitigation via changing fret positions too
I'm a relatively new adult beginner on the violin, and one of the fascinating (and extremely difficult) things about un-fretted string instruments is the player has the freedom to shift the tuning around to fit the context. On the violin, we normally play melodies and scales using Pythagorean tuning (which is actually a misnomer as Pythagoras didn't invent it, the ancient Mesopotamians did), which is based on the circle of fifths and leads to wider whole steps and narrower half steps than equal temperment tuning. But then for double stops (i.e. chords), and especially when playing in a string quartet, just intonation, which is based on the harmonic series, is used so the notes sound concordant. This page describes all the different tuning systems a violinist may use, also including 12 TET when trying to match a piano: https://www.violinmasterclass.com/posts/152.
This video shows how challenging it can be when trying to adjust intonation when playing in a string quartet: https://youtu.be/Q7yMAAGeAS4 . Interestingly, the very beginning of that video talks about what TFA discussed that when you tune all your strings as perfect fifths your major thirds will be out of tune.
I'll also put in a plug for light note, an online music theory training tool that was mentioned on HN a decade ago: https://news.ycombinator.com/item?id=12792063 . I'm not related to the owner in any way, I just bought access a few years ago and think it was the first time I really understood Western music theory. The problem with music theory is that the notation is pretty fucked up because it includes all this historical baggage, and lots of music theory courses start with what we've got today and work backwards, while I think it's a lot easier to start with first principles about frequency ratios and go from there.
Other notes (pun intended!): The violin is great for learning music theory because you can actually see on the string how much you're subdividing it - go one third of the way, that's a perfect fifth, go halfway, that's an octave, etc. Harmonics (where you lightly touch a string) are also used all the time in violin repertoire. Finally, the article mentions Harry Patch, but you should also check out Ben Johnston, a composer who worked with Patch and was famous for using just intonation. Here is is Amazing Grace string quartet, and you can really hear the difference using just intonation: https://youtu.be/VJ8Bg9m5l50