About Noise Generator

Generate ambient noise for focus, sleep, or relaxation using the Web Audio API. Choose from six sound profiles—white noise, brown noise, pink noise, rain, ocean waves, and forest ambience—each synthesized client-side with distinct algorithms. White noise uses uniform random samples; brown noise applies a leaky integrator for bass emphasis; pink noise uses a Voss-McCartney filter with 7 state variables. Nature sounds layer filtered noise with periodic modulation and random transients. Configurable fade in/out, volume control, and auto-stop timer up to 8 hours.

  • Six noise types: white (flat spectrum), brown (1/f²), pink (1/f), rain, ocean, forest
  • Brown noise uses a leaky integrator with 3.5x gain compensation
  • Pink noise implemented with Paul Kellet’s 7-coefficient approximation
  • Rain adds random amplitude spikes (0.1% chance per sample) over low-pass filtered noise
  • Ocean modulates noise amplitude with a 0.1 Hz sine wave for rhythmic wave effect
  • Timer presets: 15, 30, 45, 60, 90, 120 minutes, or custom up to 480 minutes
  • Configurable fade-in and fade-out durations (0–10 seconds)

Frequently Asked Questions

What is the difference between white, pink, and brown noise?
White noise has equal energy at every frequency—it sounds like static. Pink noise rolls off at 3 dB per octave, sounding more balanced and natural (like steady rainfall). Brown noise drops 6 dB per octave, producing a deep rumble similar to a waterfall or strong wind. Most people find brown noise most comfortable for sleep.
Are these real recordings or synthesized?
Fully synthesized. The audio buffer is generated algorithmically at the system sample rate and looped. No audio files are downloaded. This means zero loading time and infinite playback without repetition artifacts.

Related Tools

All Media tools