# Does a square wave "smooth out" in the air?

I understand that playing a square wave from speakers cannot produce a PERFECTLY sharp division between compression and rarefaction. But it's sharp enough to sound distinctly different from a sine wave. As it travels, does the wave "smoosh out" even further as it travels, changing from a square wave into something closer to a sine wave?

• The rectangular wave has a frequency representation (sinc function if I am not mistaken), and if there is no dispersion, these frequency components all attenuate similarly, and so the original shape, too, is unchanged. Now, obviously in some cases you do notice that some frequencies behave differently from others (you will find, by playing a sine-wave in your room, that some frequencies resonate much more strongly than others), and as such, in general, the square wave will be distorted. Not a smooshing, though: When I listen to music from far away, it does not sound like a single sine wave Aug 7, 2014 at 21:46
• Try plotting it: a square wave is formed by the infinite sum of waves with integral multiples of the fundamental frequency. The more frequencies you add, the more the sine shape resembles a square. Since air is dispersive, the square will be deformed, especially for the higher frequencies. Higher frequencies affect the edges of the waveform, therefore the edges will soften as you lose supersonic frequencies. Aug 7, 2014 at 22:15