3 ms·
There are no real life perfect square waves for the same reason there are no ideal diodes, capacitors etc; you cannot have a perfect vertical cliff because that
by pjc50 7y ago
There are no real life perfect square waves for the same reason there are no ideal diodes, capacitors etc; you cannot have a perfect vertical cliff because that would have infinite slew, and you cannot have perfectly sharp corners because that implies infinite second derivative, etc.
The best you can get is a tight curve into an extremely steep "triangle".
The amplifier driving the speaker has finite slew. The speaker itself is constrained to move at finite speed and cannot accelerate instantly. The air has a finite slew rate - the speed of sound.
Stackexchange has a discussion on trying to determine a maximum frequency in air here: https://physics.stackexchange.com/questions/23418/is-there-an-upper-frequency-limit-to-ultrasound https://physics.stackexchange.com/questions/23418/is-there-a... which leads to all sorts of useful sub-discussions. Attenuation depends on frequency; the higher frequency harmonics are more subject to attenuation in air, as well as reflecting off surfaces and self-interfering.