Skip to content
UniKit

Ambient sound generator

Synthesise white, pink and brown noise plus rain, ocean and wind soundscapes with deterministic algorithms, loop them seamlessly and download the 16-bit WAV segment.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Soundscape

1–30 seconds: this is the audio actually generated and looped, and the length of the downloadable WAV.

1–120 minutes: only controls how long the loop plays, no extra audio is generated.

The noise is derived from the seed; the same seed and settings produce exactly the same samples.

50%
The download is the seamless loop (1–30 seconds), not the full multi-minute track.

Parameters and synthesis

RMS, peak and zero crossing rate are measured from the generated samples, not estimated.

Soundscape: rain — white noise + 40–160 ms random gain blocks
Loop segment: 10 s (441000 samples, seamless loop)
Playback: 30 min (looped playback, no extra audio generated)
Sample rate: 44100 Hz
Volume: 0.5 (peak -6.02 dBFS)
Seam crossfade: 50 ms
Seed: unikit
Synthesis: RMS 0.1936 / peak 0.45 / 22051 zero crossings per second
WAV size: 861.4 KiB (16-bit mono, one loop segment only)

Soundscape: Rain · Samples: 441000 · WAV bytes: 882044 · RMS: 0.1936 · Peak: 0.45 · Zero crossings/s: 22051 · Seed: unikit

What this tool does

  • Play white or pink noise as a background floor while studying or working to mask speech that comes and goes, with your own volume and duration.
  • Loop rain or ocean waves while falling asleep: the segment is crossfaded at the seam, so the loop point never clicks.
  • Download the 1–30 second 16-bit WAV loop and drop it into an audio editor or a video project.

Example

Input

soundscape rain, loop 10 seconds, playback 30 minutes, volume 0.5, sample rate 44100 Hz, seed unikit

Output

Soundscape: rain — white noise + 40–160 ms random gain blocks
Loop segment: 10 s (441000 samples, seamless loop)
Playback: 30 min (looped playback, no extra audio generated)
Sample rate: 44100 Hz
Volume: 0.5 (peak -6.02 dBFS)
Seam crossfade: 50 ms
Seed: unikit
Synthesis: RMS 0.1936 / peak 0.45 / 22051 zero crossings per second
WAV size: 861.4 KiB (16-bit mono, one loop segment only)

Every statistic is measured on the samples that were actually generated; another seed changes RMS, peak and zero crossing rate, and stays reproducible.

Frequently asked questions

Where does the sound come from? Is any recorded audio used?

No audio assets are shipped: everything is synthesised. White noise is a uniform random sequence, pink noise uses Paul Kellet's seven pole approximation (about 1/f), brown noise is a leaky integration of white noise (about 1/f²), rain adds 40–160 ms random gain blocks to white noise, waves modulate brown noise with a roughly nine second envelope, and wind varies the low pass coefficient of brown noise. That removes any sample licensing question and makes the output fully reproducible.

How does it compare with real recordings?

The difference is audible: synthesised noise is an even floor, rain has no individual droplets and the waves carry no foam or pebbles. Its value is endless seamless looping, adjustable parameters, a small footprint and no network use. For authentic ambience use a field recording.

Does the loop click at the seam?

No. Extra audio (50 ms by default) is generated past the end of the segment and crossfaded into the beginning, so the signal stays continuous when it wraps. The RMS and zero crossings per second in the summary are the real statistics of the generated buffer.

Why separate the loop length from the playback length?

Generating thirty minutes of audio would be slow and memory heavy (16-bit mono at 44100 Hz is about 86 KB per second), so only a 1–30 second loopable segment is generated and Web Audio loops it, while the playback length just decides how long to loop (1–120 minutes). The download is that same segment, not a multi-minute track.

What are the limits?

No recorded sources, no stereo or spatial processing, no denoising or equalisation, and the download contains a single loop segment. Loud playback for a long time can still damage your hearing, so lower the volume and take breaks; this is not a medical device and cannot diagnose sleep or tinnitus problems.

Keywords:ambient noise generator

Related tools