White, Pink & Brown Noise
Pick a sound, press play. Loops forever, generated live in your browser.
Choosing a sound, timer and volume
- Choose a Sound. The page opens on brown noise, the deepest of the three, with the volume at 40%.
- 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.
- 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.
- 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.
In short
Each sound is made in your browser from a four-second buffer of random values that loops without a click, so nothing is downloaded. Brown noise is deeper and softer than white, and pink sits in between. The sleep timer stops the sound without a fade, so start at a volume you are comfortable with.
Frequently asked questions
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.
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.
Our test: can the sound distort with the volume slider at the top?
Play and Stop were pressed 100 times for each sound in headless Chromium 153.0.8010.12, so the page built 300 fresh four-second buffers. We recorded each buffer exactly as the page handed it to the browser's audio engine (by wrapping the Web Audio start call) and found its highest peak. Our test browser ran its audio at 44,100 samples per second, so each sound gave 17,640,000 samples. The volume slider multiplies the signal by its value, so at 100% these peaks reach the output unchanged; 100% of full scale is the loudest value the output can carry before it clips.
| Sound | Average peak | Highest peak | Samples over 90% | Samples over full scale |
|---|---|---|---|---|
| White | 50.0% | 50.0% | 0 | 0 |
| Pink | 80.9% | 100.7% | 11 | 1 |
| Brown | 85.5% | 99.7% | 55 | 0 |
What it means: white noise never came near the limit, and brown stayed just below it in all 100 buffers. Pink went past full scale on a single sample out of 17.6 million, by about 0.1 dB. At the default 40% volume the highest peak of any sound was about 40% of full scale, so there is plenty of headroom. If the sound distorts on your device, the cause is more likely the speaker or system volume than the generated signal.
Our test: when does the sleep timer stop, and what restarts it?
We opened this page in headless Chromium 157.0.8103.78 with a simulated page clock for the timer tests, so each timer ran to the end without a real eight-hour wait. For every timer length we pressed Play and read the countdown and the button at five points: at the start, at the halfway mark, with one minute left, one second before the end and at the end. The table shows three of them; all five are in the CSV.
| Timer | Countdown at the start | One second before the end | At the full length |
|---|---|---|---|
| 15 min | Stops in 15:00 | Stops in 0:01, button still Stop | Button back to Play |
| 30 min | Stops in 30:00 | Stops in 0:01, button still Stop | Button back to Play |
| 1 hour | Stops in 60:00 | Stops in 0:01, button still Stop | Button back to Play |
| 2 hours | Stops in 120:00 | Stops in 0:01, button still Stop | Button back to Play |
| 8 hours | Stops in 480:00 | Stops in 0:01, button still Stop | Button back to Play |
The countdown ran for the full length you chose, not less; at that moment it disappeared, playback stopped and the button went back to Play. The halfway readings were exact (for example "Stops in 7:30" for 15 minutes). The countdown always shows minutes and seconds, so the 2-hour timer starts at 120:00 rather than 2:00:00. This test used a simulated clock, so it does not cover a browser that pauses a tab when the screen locks.
Next we started a 30-minute timer and let it run for 10 minutes, so it read "Stops in 20:00". Moving the volume from 40% to 80% did not touch it (19:59 a second later). Switching from brown to pink noise put it back to 29:59, and ten minutes after that switch, changing the timer to 15 minutes read 14:59 a second later. Switching from brown to pink and changing the timer each restarted the countdown; moving the volume did not.
Switching the sound while it plays stops the old sound and builds a new four-second buffer before starting again. Over 150 switches (50 to each sound, at 44,100 samples per second, on our test machine, timed on the real clock rather than the simulated one) the page took 2.2 to 10.1 ms between stopping the old sound and starting the new one, with a median of 3.5 ms for white, 4.6 ms for pink and 3.7 ms for brown. The break you hear also includes your device's audio output delay, which we did not measure.
The readings are in three CSV files with header rows: timer checkpoints, what restarts the countdown and 150 sound switches.
More details
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 distant engine or a heavy river, and is a common choice for focus and sleep.
Tips
- Keep the volume low enough to talk over it comfortably.
- Use the sleep timer so the sound stops by itself after you fall asleep.
- On phones, keep the screen on or the tab open; some browsers pause sound in the background.
How each noise color is generated
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:
- White: each sample is a random value between -1 and 1, halved. Every sample is independent of the one before, which is why the energy is spread evenly across the spectrum and the sound is bright and hissy.
- Brown: each new sample is built from the previous one plus a small random step (a leaky running sum), and the result is scaled up. Because successive samples are strongly related, slow movements dominate and fast ones are weak. The result is a low rumble with very little hiss. The name comes from Brownian motion, not from the color.
- Pink: white noise is passed through a bank of simple filters whose combined effect tilts the balance toward the low end. It lands between the other two: softer than white, lighter than brown.
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. Pink is often compared to steady rainfall and brown to a distant engine or a heavy river, though these are loose comparisons rather than exact matches.
How the four-second loop avoids a 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 may hide it better.
Choosing a sound: masking, studying, sleep and quiet
- Masking a noisy room or neighbors: because white noise has energy at high frequencies, some people use it to cover speech and traffic. Start quiet and raise the volume only until sudden sounds stand out less.
- Studying and reading: some people find a steady pink or brown sound at low volume helps them concentrate. Results vary, so try a session of each and keep whichever you stop noticing fastest.
- Going to sleep: some people find it easier to fall asleep with a low, steady sound. If you try it, keep the level low and pick the 30-minute or 1-hour timer; use 8 hours only if you want it on all night. The tool makes no promise that it will improve sleep.
- Tinnitus or racing thoughts: some people find a constant sound easier to live with than silence. This is personal preference, and this tool is not medical advice or a treatment; talk to a clinician about ongoing symptoms.
- Babies and young children: if you play sound near an infant, keep the volume low and the speaker well away from the child's ears, and ask your pediatrician about safe levels and safe-sleep guidance. This page cannot judge what level is safe for your device.
Volume, fade-out, locked screens and speaker limits
- The sleep timer stops the sound at once when the countdown ends. There is no gradual fade-out, so choose a low volume you are comfortable with.
- Browsers only allow audio after a click or tap, which is why the page never starts on its own.
- The sound is generated again each time you press Play, so no two sessions use exactly the same buffer.
- Laptop and phone speakers cut off the lowest frequencies, so brown noise may sound thinner than it does on headphones or a larger speaker. Do not turn the volume up to compensate; loud, long listening can harm hearing.
- Some mobile browsers suspend a tab's audio when the screen locks or you switch apps. If the sound stops, return to the tab and press Play again.
More questions
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 synthesized in your browser, so a dropped connection will not interrupt it.