home/ modules/ additive-and-resynthesis

Additive synthesis and resynthesis: building timbre from partials

  • learner can build a timbre by summing enveloped sine partials, managing amplitude normalization and the expressiveness/parameter-count problem
  • learner can use partial grouping, morphing, and noise-modulation to make additive synthesis controllable and expressive
  • learner can run a resynthesis workflow: analyze a recorded tone into partials and reconstruct it additively

Analyze a short recorded instrument tone with FFT, then resynthesize it additively — reconstruct its partials with individual envelopes, group them under a single morph control, and compare the result to the original.

This module builds toward one whole task: taking a real recorded tone — a plucked string, a struck key — apart with an FFT and putting it back together as a bank of enveloped sine oscillators you can actually perform with. In a live-coding rig this matters because additive patches are pure code: a SynthDef summing sines is trivially cheap to write mid-set, but naive versions clip the output bus and offer no single knob worth touching on stage. The craft here is making a hundred-parameter instrument feel like a one-parameter one.

The arc starts supported: build a small hand-tuned tone from a fundamental plus a few harmonics, leaning on the core idea that summing sine partials constructs timbre and on the harmonic-generator model of individually controllable harmonics. From the first exercise, the divide-by-N normalization move is drilled until automatic — every sum you write in the set needs it. The middle exercises confront why raw additive feels dead: the expressiveness problem, fragile transients, and noise-floor accumulation. Each pain gets a JIT counter-move: grouping harmonically related partials under shared envelopes, morphing between two complete parameter sets for a single performable control, and noise-modulating partials to reach breathy or drum-like timbres.

The required atoms gate the capstone directly — you cannot resynthesize a tone without the analysis-to-partial-tracks workflow, nor perform the result without grouping and morphing. Supporting atoms enrich rather than gate: Fourier duality and the harmonic series explain why the reconstruction works at all, cheap tricks like a sawtooth standing in for the highest partial or the odd/even harmonic warp offer resource-saving shortcuts beyond the capstone, and concatenative synthesis sketches where resynthesis goes next.

Runnable examples

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

additive-synthesis

{ Klang.ar(`[[100, 200, 300, 400], [0.4, 0.3, 0.2, 0.1]]) * 0.1 }.play

supercollider-0022 · CC0

Atoms in this module

Required — these gate the capstone

Additive synthesis builds complex timbres by summing many sine partials with individual amplitude envelopes
Concept L1 Foundations BEF
Any complex waveform can be built by summing sine waves — this is the basis of additive synthesis
Principle L1 Foundations B
Additive synthesis builds a timbre by summing a fundamental with individually controllable harmonics
Concept L3 Craft BE
Summing N oscillators multiplies amplitude by N; dividing by N after summing prevents clipping
Procedure L2 First instrument BN
Additive synthesis is inherently inexpressive because changing one partial parameter has little perceptible effect
Concept L2 First instrument B
Transients are especially hard to synthesise additively because they require rapidly varying phases across many partials
Concept L2 First instrument B
Summing many oscillators in additive synthesis accumulates noise floor whereas subtractive synthesis can filter noise away
Concept L2 First instrument B
Additive synthesis reconstructs sounds by summing sine wave partials; resynthesis verifies the accuracy of spectral analysis
Procedure L2 First instrument B
Resynthesis analyses a real instrument recording into partial tracks and uses those measurements to set additive synthesis parameters
Procedure L3 Craft B
Morphing between two parameter sets gives additive synthesis a single performable control dimension
Concept L3 Craft BE
Grouping harmonically related partials under a single envelope reduces the parameter count in additive synthesis
Procedure L3 Craft BE
Modulating partial frequencies and amplitudes with noise spreads each sine into a band, letting additive synthesis approximate noisy timbres
Procedure L3 Craft B

Supporting — enrichment, not gating

Using a non-sinusoidal waveform for the highest partial fills in upper harmonics when oscillator count is limited
Procedure L3 Craft BE
The odd/even warp selects only odd or only even harmonics from a waveform, converting a saw into a square
Concept L3 Craft B
A waveform and its set of harmonics are two equivalent descriptions of the same sound
Concept L2 First instrument B
Harmonics are the standing waves at integer multiples of a fundamental frequency
Concept L1 Foundations B
Fourier's theorem decomposes any periodic sound into sinusoidal partials, and their amplitudes fix its timbre
Concept L1 Foundations BF
Concatenative synthesis drives resynthesis by selecting and joining database sound segments whose features best match a target
Concept L3 Craft BF
Source waveform sets harmonic complexity in a ladder from sine (pure) to noise (harsh)
Fact L1 Foundations BF