🎧 Binaural Beats
Play two nearly identical tones, one per ear — the brainstem perceives a slow beat at their frequency difference |fL−fR|, distinct from acoustic beats which require both tones in one ear.
How it Works
A binaural beat is not a physical sound at all — it is a perceptual illusion constructed by your brainstem. Two pure tones of slightly different frequency, fL and fR, are delivered separately, one to each ear, typically through headphones. The waveforms never mix in the air and never combine within either ear canal, so no true acoustic interference occurs; each ear only ever hears one steady, unmodulated pitch. This is fundamentally different from a monaural (acoustic) beat, where two tones physically overlap in the same air or same ear and their pressure waves genuinely add and cancel, producing a real amplitude oscillation a microphone could record.
Instead, neurons in the superior olivary complex — a brainstem structure that normally compares interaural timing and phase to help localize sounds in space — receive the two slightly mismatched frequencies and register a continuously drifting phase difference between them. That drift cycles at a rate equal to Δf = |fL − fR|, and the brain interprets the cyclic phase relationship as a slow, rhythmic pulsing loudness sensation, even though no such pulsation exists in the physical waveform delivered to either ear. This percept is generally only clearly heard when Δf stays below roughly 30 Hz and reliably requires stereo headphone delivery.
Beat rate (what you perceive): Δf = |fL − fR|
Modeled neural beat envelope: E(t) = |cos(π · Δf · t)|, period = 1/Δf seconds
Typical audible range: 1 Hz ≲ Δf ≲ 30 Hz (requires headphones, one tone per ear)
Frequently Asked Questions
Why do I need headphones for binaural beats to work?
Binaural beats depend on delivering one pure tone exclusively to the left ear and a slightly different tone exclusively to the right ear. Loudspeakers let both ears hear both tones (and any acoustic beat forms in the air before it reaches either ear), which destroys the effect. Only headphones or earbuds can guarantee true ear-separated delivery.
What is the difference between binaural beats and monaural (acoustic) beats?
Monaural or acoustic beats occur when two tones physically mix in the same air or the same ear canal; the waveforms add and cancel, producing a real, measurable amplitude oscillation at |f1−f2| that a microphone can record. Binaural beats never physically exist in the air or in either ear alone — each ear only ever receives one steady, unmodulated tone. The beat is synthesized entirely inside the brainstem by comparing the two channels.
Why does my brain perceive a beat that isn't physically present in the sound?
Neurons in the superior olivary complex of the brainstem specialize in comparing the timing and phase of signals arriving from the two ears, which is normally used for sound localization. When the two ears receive tones of slightly different frequency, the interaural phase difference drifts continuously and cyclically at a rate of Δf = |fL−fR|. The brain's phase-comparison circuitry reports this drift as a slow, rhythmic pulsing sensation even though no such pulsing exists in the acoustic signal itself.
What frequency ranges are typically used for binaural beats?
Carrier tones are usually placed between roughly 100–800 Hz, comfortably within easy hearing and low enough for the brainstem's timing circuits to track phase reliably. The beat rate Δf is chosen to sit within classic EEG frequency bands: delta (below 4 Hz, associated with deep sleep), theta (4–8 Hz), alpha (8–13 Hz), and low beta (13–30 Hz). Beat rates above roughly 30–40 Hz are rarely used because the beat sensation becomes weak or is instead heard as roughness or two separate tones.
Do binaural beats actually help with relaxation, sleep, or focus?
The evidence is mixed and generally weak. Some small studies report modest reductions in self-reported anxiety or minor improvements in mood after listening to low-frequency binaural beats, but effect sizes are small, many trials are underpowered or unblinded, and results do not replicate consistently. Reviews of the literature describe the evidence for meaningful cognitive or clinical benefit as inconclusive rather than established. Any listener-reported calm may partly reflect quiet time, expectation, and the accompanying background tone rather than the beat frequency itself.
Can binaural beats really entrain brainwaves, and what does research show?
The neural mechanism that creates the beat percept — brainstem phase comparison — is well established and uncontroversial. Whether that percept then causally "entrains" cortical EEG oscillations to match the beat frequency, in a way that changes cognition or physiology, is far less settled. Some EEG studies report small frequency-following responses; others find no reliable entrainment or effects indistinguishable from a quiet control condition. Extraordinary claims made in commercial "brainwave entrainment" products outrun what the peer-reviewed evidence currently supports.
Is there a minimum or maximum beat rate at which the effect works?
Below about 1 Hz the beat becomes too slow to notice within a normal listening span. Above roughly 30–40 Hz, interaural phase locking in the brainstem breaks down and listeners no longer hear a smooth pulsation — instead the two tones are heard as separate pitches or as auditory roughness. The clearest, most reliably perceived binaural beats fall roughly between 1 Hz and 30 Hz, which not coincidentally spans the classic delta-through-beta EEG range.
Are binaural beats safe to listen to?
For most people, listening to binaural beats at a comfortable volume is safe — the same general hearing-safety guidance that applies to any headphone listening (keep volume moderate, take breaks) applies here. People with a history of seizures should be cautious with any rhythmic auditory or flickering stimulation and consult a doctor first, since rhythmic sensory stimulation has rarely been linked to seizure activity in susceptible individuals.
Does the beat frequency change if I change the volume?
No. The beat rate Δf is set entirely by the frequency difference between the left and right tones, fL and fR; volume only scales the amplitude of both oscillators equally through a shared gain node and has no effect on Δf, on the interaural phase-drift rate, or on where the effect falls relative to the roughly 1–30 Hz audible-beat range.
About this simulation
This simulator plays two genuinely separate stereo tones — fL to the left ear and fR to the right ear through a Web Audio graph with independent oscillators and hard panning — while the canvas plots each ear's actual waveform plus a modeled neural beat envelope at the frequency difference Δf. It exists to make the key distinction concrete: nothing in the air or in either ear canal ever oscillates at Δf; only your brainstem's comparison of the two channels produces that percept.
🔬 What it shows
Two independently generated pure-tone waveforms, one traced for the left ear and one for the right, drawn beside a third trace showing the modeled perceived beat envelope |cos(π·Δf·t)| — visually separating the physically real signals from the purely perceptual beat.
🎮 How to use
Set fL and Δf (which determines fR = fL + Δf), then press Play to hear the real stereo audio through headphones — the left tone plays only in your left ear, the right tone only in your right ear. Adjust volume, watch whether Δf falls in the typical audible-beat range, and use P/R to pause or reset the visualization.
💡 Did you know?
The neural mechanism behind binaural beats — brainstem phase comparison in the superior olivary complex — is solid, well-replicated neuroscience. Claims that listening to specific beat frequencies reliably boosts relaxation, sleep, or focus are much less settled; controlled studies report small, inconsistent effects, so treat commercial "brainwave entrainment" marketing with healthy skepticism.
Frequently asked questions
How does the fR() function calculate the right-ear tone?
fR() simply returns params.fL + params.deltaF, the standard binaural-beat relationship — whatever beat rate you dial in with the Δf slider is added directly to the left-ear carrier frequency to get the right-ear carrier, so the perceived beat rate always equals exactly the Δf you set, by construction.
What does the perceivedEnvelope() function compute and why does it use an absolute cosine?
perceivedEnvelope(t) returns Math.abs(Math.cos(Math.PI * params.deltaF * t)), a rectified cosine whose period is exactly 1/Δf seconds. The absolute value models the fact that a perceived "beat" is a loudness pulsation — always non-negative — rather than a signed oscillation, so the envelope rises and falls between 0 and 1 at the beat rate rather than swinging through zero into negative values.
How is the stereo separation actually implemented in the Web Audio graph?
Two OscillatorNodes, oscL and oscR, are each routed through their own StereoPannerNode — panL.pan set to -1 (hard left) and panR.pan set to +1 (hard right) — before both feed into a shared GainNode for volume control and then audioCtx.destination. This is what guarantees each ear genuinely receives only one of the two frequencies, with zero acoustic mixing.
Why is the "in audible beat range" indicator tied to roughly 1–30 Hz for Δf rather than showing Yes for any value?
The isAudibleBeat() check tests params.deltaF > 0.5 && params.deltaF <= 30, mirroring the real perceptual limits: below about 1 Hz the beat cycles too slowly to notice in a short listening window, and above roughly 30 Hz interaural phase locking degrades and the sensation stops feeling like a smooth pulsation.
What happens to oscL.frequency and oscR.frequency when I drag the sliders while audio is playing?
updateParams() calls oscL.frequency.setValueAtTime(params.fL, audioCtx.currentTime) and the equivalent for oscR with fR(), so both oscillators retune live, in real time, without needing to stop and restart playback — the actual sounding beat rate updates to match the sliders within a single audio callback.
Play two nearly identical tones, one per ear — the brainstem perceives a slow beat at their frequency difference |fL−fR|, distinct from acoustic beats which require both tones in one ear.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install