White, Pink & Brown Noise

Pick a sound, press play. Loops forever, generated live in your browser.

White, pink or brown noise?

White noise has equal energy at every frequency, like a hiss or a fan — good for masking speech. Pink noise has more energy in the low frequencies, like steady rain, and many people find it softer. Brown noise is deeper still, like a strong waterfall or distant thunder, and is a common choice for focus and sleep.

Tips

FAQ

Is this safe for babies?

Keep any sound machine at a low volume and well away from the baby’s ears. Ask your pediatrician about recommended levels.

Does it use data?

No. The noise is generated on your device, so there is nothing to stream after the page loads.

Why is there no sound?

Check your device volume and silent switch, then press Play again — browsers only start audio after you click.

How to use the noise generator

  1. Choose a Sound. The page opens on brown noise, the deepest of the three, with the volume at 40%.
  2. Set the Sleep timer if you want one: 15 minutes, 30 minutes, 1 hour, 2 hours or 8 hours. Leave it on Off to play until you stop it.
  3. Press Play. The button turns into Stop, and when a timer is set a countdown such as "Stops in 29:41" appears next to it.
  4. Move the Volume slider at any time. It changes the level live without interrupting the sound.

Changing the Sound or the Sleep timer while audio is playing restarts playback with the new choice, and the timer countdown starts again from the full length you picked. Set the timer before you press Play if you want the countdown to be exact.

What the page actually does to make the sound

Nothing is downloaded. When you press Play the page asks your browser's Web Audio engine for a four-second mono buffer and fills it, sample by sample, with random numbers. That buffer is then set to loop for as long as you listen. Each of the three sounds is a different recipe applied to the same stream of random values:

Technically the three differ in how fast the power falls as frequency rises. White stays flat, pink falls by about 3 dB per octave and brown by about 6 dB per octave. In practice that means pink is a good match for steady rainfall or wind in leaves, and brown for a distant engine or a heavy river.

Why the loop does not click

A four-second recording repeated forever can produce a faint tick every time it wraps around. To prevent that, the first 2,000 samples of the buffer are blended with the last 2,000, so the end flows into the start. At typical sample rates of 44.1 or 48 kHz this blend lasts roughly 40 to 45 milliseconds. Because the noise is random, the loop has no melody or pattern to recognise; some listeners with sensitive ears may notice a very slight rhythm every four seconds with white noise. If so, switch to pink or brown, which hide it better.

Choosing a sound for the job

Tips and limits

More questions

Is brown noise the same as red noise?

The two names are used for the same kind of noise, the one whose power drops steeply as frequency rises. "Brown" is the more common label for sleep and focus audio.

Why does the sound change when I switch type?

Switching builds a brand-new buffer with a different recipe and restarts playback, so you hear a short break rather than a smooth morph. The volume setting is kept.

Does it work without a connection?

After the page has loaded, yes. The audio is synthesised in your browser, so a dropped connection will not interrupt it.