← back to blog
7 min read

The Science Behind BinBeats: How Binaural Beats Work

Exploring the neuroscience of binaural beats and how I built BinBeats to help with focus, sleep, and creativity.

AudioNeuroscienceProduct

When I built BinBeats, I wanted to understand the science, not just build another ambient noise app. Here's what I learned about binaural beats and how the brain processes them.

What Are Binaural Beats?

When you hear two slightly different frequencies in each ear, your brain perceives a third tone - the difference between them. This is the binaural beat.

Example:

  • Left ear: 200 Hz
  • Right ear: 210 Hz
  • Perceived beat: 10 Hz
Your brain "creates" this 10 Hz tone through a process called neural entrainment.

Brain Wave States

Different frequencies correlate with different mental states:

FrequencyBrain WaveState
0.5-4 HzDeltaDeep sleep
4-8 HzThetaMeditation, creativity
8-13 HzAlphaRelaxed focus
13-30 HzBetaActive thinking
30-100 HzGammaPeak concentration

The Research

The science is promising but not conclusive:

Positive findings:

  • A 2019 study showed theta beats reduced anxiety before surgery
  • Multiple studies show improved focus during cognitive tasks
  • Sleep studies show increased deep sleep with delta frequencies
Limitations:
  • Effect sizes are often small
  • Individual responses vary significantly
  • Placebo effect is hard to separate
I'm honest about this in the app - binaural beats are a tool that works for many people, not a miracle cure.

Building BinBeats

Technical challenges I faced:

1. Precise Frequency Generation

Web Audio API makes this possible:

const audioCtx = new AudioContext();

const leftOsc = audioCtx.createOscillator(); const rightOsc = audioCtx.createOscillator();

leftOsc.frequency.value = 200; rightOsc.frequency.value = 210; // 10 Hz binaural beat

// Pan left and right const leftPanner = audioCtx.createStereoPanner(); leftPanner.pan.value = -1;

const rightPanner = audioCtx.createStereoPanner(); rightPanner.pan.value = 1;

2. Smooth Transitions

Abrupt frequency changes are jarring. I use exponential ramping:

oscillator.frequency.exponentialRampToValueAtTime(
  newFrequency,
  audioCtx.currentTime + 2 // 2 second transition
);

3. Background Audio

Pure binaural beats sound clinical. I layer them with ambient sounds (rain, nature, lo-fi music) at volumes where the beats are effective but not distracting.

User Feedback

The most common use cases:

  • Focus during work (beta/gamma frequencies)
  • Falling asleep (delta frequencies)
  • Meditation (theta frequencies)
  • Reducing anxiety (alpha frequencies)
  • Some users report immediate effects, others need consistent use. I recommend trying for at least a week before judging.

    My Personal Use

    I use 14 Hz (low beta) while coding. Whether it's the beats or just the ritual of putting on headphones and "entering work mode," it helps me focus. Sometimes the ritual matters as much as the science.