Music Technology

Riemann Synth Turns the Zeros of a Famous Unsolved Equation Into a Supersaw, Released the Same Week an AI-Assisted Proof Attempt Made Headlines

Daniel Breysel's free, GPL-licensed instrument tunes its unison voices to the nontrivial zeros of the Riemann zeta function, and uses prime numbers to drive its echo. It runs as a browser instrument or a native macOS and Windows plugin, with a test suite that checks the two sound identically.

Daniel Breysel’s Riemann Synth takes a piece of 167-year-old unsolved mathematics and turns it directly into sound. Each note is a stack of voices, one per zero of the Riemann zeta function in a window along the critical line, with voice k sounding at the note’s pitch multiplied by the ratio of that zero’s height to the height the window is centered on. Low on the line, the zeros sit far apart and a note rings out like a struck bell. Climb higher, where the zeros crowd closer together at a known, computable rate, and the same sixteen zeros compress into something close to a conventional supersaw’s 30-odd cents of detune. The source is released under the GPL-3.0 license, free to download as a browser instrument or as VST3 and AU plugins for macOS and Windows.

The math is doing real sound design work, not just theming

What separates Riemann Synth from a novelty “math-themed” plugin is that the zeta function’s structure drives multiple independent parts of the sound, not just a tuning gimmick. Because real zeros repel each other, no two voices in a stack sit much closer together than the average gap between them, which gives the detune a naturally organic irregularity rather than a uniform spread. Stereo width comes from a second, related function: the zeros of zeta’s sibling, the Dirichlet L-function mod 4, taken from the same stretch of the critical line, so the stereo field is mathematically related to the center rather than arbitrarily offset. Start every voice in phase, and the note plucks, falls nearly silent, then returns in pulses timed to the logarithm of 2, 3, 4, 5, 7, and onward, an audible rendering of the explicit formula that links the zeta zeros to the distribution of prime numbers. A separate echo effect adds the primes back in on its own terms, with each repeat at the logarithm of every prime power, loud in proportion to how large that power’s prime factor is relative to it.

Built to prove it sounds the same everywhere

The project ships twice with the same sound: a browser version playable with no installation or account, and native plugin builds using JUCE, with the plugin’s interface literally rendered by the system’s web view (WebKit on macOS, WebView2 on Windows) so the two versions share one visual and audio implementation. A test suite, tests/parity.mjs, renders every preset both ways in a headless browser and compares the results sample by sample. In the project’s own last recorded run, the two renders without reverb or echo differed by no more than 3 times 10 to the negative 8, more than 170 decibels below the audible signal; with the hall and prime echo effects active, where two different FFT implementations round differently, the difference still stayed at least 95 decibels under the sound. The parity check runs automatically on every push to the repository.

The backdrop is a genuinely unresolved math story

Breysel’s own project notes connect the instrument directly to a live controversy: a recent announcement of a proposed proof of the Riemann Hypothesis, developed with AI assistance, which the synth’s creator explicitly frames as a mathematical claim still under broader scrutiny rather than a settled result. That caution matches outside reporting closely. Levent Alpöge, a number theorist at Anthropic, posted a proposed proof in the Lean formal-verification language on November 20, also claiming it extends to the Generalized Riemann Hypothesis, and a rival, independently developed proof from mathematician Alessandro Masullo surfaced the same day. Independent mathematicians were, as of the most recent reporting, still working through the arguments, with estimates that full verification could take weeks. Riemann Synth doesn’t take a side on whether either proof holds. It’s an experimental musical interpretation of the hypothesis itself, built around mathematics that has been studied, and until now never fully proven, since 1859.