Brown Noise Generator
Free, browser-only brown (or red) noise generator using a leaky-integrator filter for −6 dB / octave power roll-off — deeper and rumblier than white or pink. Live log-frequency spectrum with a static −6 dB/oct slope reference, real-time measured slope readout, A/B/C color comparison across white / pink / brown, sleep timer (15 / 30 / 60 min), and WAV download. Commonly used for ADHD focus, deep relaxation, sleep, and audio testing in the low-frequency bands.
Playback
Live measurements
Sleep timer
Download WAV
Brown Noise — What It Is and Where to Use It
Brown noise — also called red noise — is a random signal whose power falls off at −6 dB per octave, or equivalently as 1/f². That's twice the per-octave roll-off of pink (−3 dB/oct) and an enormous shift from white (flat per Hz). To the ear, brown is the deepest, rumbliest, most ocean-like of the standard noise colours. The bulk of its energy sits in the bass and sub-bass region.
The name “brown”
Despite the colour analogy with white and pink, brown noise isn't named for a colour at all — it's named after Robert Brown, the 19th-century botanist who described the random walk of pollen particles in water. Mathematically, brown noise is generated by integrating a white-noise process — the same operation that turns instantaneous random impulses into Brownian motion. The integration step is what produces the 1/f² spectral slope.
How this generator works
White noise is fed through a leaky integrator: each output sample is a small weighted addition of the latest white sample to a slowly-decaying memory of past samples (output = (last + 0.02 · white) · 0.997). The decay term keeps the signal bounded; the integration is what carves the −6 dB/oct slope. The output is multiplied by 2.0 and clamped to ±1 for the buffer — the clamp fires on roughly 0.04% of samples (verified in Node), well below the threshold where clipping would distort the spectral character.
Reading the spectrum
The plot above uses a log-frequency X axis. Brown noise's per-bin power drops at −6 dB / octave, so the bars slope steeply downward from left to right — visibly twice as steep as the same plot would show for pink noise. The dashed cyan line is the textbook −6 dB/oct reference, auto-anchored on the first frame of valid spectrum data so it visually sits on top of the live bars at 1 kHz; if the bars track that line across the X range you have a clean brown signal. The Measured slope readout fits a least-squares line through the bars in real time and reports the actual dB/oct slope — expect convergence to about −6.0 within a few frames.
Common uses
- ADHD focus and deep concentration — the gentler high-frequency content (compared to white or even pink) is less stimulating to the auditory cortex; many adults with ADHD report brown noise dramatically reduces internal distraction.
- Sleep and deep relaxation — the bass-heavy texture resembles distant thunder, ocean surf, or a low ventilation hum, all of which the brain treats as “safe” ambient.
- Tinnitus masking — for low-frequency tinnitus the spectral overlap with brown's energy region can provide better masking than higher-pitched noise colours.
- Low-frequency speaker / subwoofer testing — brown excites the sub-100 Hz region much more than white or pink, useful for checking sub response, port tuning, and room modes that show up only when you push real energy into the band.
About the “Compare colors” button
Three seconds each of white, pink, and brown in sequence so you can hear the perceptual shift — bright hiss → balanced shower → deep rumble. The slope readout and the visible spectrum reorganise in real time as each colour plays. Each colour uses its own generator: white via Math.random(), pink via Paul Kellet's six-pole IIR cascade (−3 dB/oct), and brown via the leaky integrator described above (−6 dB/oct).