FM synth
Use one oscillator to modulate another oscillator’s frequency.
ready
node examples/fm-synthesis.js 440 2 5 3sLoading source…
- Graph
- Modulator → Carrier.frequency → Gain → Destination
- Input
- Carrier, ratio, index
- Output
- FM timbre
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.