Drop your phone in water and the speaker goes muffled. The usual advice — rice, hair dryer, waiting two days — mostly doesn't work. What does work, surprisingly often, is sound itself: play the right low-frequency tone and the speaker pushes the water out of its own grille.
This post explains why it works, and how little code it takes to build with the Web Audio API.
Why 165Hz?
A phone speaker is a tiny diaphragm driven by a voice coil. When it vibrates, it moves air — and anything sitting on it, including water droplets trapped in the speaker mesh.
Low frequencies move the diaphragm the furthest. At 165Hz the membrane swings with enough displacement to physically push droplets out through the grille openings. Higher frequencies (say 5,000Hz) vibrate faster but with tiny displacement — they move air, not water. That's why speaker-cleaning tones sit in the low range, roughly 100–200Hz, and why 165Hz has become the standard starting point.
It is the same principl
Discussion
Your thoughts matter!
Your input is valuable—be the first to share it!