SILICONAntiques
Silicon Antiques › Learn › FM algorithms
Learn · FM synthesis

Twelve FM algorithms, drawn

An algorithm is just a drawing of who modulates whom. Here are all twelve from Mellt FM-1, and then the trick: the same drawings as pins.

What an algorithm is

An FM synth has a handful of oscillators called operators. Each one can either be heard directly, in which case it's a carrier, or be used to wobble the pitch of another operator thousands of times a second, in which case it's a modulator. A modulator on a carrier adds harmonics. A modulator on a modulator adds harmonics to the harmonics. Stack them and you get brass; fan them out and you get bells.

The map of which operator feeds which is the algorithm. On the famous FM synth of the 1980s there were 32 of them, printed on the lid, chosen by number. Mellt has seven operators and twelve algorithms. More importantly, it has a second way to see them.

The twelve

carrier (you hear it) modulator (you hear its effect) · arrows point from modulator to modulated

7 6 5 4 3 2 1 1 · StackSeven deep, one carrier. The brass one.
4 3 2 1 7 6 5 2 · 4 + 3 StacksTwo stacks, two carriers.
3 2 1 5 4 7 6 3 · 3 + 2 + 2 StacksThree voices in one patch.
2 1 4 3 6 5 7 4 · Pairs + SineThree two-op pairs and a pure sine.
2 3 4 5 6 7 1 5 · Six Into OneEverything modulates one carrier.
4 3 2 7 6 5 1 6 · Two Chains Into OneTwo modulator chains, one carrier.
7 6 5 4 1 2 3 7 · Stack Feeds ThreeOne deep stack shared by three carriers.
7 1 2 3 4 5 6 8 · One Into SixOne modulator, six carriers. The organ one.
5 4 3 2 1 7 6 9 · 5 Stack + PairA deep stack beside a simple pair.
2 3 1 5 6 4 7 10 · Twin BranchesTwo pairs into two carriers, plus a lone sine.
4 5 6 7 2 3 1 11 · Binary TreeModulators of modulators of one carrier.
1 2 3 4 5 6 7 no modulation at all 12 · AdditiveSeven wavetables, summed. No FM.

Remember that every Mellt operator reads a wavetable, not just a sine. Algorithm 12 with seven different tables is a wavetable synth in its own right. Algorithm 1 with a sawtooth at the top of the stack is something else entirely.

The same thing, as pins

Mellt FM-1 routing board showing algorithm 2, 4 + 3 Stacks, as brass pins, with the matching diagram below
Algorithm 2, 4 + 3 Stacks, on the routing board. Brass pins are the algorithm's wiring; the diagram underneath redraws as you click.
Mellt FM-1 routing board showing algorithm 4, Pairs + Sine, with operator 7 alone on the right
Algorithm 4, Pairs + Sine. Three pairs and operator 7 on its own, straight to the output.

Here's the trick that made us build Mellt. Lay the seven operators down the side as modulators and across the top as modulated, and an algorithm becomes a pattern of pins. The Stack is a diagonal. Six Into One is a column. One Into Six is a row.

A 7-by-7 operator matrix showing the Stack algorithm as six pins on a diagonal. modulated → modulates ↓ 1234567 1234567
Algorithm 1, the Stack, on Mellt's routing board: 2 modulates 1, 3 modulates 2, and so on up to 7 modulating 6. A diagonal of six pins. A modulator always carries a higher number than the operator it modulates, so no algorithm loops back on itself.

Mellt's routing board looks like a patch bay and reads like one, but it is a picker, not a free patch. The twelve algorithms are a fixed list, and the board always shows one of them. What changes is how you choose. Click a connection you want and Mellt jumps to the nearest algorithm that has it. Click one you don't want and it jumps to the nearest that hasn't. You choose by reaching for the sound, not by remembering a number.

  • You can read it. A column shows everything feeding one operator. A row shows everywhere one operator goes. The 32-algorithm chart on the lid was a lookup table; this is a map.
  • You can choose by connection. Want operator 7 feeding operator 1 directly? Click that pin and you land on One Into Six or Six Into One, whichever is closer to where you were.
  • Feedback is a knob, not a pin. No algorithm feeds an operator back into itself or into a higher-numbered one. Instead, every operator has its own feedback control, off by default, and operator 7's is a destination in the modulation matrix, so an envelope can bring feedback in over the course of a note.

A new Mellt opens on algorithm 2, 4 + 3 Stacks. We've found that people familiar with a pin matrix find programming FM far easier to conceptualise this way than through a parameter slider. The famous sounds are all still there: the electric pianos, the bells, the glass. The interface just stops being the reason you never went past the second algorithm.

Patch one.

Mellt FM-1 is free for macOS, as AU, VST3 and Standalone. Pick an algorithm from the diagram, or click the connection you want on the routing board.