Binaural Noise Synthesizer
Create deterministic binaural beats with white, pink, or brown noise
About
Client-side binaural beat synthesis with guarded Web Audio playback, carrier frequency controls, colored noise previews, and reproducible seeded samples.
Examples
Alpha-band beat
calculateBeatFrequency(220, 230) + presetFrequencies("alpha"){ beat: 10, leftFrequency: 220, rightFrequency: 230 }Alpha maps to a 10 Hz beat on a 220 Hz carrier — the difference is the perceived pulse.
Seeded pink preview
generateBinauralSamples({ leftFrequency: 220, rightFrequency: 226, noiseColor: "pink", seed: 7, sampleRate: 100, durationSeconds: 0.5 }){ length: 50, every |sample| <= 1, same seed → identical array }Same options always return the same 50 samples, clamped to [-1, 1].
About this tool
Binaural Noise Synthesizer renders stereo focus audio with generateBinauralSamples({ leftFrequency, rightFrequency, noiseColor, seed, sampleRate, durationSeconds, noiseMix }): each channel plays a sine at its own frequency while a seeded noise bed mixes underneath, and calculateBeatFrequency(left, right) reports the perceived beat as the absolute difference |left - right| (0 for non-finite input).
Noise color comes from generateNoise(length, color, seed), a deterministic Mulberry32 sequence: white outputs the raw uniform sample, pink smooths with coefficient 0.86 scaled by 2.8, brown smooths harder with 0.985 scaled by 8, and every colored sample clamps to [-1, 1] so previews never clip.
Five preset bands ship in BINAURAL_PRESETS with presetFrequencies(preset) mapping carrier plus beat: delta 220/222 Hz (beat 2), theta 220/226 (6), alpha 220/230 (10), beta 220/238 (18), gamma 220/260 (40). Sample rate defaults to 200 Hz, duration to 1 s with output capped at 100,000 samples, and noiseMix clamps to [0, 1] with a 0.12 default.
How to use this tool
Pick frequencies
Enter left and right tones, or pick a preset band — the beat readout is |left - right| in Hz.
Shape the bed
Choose white, pink, or brown noise, set noiseMix (0–1), and fix a seed for a repeatable preview.
Set length
Adjust sampleRate and durationSeconds; long renders cap at 100,000 samples.
Preview
Render the Float32Array preview and loop it in the tool player for focus or sleep sessions.
Use cases
Building focus timers
Pair an alpha or beta beat bed with a Pomodoro countdown for calm concentration.
Prototyping sleep audio
Render delta or theta presets with brown noise as a loopable relaxation track.
Testing seeded audio
Use fixed seeds to get deterministic previews for A/B comparisons and snapshots.
Common mistakes
Mistake:Expecting the louder channel to set the beat.
Fix:The beat is always |left - right| regardless of order — 220/230 and 230/220 both give 10 Hz.
Mistake:Assuming brown noise is louder than pink.
Fix:Both are smoothed and clamped versions of the same white source; compare energy over a few hundred samples instead of single peaks.
Mistake:Requesting huge renders and expecting full length.
Fix:Output caps at 100,000 samples — raise the sample rate only as far as the cap allows.
Frequently asked questions
What does this tool do?
It renders stereo focus audio with generateBinauralSamples — per-channel sines at left/right frequencies over a seeded white, pink, or brown noise bed — reporting the beat as |left - right| via calculateBeatFrequency with presets from BINAURAL_PRESETS.
How do noise colors, seeds, and presets work?
generateNoise uses a deterministic Mulberry32 sequence (white raw, pink 0.86/2.8, brown 0.985/8, all clamped to [-1, 1]), so the same seed repeats exactly; presetFrequencies maps delta 2, theta 6, alpha 10, beta 18, and gamma 40 Hz beats onto a 220 Hz carrier.
Is my audio uploaded or stored?
No. Tone synthesis and seeded noise render entirely in your browser.
Why is output shorter than requested, or silent at extremes?
Renders cap at 100,000 samples and noiseMix clamps to [0, 1] — mix 0 is pure tone, mix 1 is pure noise, and non-finite frequencies report a 0 Hz beat.
Related guides
References & standards
Related tools
Ambient Noise Generator
Blend white, pink and brown noise live in your browser — focus masking, tinnitus relief and sleep, with a built-in sleep timer.
Audio BPM Tap & Tempo Detector
Tap a beat or detect tempo from audio sample onsets with robust local signal analysis.
Audio dBFS, dBu, dBV & Voltage Converter
Convert digital and analog audio levels with professional and consumer references
Metronome & Instrument Tuner
Keep visual tempo and tune instruments around an adjustable A4 reference.
Morse Spectrogram Decoder
Encode and decode Morse code audio with deterministic timing
Text to Speech (TTS)
Read any text aloud with your browser's built-in voices — control voice, rate, pitch and volume, all processed on your device.