home/ modules/ fm-synthesis-core

FM synthesis: carriers, modulators, ratios, and index

  • learner can explain FM from the carrier/modulator relationship, and predict a spectrum from the C:M ratio (harmonic vs inharmonic) and modulation index (brightness/density)
  • learner can articulate an FM tone over time by enveloping the modulation index instead of a filter
  • learner can build basic FM voices, including a metallic/bell inharmonic patch and a brightening harmonic patch

Design two FM patches from a two-operator setup: a bright harmonic bass (small integer C:M with an index envelope) and a metallic bell (inharmonic ratio with a decaying index), and explain each spectrum in terms of ratio and index.

FM is the sound designer’s shortcut to two families of tones a subtractive rig struggles with: punchy, brightening basses for electro and neuro-adjacent styles, and inharmonic bells, keys, and metallic percussion that cut through a dense live-coded mix. In a performance setting — a Surge XT patch under TidalCycles, or a two-line PMOsc SynthDef in SuperCollider — you rarely have time to stack partials or automate filters; you need two operators and two numbers that predictably shape a whole spectrum. That predictive skill is the whole task here.

The arc starts supported: sweep a modulator from LFO rate into the audio band and hear vibrato become timbre (the “raising a modulator into the audio range” atom is the first-hour exercise). From there the learner builds the mental model in two independent axes, following Chowning’s summary rule — the C:M ratio decides where sidebands land (integer ratios lock them to a harmonic series; irrational or non-integer ratios scatter them into bell territory), while the modulation index decides how many carry energy, i.e. brightness. Mid-module exercises make each axis concrete: predict a spectrum before playing it, then check by ear and analyzer. The final move is temporal — enveloping the modulator’s amplitude so the index, not a filter, articulates the tone, which is exactly what the harmonic-bass half of the capstone demands.

The required atoms gate the capstone directly: you cannot explain either patch without sideband placement, the index definition, harmonic-vs-inharmonic ratio rules, and the index-envelope-replaces-filter principle. Supporting atoms enrich rather than gate — Bessel amplitudes and reflected sidebands for those who want the math, keyboard scaling, velocity, and mod-wheel routings for playable patches, and the Surge XT and SuperCollider atoms as just-in-time pointers for whichever rig the learner performs on.

Runnable examples

Generated from the context/ instrument corpus by concept (redistributable idioms only). Do not edit — regenerate with gen-module-examples.mjs.

amplitude-lfo

osc 440 * lftri 1 >> audio

punctual-0003 · CC0-1.0

s("bd*4").gain(sine.range(0.5,1).fast(4))

strudel-0040 · CC0

fm-timbre

note("c3").s("sine").fm(4).fmh(2).fmi(3)

strudel-0204 · CC0

osc (midicps 24 * (1 ~~ 4 $ osc 110)) >> audio

punctual-0006 · CC0-1.0

vibrato

saw (midicps $ 24 +- 0.03 $ osc 6) >> audio

punctual-0005 · CC0-1.0

{ SinOsc.ar(SinOsc.kr(6).range(430, 450), 0, 0.2) }.play

supercollider-0006 · CC0

Atoms in this module

Required — these gate the capstone

FM synthesis uses one oscillator (the Modulator) to vary the frequency of another (the Carrier)
Concept L1 Foundations B
FM synthesis builds complex spectra by using one oscillator's frequency to modulate another's
Concept L2 First instrument BF
Raising a modulator from LFO rate into the audio range turns vibrato into a new timbre
Concept L1 Foundations B
In FM synthesis, increasing the modulator's amplitude makes the carrier sound brighter
Concept L1 Foundations B
FM synth 'ratio' is the pitch of an operator expressed as a multiplier of the root note, not in semitones
Concept L1 Foundations B
The carrier-to-modulator (C:M) ratio fixes where FM sidebands fall, making the spectrum harmonic or inharmonic
Concept L2 First instrument BE
The carrier-to-modulator frequency ratio sets FM sideband placement and harmonicity
Concept L2 First instrument B
FM synthesis modulates a carrier's instantaneous frequency using a modulator oscillator, requiring phase integration
Concept L2 First instrument B
The FM modulation index (deviation ÷ modulator frequency) sets sideband amplitudes and thus brightness
Concept L2 First instrument BE
The FM modulation index I = d/m is the ratio of peak frequency deviation to modulating frequency
Fact L2 First instrument B
FM side bands lie at Carrier ± n×Modulator, an in-principle infinite series set only by the Modulator's frequency
Principle L2 First instrument B
FM sidebands are spaced by the modulator frequency on either side of the carrier frequency
Concept L2 First instrument B
Increasing FM modulation index transfers energy from the carrier into a growing number of sidebands
Concept L2 First instrument B
FM side bands need not be harmonically related to the Carrier, so FM can make inharmonic (bell, metallic) tones
Concept L2 First instrument B
FM produces a harmonic spectrum only when the carrier-to-modulator frequency ratio is rational and small
Principle L2 First instrument B
Non-integer C:M ratios in FM synthesis produce inharmonic spectra for metallic and bell sounds
Principle L2 First instrument BE
Irrational c/m ratios place FM sidebands between harmonics, creating inharmonic spectra for metallic sounds
Concept L2 First instrument B
In FM, c/m controls spectral position (harmonic vs. inharmonic) while I controls spectral density
Principle L2 First instrument B
Enveloping the Modulator's amplitude brightens an FM tone over time, replacing the subtractive filter sweep
Principle L2 First instrument B
An envelope on the FM modulator produces time-varying timbre with no filter
Concept L2 First instrument BE
Making the FM modulation index a time-varying function produces dynamic, evolving spectra
Principle L2 First instrument B
Modulating a signal at audio rates generates new sideband frequencies in the spectrum
Principle L2 First instrument B
In audio-rate FM the carrier and modulator are both audible, so the side frequencies are the spectrum itself
Concept L2 First instrument B

Supporting — enrichment, not gating

Chowning discovered FM synthesis from fast vibrato and licensed it to Yamaha, who shipped the DX7 a decade later
Fact L1 Foundations BO
FM concepts from the DX7 apply to all six-operator and four-operator Yamaha FM synthesizers
Fact L1 Foundations B
FM generates rich spectra with just two oscillator lookups, making it computationally viable for 1980s digital chips
Fact L2 First instrument B
FM total bandwidth is approximately twice the sum of frequency deviation and modulating frequency
Fact L2 First instrument B
FM bandwidth grows with modulation index, so raising the index brightens the sound
Principle L2 First instrument B
The FM fundamental frequency equals fC/N1 = fM/N2 when the carrier-to-modulator ratio is N1:N2
Fact L2 First instrument B
An integer c/m ratio N1/N2 fixes the fundamental and which harmonics appear in an FM spectrum
Principle L2 First instrument B
Keeping the carrier-to-modulator frequency ratio constant preserves FM timbre across pitches
Principle L2 First instrument B
Playing an octave up halves ß, so the Modulator amplitude must double per octave to keep the timbre constant
Principle L2 First instrument B
An LFO controlling FM modulator amplitude creates tremolo-like timbral modulation (TM) without a filter
Concept L2 First instrument B
Routing the Mod Wheel to FM modulator amplitude gives the performer real-time control of brightness
Concept L2 First instrument B
FM velocity sensitivity routes key-strike force to modulator amplitude, creating touch-sensitive brightness
Concept L2 First instrument B
Amplitude modulation produces tremolo at sub-audio rates and carrier±modulator sidebands at audio rates
Concept L2 First instrument BE
FM sideband amplitudes are set by Bessel functions of the first kind indexed by sideband order and modulation index
Concept L3 Craft B
FM sidebands that fall below 0 Hz reflect into the positive spectrum with a phase inversion
Concept L3 Craft B
At high FM index or low c/m ratio, the modulated carrier's instantaneous frequency can go negative
Concept L3 Craft B
Adding a small constant to the FM modulating frequency creates a beat or tremulant effect
Procedure L3 Craft B
The N2 denominator of the FM frequency ratio determines which harmonic series members are absent
Principle L3 Craft B
Surge XT's FM2 targets musical FM sounds; FM3 adds a fixed-frequency third modulator for inharmonic timbres
Concept L3 Craft B
Surge XT provides four inter-oscillator FM routing topologies controlling which oscillators modulate each other
Concept L2 First instrument B
SuperCollider's PMOsc implements phase modulation synthesis, producing FM-like timbres with modulator-as-ratio control
Concept L2 First instrument BF
FM and PM produce identical output at high sample rates; PM is preferred for digital implementation
Concept L3 Craft B
FM synthesis with integer modulator-to-carrier ratios produces harmonic tones; non-integer ratios produce inharmonic metallic tones
Concept L2 First instrument BF