EXPERIMENT 001 / ADDITIVE SYNTHESIS

RIEMANN.

The music of the primes · 15,115 zeta-zero ordinates · playable spectral instrument

Concept by Johnny Diggz · Diggz Studios

JavaScript not started. If this remains, open the hosted page in a browser rather than a file preview.

Explore / presets

First resonance: a small, exact-ratio bank of low-order zeros.

Live spectral view

0 active voices
Zero window
1–8
Audible partials / note
8
Reference note
A3
Closest pair spacing
—
Selected oscillator positions · logarithmic frequency
Actual audio output · waveform

Play

C3–B4

Touch or click keys, or use A W S E D F T G Y H U J K O L P ; on a computer. Up to four live notes. Changes apply to held notes; stop all clears the keyboard.

Oscillator bank

The first selected zero becomes the played note. Relative frequencies are exact at spread 1.00×.

Motion & envelope

The sweep moves a window across the zero table, retuning any held notes. The drone uses the last played key.

Maximum spectrum archive

Compare the live instrument to the original fixed 20-second recordings: all 15,115 partials, scaled from 20 Hz to just under 20 kHz. These are pre-rendered, not controlled by the synth knobs.

The mathematics

fₖ = fₙₒₜₑ × (γₖ / γᵣ)ˢ

γₖ is the imaginary ordinate of a nontrivial Riemann zeta zero, γᵣ is the chosen reference ordinate and s is the spread control. In exact mode with s = 1, frequency ratios are preserved. The prime-counting option uses amplitude proportional to 1/|½ + iγₖ| and the phase of −1/(½ + iγₖ), corresponding to the oscillatory terms after removing their common growth envelope. This is a sonification, not a literal physical vibration or a complete prime-counting formula.

What changes the mathematics?

Window anchoring transposes a selected bank without changing its internal ratios. Global anchoring keeps the first zero as reference even when sweeping. Folding shifts partials by octaves; spread and harmonic blend deliberately alter ratios. Equal seeded phases are reproducible but not from the explicit formula. Prime-weighted phases are exact at note-on; once a sweep or control change retunes held notes, their relative phases drift. Live partials outside 20 Hz to min(20 kHz, 0.45 × sample rate) are muted. The live engine is capped at 128 oscillators per note and four notes for performance.