Octave illusion
Swap two antiphase frequencies between ears so a single tone seems to jump register and side.
npx web-audio-api octave-illusion 400 800 2 12s
Loading source…
This renders Deutsch's octave illusion: two antiphase frequencies swap between ears so a single tone seems to jump register and side, an effect that only works over headphones. Hear it in the browser, or render the stereo signal from the Node CLI to study or share it.