FM 101
Build an FM bass one stage at a time: start with a pure carrier, add modulation, tune the ratio, then rough up the modulator.
How Does FM Synthesis Work
One oscillator plays the note and a second oscillator bends its pitch at audio rate. That bending creates brand-new harmonics out of a plain waveform, which is why FM can go from a deep sub to a tearing bass without a single filter.
Play it
Start quiet. FM gets bright fast when the modulation index goes up.
Runs right in your browser. Nothing is installed or saved to your computer.
Questions people ask
What does the modulation index actually do?
It sets how much the modulator oscillator pushes the carrier oscillator off its pitch, many times per second. At zero you hear the pure carrier waveform. As you turn it up, each push adds pairs of sideband harmonics around the carrier, so the sound gets brighter and more aggressive without touching a filter.
Why do whole-number ratios sound musical and others sound like bells?
The ratio locks the modulator pitch to a multiple of the note you play. Whole numbers place the new sidebands on the harmonic series, so they reinforce the note. Fractional ratios place them between harmonics, so the result sounds inharmonic and metallic like a bell. For sub bass, stick to 1 or 2 and keep the detuned ratios for mid-range layers.
Why start both oscillators on sine waves?
A sine has no harmonics of its own, so every harmonic you hear comes from the FM process itself. That makes it the cleanest way to learn what the index and ratio are doing. Once you can predict those, switching either oscillator to a saw, square or triangle just stacks extra edge on top of the same behaviour.