Noise cancellation
This simulation plays the sound at one ear, without cancelling noise in your room.
It’s inverted. Why is it louder?
Listen, then switch between noise and its inverted copy. At 200 Hz, 2.5 ms is half a cycle: move the response delay and hear what reaches the ear.
Sound travels left to right at 343 m/s. Speaker → ear: 1.00 ms.
Model, playback & sources
One perfectly matched, unity-gain sound path at one ear. In stage three, a plane wave travels left to right at 343 m/s: preview = upstream mic-to-ear distance / 343. Source-to-ear distance stays 3.43 m. The speaker is 34.3 cm from the ear (1 ms); response delay includes that travel plus adjustable electronics. Moving the mic changes preview, not response delay. Other directions, reflections, incoherent noise and real speaker responses break this simple model.
At 48 kHz, the prediction gap is max(0, response − preview). Prediction uses 128 past-sample taps fitted on the first two seconds; the following three seconds supply the measured residual. Independent hiss cannot be predicted. With enough preview the exact sample is known; surplus preview is buffered. The hiss slider sets nominal power in a seeded mix with a 200 Hz tone.
Listening loops those same three held-out seconds, at a fixed 0.30 scale and the volume you choose. No automatic normalization: noise, anti-noise and all residuals keep the same gain. Waveform rows share a scale; the range changes only with source mix. “Model null” means exact mathematical zero; attenuation below −80 dB is shown as <−80 dB. Headphones reproduce the simulated ear signal, not physical cancellation.
Timing model & arithmetic · Reference-microphone timing study · Secondary-path estimation