How are square sound waves possible? How does a speaker sustain peak?

Click For Summary

Discussion Overview

The discussion revolves around the nature of square sound waves, how they are generated by speakers, and the physical limitations that affect their reproduction. Participants explore the theoretical and practical aspects of sound waveforms, particularly focusing on square, rectangular, and sawtooth waves, as well as the mechanics of speaker diaphragms in sustaining sound pressure levels.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses confusion about how speakers can achieve and sustain maximum pressure in square waves, questioning the existence of gradients in sound waves.
  • Another participant asserts that speakers can only approximate square waves due to physical limitations, such as inertia and the springiness of the speaker components.
  • It is noted that square waves are idealizations and cannot be perfectly reproduced in practice, similar to other physical idealizations.
  • A participant inquires whether the approximation of a square wave would primarily consist of sinusoidal waves or maintain a square shape with some exceptions at the edges.
  • Discussion includes the idea that the speaker cone's displacement is designed to follow the electrical signal closely, but it cannot replicate the square wave exactly due to its mass and the surrounding air's dynamics.
  • One participant mentions that a square wave is a composite of infinite sine waves, and practical systems cannot reproduce the higher frequency components, leading to a rounded waveform.
  • Another participant suggests that the exact shape of the sound wave produced by a speaker depends on its design and characteristics.
  • There is a mention of shock waves being able to approximate square shapes more closely than sound waves produced by speakers.

Areas of Agreement / Disagreement

Participants generally agree that square waves cannot be perfectly reproduced by speakers due to physical constraints. However, there are multiple competing views regarding the nature of the approximated waveforms and the implications of these approximations on sound perception.

Contextual Notes

Limitations include the dependence on the specific design of speakers, the influence of the surrounding environment on sound propagation, and the complexities of human auditory perception which may not align with idealized waveforms.

Zane_C
Messages
4
Reaction score
0
Hello everyone :smile:, after spending many hours watching youtube videos, reading wikipedia articles and other related material, I came to the conclusion that my best hope at understanding this is to have an explanation personally explained to me, and I trust this is the right place to ask for help. I've recently been playing around with sound synthesizers, and have since been puzzled by waveforms with jagged edges, such as square, rectangular, or sawtooth. I'll further address my question below, and I give my sincere thanks to anyone who responds. :smile:

What I know:
I'm aware that a sound wave does not literally travel through the air looking like a square, rectangle, sawtooth, or whatever the waveform is for that matter. Sound waves travel as longitudinal waves, and what is described as the 'waveform' is actually a function of the intensity of air pressure graphed against time. I am comfortable with the workings of a speaker, so when I say 'speaker' I'm only addressing the movement of the diaphragm.

Why I'm confused:
I'm confused because I don't understand how the maximum pressure of a sound wave can be instantly achieved, then sustained for a desired time, and then instantly dropped back to the original pressure. For any sound wave, wouldn't there always be a gradient leading up to the maximum, as well as a gradient when dropping back to the minimum? I thought maybe it's just very steep (<90 degrees) and therefore can appear as a square.

(here is an animation of a longitudinal wave pulse to help you visualize)

How would the diaphragm of a speaker sustain that top section of a square wave? I thought perhaps the diaphragm would have to be expanding outwards for the duration of the entire sustaining time.

I'm convinced that I'm over thinking this and will probably just embarrass myself, and for simplicity sake, I hope that's the case...

One attempt I made to explain these waveforms is that square/rectangular/sawtooth waves are a sinusoidal wave enveloped in such a shape, or multiple sinusoidal waves superimposed on each other. In which case the resulting wave wouldn't be perfectly shaped, unless some troughs/peaks canceled each other out. But wouldn't this require more than one speaker to create the multiple sinusoidal waves that superimpose each other? Clearly it doesn't work this way, because an earphone with only one diaphragm can produce seemingly every sound imaginable.

It will mean so much to me if someone can give me a satisfactory response, I can't listen to music anymore with this thought on my mind XD.

Thanks again for taking the time to read! Very much appreciated. :smile::thumbs:
 
Physics news on Phys.org
It can't. You may input a square or triangular or sawtooth wave but the speaker is always going to be approximating that, so there will be some finite slope and some finite acceleration when the signal changes direction.
 
Square waves are a useful idealization that cannot be exactly achieved in practice. In physics, we make use of many idealizations like this: frictionless surfaces, massless strings, ideal gases, etc.
 
Thanks for the replies. As for this approximated wave, if you were to zoom right in on the approximation of a square wave, would it be composed of an enveloped sinusoidal wave(s), or will it be square-shaped for the most part (with the exception of the 2 rising and falling edges)?
 
The answer depends on the whole "system" you are discussing. A speaker is designed so the displacement of the speaker cone follows (as closely as possible) the voltage of the electrical signal sent to it. You can certainly generate electrical signals that are very close to "exact" square waves (e.g the rise and fall time is only a few nanoseconds, and the "top" of the wave is "flat" to within a tiny fraction of a percent).

The speaker cone wlll not follow that electrical square wave "exactly" because of its own mass (inertia) and the springiness of the speaker itself and the air it is pushing around. But that doesn't matter too much, so long as the most of the "error" is at frequencies that are too high for you to hear.

What happens to the sound wave in the air also depends on the complete system. For example, "in the ear" earphones (earbuds) have a good airtight seal between the phone and your ear, so if the phone moves suddenly to compress the trapped air and then stays in that position, the air stays compressed. On the other hand, a speaker in a room produces a "pulse" of air pressure as it moves, and that then decays away as it travels outwards, is reflected from the walls of the room, etc.

In principle it's possible to calculate how the pressure would change at any position in the room containing the speaker, and the changes would be different at every different position. But that doesn't really correspond to "what you hear". You have two ears, their sensitivity to sound is directional, they are not in the same position in space (and they move as you move your head, either consciously or subconsciously), your head and body affect the way the sound is transmitted through the air, sound can also be transmitted through your body and not directly through the air, etc, etc ...

Hearing doesn't work like a measuring instrument in a lab. You brain interprests the signals it receives from your ears. Your brain doesn't automatically "know" what a square wave is "supposed to sound like", but if you listen to something that you think is a square wave, your brain can learn to recognize it when you hear it again.

There is a lot of skill in getting a recording of a sound played back through a speaker system to sound "the same as the original". It's a combination of pure physics, psychoacoustics (i.e. the study of "how people hear", and practical experience. Just focusing on the physics is only one part of the complete explanation - and often a relatively small port.
 
Last edited:
The exact shape would depend on how the loudspeaker was designed, but one possibility is that it might look something like this:

500px-Gibbs_phenomenon_50.svg.png
 
This helped a lot, thanks a lot AlephZero for the big response and DrGreg for the wave pic. :smile:
 
A square wave is a composite of an infinite number of sine waves (see Fourier Analysis) and actual physical systems cannot reproduce the higher frequency components, which is why it ends up looking something like what DrGreg just drew.

If the system has a LOT of inertia, then it would be even more rounded.
 
nature just likes to be more linear square waves and other interesting synthesizer sounds are more the tings we like to make...
 
  • #10
AlephZero said:
The answer depends on the whole "system" you are discussing. A speaker is designed so the displacement of the speaker cone follows (as closely as possible) the voltage of the electrical signal sent to it. You can certainly generate electrical signals that are very close to "exact" square waves (e.g the rise and fall time is only a few nanoseconds, and the "top" of the wave is "flat" to within a tiny fraction of a percent).

The speaker cone wlll not follow that electrical square wave "exactly" because of its own mass (inertia) and the springiness of the speaker itself and the air it is pushing around. But that doesn't matter too much, so long as the most of the "error" is at frequencies that are too high for you to hear.

Actually, in general, the speaker cone will follow something a little closer to the integral of the waveform you send to it - if you send a square wave to the speaker, the ideal speaker displacement would look something like a triangle wave (although a real speaker would round off the points of the triangle wave, since it can't accelerate infinitely fast at the turnaround points). The air pressure produced by the speaker will follow the input electrical waveform fairly well, but the actual displacement of the speaker will look quite different.
 
  • #11
A shock wave can be pretty darn close to square.
 
  • #12
voko said:
A shock wave can be pretty darn close to square.

Sure, but I would hope a speaker wouldn't be putting out shock waves...
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 49 ·
2
Replies
49
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
22K
  • · Replies 22 ·
Replies
22
Views
22K
  • · Replies 5 ·
Replies
5
Views
2K