Beating

Hear amplitude beating produced by two nearby frequencies.

ready

node examples/beating.js 440 3 5s
freq=<hz|note>
frequency or note name in the CLI (default: 440)
diff=<hz>
difference and beat frequency
-d, --duration <time>
run time (CLI accepts s/m/h suffixes; default: 30s)
Graph
2 nearby Oscillators → Gain → Destination
Input
Carrier, frequency difference
Output
Beating tone

This is an acoustic beating demo: two nearby frequencies played together produce an audible beat, a slow pulsing at the rate of their difference. Try it in the browser to hear the beat frequency directly, or generate the same two-oscillator signal from the Node CLI.