What makes ocean sounds sound like the sea?
Movement. Plain noise can be filtered until it has the color of surf, but it stays perfectly even, and the ear hears static. The sea is three sounds moving at different speeds: a low roll from the far water that never stops, the body of each wave as it rises and breaks, and the bright hiss of foam running up the sand and draining back.
| Layer | What you hear | Range | How it moves |
|---|---|---|---|
| Distant bed | The far water, a low constant roll | Below about 420 Hz | Steady. It never dips, so there is no silence between waves. |
| Surf | The body of each wave | Below about 1.5 kHz | Swells and breaks with the main set of waves. |
| Foam wash | Water running up and draining back | Above about 650 Hz | Follows both sets of waves, brightest at the crest. |
Each wave has a rounded rise, a short crest and a slower retreat, and no two are the same height or length. A second, quieter set of waves moves out of step with the first, so the shoreline never settles into a regular breathing rhythm. If you want the depth of the sea with no movement at all, brown noise is the closest steady sound.
Ocean waves for sleep: what to expect.
Many people find a steady sound easier to fall asleep to than silence, because it makes a door, a voice or a passing car less noticeable. Ocean sounds do that job with a slow rise and fall on top, and that movement is the whole choice: some people find it easy to settle into, and others notice every wave.
Two practical points. Set the volume while a wave is breaking, not in a lull, so the loudest moments stay comfortable. And if a noisy room keeps getting through in the quiet stretch between waves, a sound with no gaps covers more: heavy rain is dense and continuous, and brown noise is steady and deep.
Why generated waves beat a looped recording.
A recording of the sea is one beach, on one day, with that day's wind, gulls and passers-by baked in. It also has to loop, and waves make loops easy to hear: the ear remembers a big wave, and when the same one comes back on schedule it becomes the thing you wait for.
Nothing here is a clip. Every wave is drawn at random, with its own height, length, rise and retreat, in two sets of different lengths: four waves over 30 seconds and five over a little more than 37. The water texture underneath comes from two noise layers of 30 seconds and 37 seconds plus one sample. The layers themselves are finite, but because their lengths share no common factor, the pattern of waves does not repeat for about 103 days, and the texture under it does not line up again for about 283 days at the 22.05 kHz rate this player runs at. The two cycles are out of step with each other too, so the complete sound takes far longer than either to come back to the same point.
How this generator actually works.
Two white noise layers are mixed at half level each and split three ways: a low-pass at 420 Hz at a fixed level for the distant bed, a low-pass at 1.5 kHz for the surf, and a high-pass at 650 Hz for the foam. Every filter is a gentle Butterworth slope, so nothing rings or whistles.
The waves themselves are control signals, not audio: slow envelopes that raise and lower the surf and foam levels. Each wave rises along a smooth curve over roughly a quarter to a third of its length, holds a short crest and falls away more slowly. Each set starts at a random point in its cycle, and the wave that crosses the loop point wraps around it, so the swell continues through the join with no dip. The second set moves the surf at about a third of the main set's depth and also feeds the foam, so the wash keeps moving between the big waves.
The mix ends on a low-pass at 3.8 kHz, which keeps the top end soft, and a high-pass at 45 Hz that removes sub-bass rumble. Its level is matched to the rain player with the same loudness measurement, so moving between the two does not change how loud things are at the same volume setting. Everything is generated in a fraction of a second while the page is idle, so play usually starts at once.
Try the other sounds.
If waves are not the right texture, try light or heavy rain, or a steady sound for the same job: brown is deep and even, pink is softer on top, and seven fans add a slow sweep. Or compare all six noise colors side by side.