Pink noise generator

Choose a frequency band, check a channel, and save a repeatable test signal. Pink noise has equal energy per octave, not a flat power spectrum per hertz.

Before playing: lower your system volume. Web Audio plays generated sound through your system-selected output; it reads the audio context’s sample rate. No microphone, recording, device list, output picker, or permission prompt is used. Processing stays on this page, with no requests made by this tool. Stop, Reset, or hiding this tab ends playback.
1. Shape the signal

Limits are 20–20,000 Hz, at least 10 Hz apart. Channel routing needs a stereo output; system mono audio can combine channels.

2. Set playback

Live level control. This is a sample-peak limit, not a loudness or SPL setting. Hardware volume still determines how loud it sounds. Stop fades out over 0.15 seconds.

Ready: no audio is playing.

Digital signal verification

Generate a signal to see its measured peak, RMS, spectral slope, and octave energy. Analyze silently uses no audio output.

Save a WAV

16-bit PCM. Uses the band, seed, channels, rate, level, and fade above. Longer files repeat the source cycle. Fades shorten to half the file if needed. Stop playback to prepare a file.

How to read the signal and use it

Equal energy per octave: 100–200 Hz and 1,000–2,000 Hz carry approximately the same power. Power per hertz falls as 1/f (−3.0103 dB per octave); spectral amplitude falls as 1/√f. Pink noise is not flat on an equal-width frequency-bin spectrum.

This generator assigns random phases to frequency bins, uses 1/√f amplitudes inside your band, and transforms them into a periodic waveform. DC and Nyquist bins are zero. A common scale bounds all channels’ sample peaks without a clipping limiter. A seed repeats the same source for the same band, rate, and route. The 262,144-sample cycle repeats about every 5.5–5.9 seconds; it is not a never-repeating random stream.

Verification uses a forward FFT of the actual Float32 samples over one whole cycle, without a window. The slope is a least-squares fit of bin power in dB against log₂ frequency. Full octave bands start at your lower limit; partial final octaves are omitted. Finite bin spacing causes small energy differences. Stereo octave results average both channels’ power. Fades, finite WAV boundaries, DC correction, and 16-bit rounding can change the exported spectrum.

For a channel check, start at low system volume, select Left only, listen briefly, stop, then repeat with Right only using the same seed. A difference is a listening observation: check balance, cables, output routing, and processing in system sound settings. Independent stereo uses separate phases; its measured correlation need not be exactly zero. Acoustic calibration requires suitable external measurement equipment.

Export level: WAV preparation removes the faded file’s mean while keeping both endpoints silent, then reduces gain if necessary to retain the selected peak ceiling. The download reports measurements of the encoded PCM. A tiny mean can remain from 16-bit rounding. No SPL, hearing, medical, or physical speaker-accuracy result is inferred.

Browser support, access, and troubleshooting

Playback needs a browser with Web Audio (current Chrome, Edge, Firefox, and Safari normally provide it), an available system output, and your explicit Play gesture. Silent analysis and WAV generation do not need Web Audio. No secure-context-only device API is used; browser or embedding policies can still prevent playback. Use the HTTPS page in a current browser if playback is blocked.

The only audio device API used is AudioContext with buffer-source and gain nodes. It exposes its sample rate and running/suspended state. This tool does not enumerate speakers, request speaker-selection, use the microphone, or record sound. There is no device permission to revoke. Stop closes the context; Reset also clears generated data and downloads. Audio stops when this tab is hidden or the page is left, and never resumes automatically.

If a browser reports an interruption, reconnect the output and press Play again. A disconnected, absent, or muted speaker is not reliably detectable from Web Audio: a running context does not prove audible output. Check the selected output, tab mute, system volume, mono mode, and audio enhancements yourself. The browser or operating system may resample or mix the output; the source rate and actual context rate are reported separately.

All generation and analysis happen locally in memory. The tool makes no network requests, uploads no device information, and uses no persistent browser storage. Save WAV writes a file only when you choose the download link. Download behavior depends on your browser; some mobile browsers open a preview or share sheet. Reset or leaving the page revokes the temporary download link. Your saved files remain on your device.