🌿

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 focus work, and sleep noise masking — all generated via the Web Audio API with no plugins required.

Playback

Brown noise's low-frequency emphasis can drive sub-bass speakers hard at high levels. Start moderate.
Idle — press Play.

Live measurements

Current color
white / pink / brown
Sample rate
AudioContext.sampleRate
Measured slope
least-squares dB/oct — brown ≈ −6
Average level
mean dB across all bars

Sleep timer

Time remaining
—:——
Audio fades over the last 4 seconds so you aren't jolted by an abrupt cutoff.

Download WAV

Length
16-bit PCM mono brown noise (leaky integrator, gain 2.0) at the audio context's sample rate. 60 s briefly freezes the UI (~250 ms) while filling the buffer.
Generated locally — never uploaded.
Live FFT spectrum — 48 bars, log frequency (20 Hz → Nyquist) · cyan dash = ideal −6 dB/oct

Share or embed this tool

Free to use on your own website — WordPress, Wix, or any platform. Paste one line and it works instantly, resizing to fit.


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. The low-frequency bias acts as a broadband masker for conversational speech and keyboard sounds without the harshness of flat-spectrum white noise.
  • 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. It is also used as a sleep aid for infants and toddlers, though for that use case a moderate volume (well below 50 dB SPL at the ear) is especially important.
  • Tinnitus masking — for low-pitched or low-frequency tinnitus, brown noise's spectral concentration in the bass and sub-bass region often provides better masking than pink or white. To find the exact frequency of your tinnitus before choosing a masker, the tinnitus frequency matcher can help pinpoint the tone so you can select the most effective noise colour.
  • 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 only appear when you push real low-frequency energy into the band. Pair the broadband brown noise test with the room mode calculator to identify which specific low frequencies your room dimensions resonate at.
  • Stochastic synthesis and generative music — brown noise's 1/f² random walk shares statistical properties with many natural processes (river flow, financial prices, geological formations), making it a building-block for generative patches that want organic, slowly-wandering modulation.

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).

Frequently Asked Questions

Why does the spectrum slope downward instead of being flat?
Because that's the defining property of brown noise — power falls off at −6 dB per octave. On a log-frequency axis, each octave is the same horizontal distance, so the constant −6 dB-per-octave drop shows up as a straight downward line. The cyan dashed reference is the textbook ideal, auto-anchored to the measured level at 1 kHz on the first frame; the live bars should track it closely. The Measured slope readout converges to about −6.0 dB/oct within a few frames.
Is “brown noise” the same as “red noise”?
Yes — the two names are interchangeable. The audio community typically says “brown” (after Robert Brown / Brownian motion); the climate-science and physics communities often say “red” (as the analogue of red light in the optical-frequency analogy). The signal itself is identical.
Why is brown noise so often recommended for ADHD focus?
The conventional explanation: the bass-heavy spectrum gives the auditory cortex a steady, non-stimulating “floor” that masks intrusions without itself becoming an attention magnet. White noise's high-frequency hiss tends to keep the high-frequency-sensitive parts of the auditory system more activated; brown's low-frequency dominance lets those circuits relax. Individual results vary — the Compare button is there precisely so you can pick what works.
Is the 2-second loop noticeable?
Internally the audio plays a 2-second buffer of independently-integrated random samples on loop. Statistically the loop is detectable; perceptually it isn't — brown's spectrum is featureless and the brain has nothing to latch onto. For very long sessions a downloaded 60-second WAV looped with crossfade in a media player has even less periodicity.
What does the “sleep timer” actually do?
Counts down 15, 30, or 60 minutes from when audio actually starts playing (arming it while idle, then pressing Play, resets the countdown). Audio fades smoothly over the last 4 seconds rather than cutting off abruptly. The countdown runs on the browser's wall clock so a brief tab-suspend doesn't drift it; closing the tab cancels it entirely.
Is brown noise safe for long listening?
At moderate levels (typically <50 dB SPL at the listening position) the risk is very low — in some respects brown is gentler than white because the high-frequency energy that drives auditory fatigue is sharply attenuated. The actual risk with any noise is sustained high-volume exposure. Start moderate, increase only to mask intrusions, and keep the source about a metre away rather than next to your ear. For infants the same conservative levels apply.
Will brown noise damage my speakers or subwoofer?
Not at sensible levels. Brown does concentrate energy in the low end, so if you push the volume on a small speaker not designed for sub-bass, you may hear the cone bottoming or the port chuffing — that's mechanical strain, back off. On a properly-rated subwoofer or large monitor, brown at moderate level is no worse than any low-content material (a film score mixed with a lot of LFE, for example).
Does it work offline?
Yes — once the page is loaded, all noise generation, the live spectrum, the sleep timer, and the WAV download work fully offline. Nothing is uploaded or fetched after page load.
What is the difference between brown noise and pink noise for sleep?
Pink noise rolls off at −3 dB per octave, giving a balanced mid-range presence that some people find natural (similar to steady rain). Brown noise rolls off at −6 dB per octave, concentrating almost all energy in the bass — it sounds like distant thunder or a deep engine hum. For sleep, brown tends to suit people who want something lower-pitched and less "hissy"; pink suits those who prefer a brighter, shower-like texture. The Compare button on this page lets you audition both back-to-back to find what works for you.
Is brown noise safe for babies and infants?
The main guideline from pediatric sleep researchers is volume, not colour: keep any noise source below roughly 50 dB SPL at the infant's ear position, place the speaker at least 1–2 metres away, and avoid running it at full blast all night. Brown noise's low-frequency emphasis is no inherently riskier than white or pink at the same measured level — but because its bass content can feel "quieter" even when it is not, use an SPL meter or phone app to verify the actual level rather than trusting your perception alone.
How is brown noise different from a bass boost on white noise?
Superficially similar, but spectrally different. Applying a fixed shelf boost to white noise raises the low end by a fixed dB amount at all frequencies below the shelf corner, leaving the high end unaffected above it. Brown noise's power decreases continuously at 6 dB for every doubling of frequency across the entire spectrum — there is no flat region at all. A bass-boosted white noise still has significant high-frequency energy; genuine brown noise has almost none. This tool generates true Brownian (1/f²) noise via a leaky-integrator filter, not a shelved white source.