CRT approach to additive synthesis. A note n in Z/214,414,200 decomposes into 7 residues, each driving an independent oscillator. Frequency, phase, and amplitude all derive from modular arithmetic. 7 channels = 7 additive harmonics. 3 data channels carry harmonic content, 4 parity channels shape envelope, timing, and gating. Total unique timbres: 214,414,200.
Note value (0-214414199):
Decomposes note into 7 channel oscillators. Play Sound creates 7 Web Audio oscillators from CRT residues. Red = data (harmonic content). Green = parity (envelope/timing).
Source code · Public domain (CC0)
.ax source compiled to WASM via self-hosting compiler. Zero HTML authored.