FM synth
Use one oscillator to modulate another oscillator’s frequency.
npx web-audio-api fm-synthesis 440 2 5 3s
Loading source…
This is an FM synthesis example: one oscillator modulates another oscillator frequency, and the carrier-to-modulator ratio and index shape the resulting timbre from bell-like to metallic. Try it in the browser, or render the same modulator-to-carrier graph from the Node CLI.