PPolySim OS

Additive Synthesis

Stack enough sine waves and you can build any tone. Additive synthesis assembles rich waveforms one harmonic at a time — the sound design behind classic synths.

Additive SynthesisLive

Controls

Presets

Any periodic waveform is a sum of sine harmonics — the basis of additive synthesis. A sawtooth needs every harmonic falling as 1/k; a square only odd harmonics; a triangle odd harmonics falling as 1/k². Add more harmonics to sharpen the shape, and watch the Gibbs overshoot ripple at the edges.

▶ Run in Python

Data Inspector

Waveformsawtooth
Harmonics8
Contentall

Governing equation

Reading this result: The sawtooth needs every harmonic falling as 1/k; 8 of them sharpen the ramp but leave a Gibbs ripple at the jump.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Every periodic waveform is a sum of sine harmonics with specific amplitudes. A sawtooth uses all harmonics falling as 1/k, a square only odd harmonics, and a triangle odd harmonics falling as 1/k². Adding more harmonics sharpens the shape but produces the Gibbs overshoot — the little ripple that never quite goes away at sharp edges.

✦

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Acoustics simulations

Frequently asked questions

Is this additive synthesis tool really free?▾
Yes. Additive Synthesis runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?▾
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?▾
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?▾
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.