Back to the blog

Music

White, pink and brown noise, made in your browser.

A sound machine in your browser, with nothing uploaded or downloaded: white, pink and brown noise, rain, waves, a fan and a hum, mixed, with a sleep timer.

By 5 min read

The Tone generator: a 440 Hz sine wave in both ears at 20% volume

Most sound machine sites play the same few minutes of a recording on a loop, between adverts, and ask for an account to keep a mix. KeepSimp's makes every sound on your device as it plays. Here is how it works, and what it does not claim.

Made as it plays, so nothing loops.

Each sound is made sample by sample in an AudioWorklet, a small program the browser runs beside the page for sound. White noise is a fresh random number for every sample; pink, brown and the textures are that noise shaped by filters. There is no file to download and no recording to loop.

A loop of a few seconds can be heard as a pattern after a while, even in noise. Because nothing here repeats, there is no seam to notice, however long it plays. The two ears get noise of their own, so it sounds wide rather than in the middle of your head.

One question first: what is it for?

The page asks whether it is for sleep, focus, calming a baby or blocking out noise. Each answer only chooses a mix, a volume and a sleep timer: brown noise with soft rain for an hour, pink noise until you stop it, quiet white noise for half an hour, or brown and pink together.

Everything else waits under More options: a mixer with every sound at its own level, each sound made darker or brighter, how long it fades in and out, keeping the screen on, and keeping your mix in this browser while that switch is on.

Matched in loudness, so changing never jumps.

White noise sounds far louder than brown noise at the same level, because our ears are less sensitive to low sounds. Each sound here is set to the same loudness, measured by the international broadcast standard's method, so moving from one to another does not make you reach for the volume.

In the mixer, sounds add up as they would in a room, but together they are never allowed to be louder than one sound at full level. Volume then sets the whole mix, and it starts low.

A sleep timer that fades, and what a phone may do.

Choose 15, 30, 60 or 90 minutes or your own. The fade at the end, a minute unless you change it, and the silence after it are set on the audio clock when you press Play, so they come on time even when the browser slows the page's own timers. The timer keeps instants, as KeepSimp's Timer does, so it never drifts.

A phone may pause a page in the background or when the screen locks, and that stops the sound too, so keep the page open. This is not a medical aid and makes no claim about sleep or health. Keep the volume low: the World Health Organization says sound at 60 dB or below can be heard for any length of time.

Further reading

Topics: sound machine · white noise machine · sleep sounds · noise generator · sleep timer · ambient noise mixer · online white noise

A little less theory. A little more doing.

Try it on your own terms, with a free browser tool.

Try the tool