# Why does a guitar string "beat" as if it is out of phase?

• A
• mikejm
In summary, a guitar string has a natural "beating" sound to it, meaning it sounds as if it is ebbing and flowing slowly as it vibrates. The explanation given is that the vibrations of the string and the guitar cavity form a pair of coupled oscillators, with energy being swapped back and forth between them. This creates the "ebbing and flowing" sound.
mikejm
I am working on synthesis modelling of guitars, and I have managed to capture most elements of the guitar well so far.

Something I am struggling to understand is why a guitar string has a natural "beating" sound to it, meaning it sounds as if it is ebbing and flowing slowly as it vibrates.

To illustrate what I mean, here is a sound file of a guitar string plucked once:

https://filebin.net/wo4borxaxe74nbg2

If you listen, it sounds as if the pitch is almost slowly fluctuating up and down over time, or the volume is increasing and decreasing.

I have done a pitch analysis, and it doesn't appear to be a true pitch fluctuation:

The fundamental note and harmonics all appear to have a very steady pitch over time.

However, what can be seen particularly with the second harmonic is that this harmonic comes and goes in intensity over the duration of the note. All the higher harmonics can be easily seen to do this.

It would appear this is what creates the "ebbing and flowing" sound.

I found one post online which seemed to try to explain this behavior:

"Unlike the ideal mathematical model, strings vibrate in two dimensions. Since the change in tension is more pronounced in one dimension than the other, we're actually hearing two sounds. This causes some harmonics to get canceled while others become more pronounced. As the frequencies of these two vibrations shift relative to each other, the harmonics that get canceled or become pronounced also change. This causes a slight chorusing or flanging effect. It's also an inherent limitation of plucked string instruments but it's also OK, it's also part of the sound we know and love."

https://music.stackexchange.com/que...-a-guitar-why-is-it-only-in-tune-for-a-moment

I am wondering if this is the correct explanation for why this happens? If so, can anyone elaborate further?

I am trying to understand what they mean by the string "vibrating in two dimensions" or how this creates this phasing/chorusing/flanging effect.

Thanks.

#### Attachments

• pitch.PNG
20.9 KB · Views: 612
My guess is that the vibrating string and the guitar cavity form a pair of coupled oscillators, with energy being swapped back and forth between them.

The so-called harmonics are not actual harmonics. The Overtones of the string are not necessarily exact harmonics and the few Hz (or less) difference between the string overtones and any harmonics or other overtones could account for this effect.
Although an ideal string will have overtones that are harmonically related, both ends of the string are not well defined (particularly the finger on fret end). The timbre of all instruments is 'attractive' for this sort of reason.

Last edited:
olivermsun and DrClaude
Another point is that the string is not plucked at it's center either, it is off on one end, so the counter vibration would be at the other end of the string, same distance from the end, so that there is a harmonic caused by the exact place it is plucked. Usually this is nowhere near noticeable, but with our extremely precise electronics we are able to discern things that are just beyond human hearing. Some folks can hear these minor differences but most never hear or consider them.

Steelwolf said:
most never hear or consider them
They just appreciate something 'different' between two different stringed instruments and between individual instruments of the same kind. Id musical sounds were just based Hammond Organ style mixes of harmonics, life would be far less rich.

mikejm said:
I am working on synthesis modelling of guitars
If the structure of the guitar has a non-negligible degree of flexibility, for example guitar with box or half box, there are 3 dimensions in the vibration of the string. The diapason lever on the box and the length of the string varies. that is a dimension, which corresponds to the longitudinal vibration.

The other two are transverse and you can express them with two components, for example a coordinate transverse to the string and parallel to the plane of the box another perpendicular to that plane.

The 3 components contribute to varying the tension of the strig and to leverage on the box, causing pitching. Stationary waves occur in the material of the guitar, which last for a time before the energy of those waves dissipates in heat. In that time they interfere with the waves of the last sound that has been played on the instrument.

For all that happens exactly what you have described.

The pitching caused by the action of the string on the structure of the instrument is very special, since the frequency of the note varies periodically and the period coincides with the period of the note that sounds. It is a pitching mathematically identical to a wave function, if you formulate the frequency variation as a function of time.

All this gives a very complex, multidimensional phenonenon, that is, it requires using many variables to formulate an adequate description. If you manage to well synthesize the sound of the guitar, you would make a very worthy contribution.

Last edited:
sophiecentaur said:
The so-called harmonics are not actual harmonics. The Overtones of the string are not necessarily exact harmonics and the few Hz (or less) difference between the string overtones and any harmonics or other overtones could account for this effect.
Although an ideal string will have overtones that are harmonically related, both ends of the string are not well defined (particularly the finger on fret end). The timbre of all instruments is 'attractive' for this sort of reason.

What you're referring to is the inharmonicity of the harmonics. I have accounted for that in my design, and it is very important for the instrument, but it does not create the "beating" tone that we are referring to.

Steelwolf said:
Another point is that the string is not plucked at it's center either, it is off on one end, so the counter vibration would be at the other end of the string, same distance from the end, so that there is a harmonic caused by the exact place it is plucked. Usually this is nowhere near noticeable, but with our extremely precise electronics we are able to discern things that are just beyond human hearing. Some folks can hear these minor differences but most never hear or consider them.

Off center plucking creates nodes and antinodes which will then mute or emphasize certain modes (harmonics) of vibration. But to my knowledge, this shouldn't cause harmonics to fluctuate in intensity over the duration of the sound (ie. pulse or beat as shown here).

mikejm said:
but it does not create the "beating" tone that we are referring to.
Have you actually measured this or are you just making an assertion?
If you look at a scope trace of a guitar note, you can very often (always?) see a steady, low frequency, which is what the scope triggers on but also you see higher frequency patterns which march along the fundamental stationary pattern. If all the components were harmonics, this wouldn't happen and the pattern would be stable - just decaying in amplitude - and that implies inharmonicity. Just how the ear makes sense of this is difficult to predict but it is not ridiculous to suggest that a beat pattern would be perceived where the beats are between the overtones and genuine harmonics, generated elsewhere - even in the hearing process.

sophiecentaur said:
Have you actually measured this or are you just making an assertion?
If you look at a scope trace of a guitar note, you can very often (always?) see a steady, low frequency, which is what the scope triggers on but also you see higher frequency patterns which march along the fundamental stationary pattern. If all the components were harmonics, this wouldn't happen and the pattern would be stable - just decaying in amplitude - and that implies inharmonicity. Just how the ear makes sense of this is difficult to predict but it is not ridiculous to suggest that a beat pattern would be perceived where the beats are between the overtones and genuine harmonics, generated elsewhere - even in the hearing process.

I have synthesized harmonics in a guitar like pattern with inharmonicity applied and no beating similar to this occurs. Each harmonic rings independently at the level that is requested. But that may be a limitation of my synthesis. Audio synthesis is not the same as true physical modelling like Ansys. It's just doing what I tell it to.

But if you do modeling of a simple string with Ansys, I do not think it will predict beating from what I've seen, though I'm not good with Ansys. It will however give inharmonicity, so I don't think inharmonicity is directly the cause.

eg.

Just because the harmonics are not exact multiples (inharmonic) does not mean they will beat automatically. Or does it? I can't see how that would make sense. If inharmonic modes automatically lead to beating, then wouldn't there be beating present in every vibrational analysis of any object (since nothing in nature is perfectly harmonic)? Or is there?

It seems more to me like this must be something to do with the guitar body and feedback between the string and the body causing some phasing or other cancellation of the harmonics periodically. I will post an example a bit later, but when you apply a "chorus" effect, it can somewhat simulate what we see here. A chorus effect is typically done by adding a slightly off-pitched version of the audio to the original audio which creates beating. But it can also be done by directly shaping the harmonic levels in an oscillating manner.

I'm just not sure exactly why those harmonic amplitude oscillations occur in the real world.

If the overtones are not "true" harmonics (exact multiples), then how can they not beat? The phase relationship between the overtones and the fundamental cannot be fixed because they have different periods, e.g., the overtones and the true harmonics are slightly off-pitch. In fact, the overtones are recognizable as such because they are nearly exact multiples, hence the beat frequency tends to be low and quite apparent.

olivermsun said:
If the overtones are not "true" harmonics (exact multiples), then how can they not beat? The phase relationship between the overtones and the fundamental cannot be fixed because they have different periods, e.g., the overtones and the true harmonics are slightly off-pitch. In fact, the overtones are recognizable as such because they are nearly exact multiples, hence the beat frequency tends to be low and quite apparent.
That's my problem, too. But the uncertainty about this is surely due to the use of a simulator. The results of a simulator are only as good as the simulation itself. If, as it seems, the simulation does not throw up the same beats as the guitar then it is not up to the job. Simulation is no more than a convenient calculation which relies on accurate modelling and it is very risky to do 'research' using simulations unless they have been thoroughly tested in the context of the particular research field. That should be step number one in selection to use an off the shelf simulation.
One thing the OP seems to have revealed is that the beating is not psycho-audio because I understand that he has listened to the result. This assumes that the audio quality was good enough. For instance, it would be necessary to compare recorder guitar notes and the synthesised version.

"the overtones are recognizable as such because they are nearly exact multiples, hence the beat frequency tends to be low and quite apparent". I would have thought that the overtones could well be generated within the ear but the resonant / matching parts of the body could well be non linear enough to generate intermodulation products in their own right and that may cause the beats that we 'hear'.

## 1. Why do guitar strings "beat" or produce an out of phase sound?

The beating sound on a guitar string is caused by the interference between two waves of slightly different frequencies. This results in a periodic increase and decrease of the amplitude, creating a pulsating or "beating" sound.

## 2. How does the length of a guitar string affect the "beating" sound?

The length of a guitar string affects the frequency of the wave it produces. A shorter string will produce a higher frequency, while a longer string will produce a lower frequency. This difference in frequency can contribute to the "beating" sound when two strings are played together.

## 3. Can the tension of a guitar string affect the "beating" sound?

Yes, the tension of a guitar string can also affect the frequency of the wave it produces. A higher tension string will produce a higher frequency, while a lower tension string will produce a lower frequency. This difference in frequency can contribute to the "beating" sound when two strings are played together.

## 4. Why does the "beating" sound become more intense when two guitar strings are out of tune?

When two guitar strings are out of tune, the difference in frequency between the two strings becomes more noticeable. This difference creates a stronger interference and a more intense "beating" sound.

## 5. Can the "beating" sound be used intentionally in music?

Yes, the "beating" sound can be used intentionally in music to create a desired effect. This technique is commonly used by guitarists to add texture and depth to their playing, particularly in acoustic music. It can also be used to tune instruments by listening to the "beating" sound and adjusting the strings accordingly.

• Art, Music, History, and Linguistics
Replies
13
Views
423
• Other Physics Topics
Replies
41
Views
14K
• Introductory Physics Homework Help
Replies
23
Views
2K
• Introductory Physics Homework Help
Replies
3
Views
922
• Other Physics Topics
Replies
101
Views
42K
• Other Physics Topics
Replies
8
Views
4K
• General Discussion
Replies
29
Views
2K
• Optics
Replies
10
Views
1K
• Introductory Physics Homework Help
Replies
4
Views
1K
• Other Physics Topics
Replies
17
Views
2K