A small confession to start. When I finished the first version of RIEMANN a few days ago, I only posted it on Facebook. It was an experiment (a synthesizer built out of the zeros of the Riemann zeta function), and I figured a handful of friends would poke at it, say “huh,” and move on.
That is not what happened. The feedback kept coming, from musicians, from math folks double-checking my work (thank you, genuinely) and from people who just liked the sounds, along with a steady stream of “have you thought about…” suggestions. So I spent the past few days building a proper version two, and this time it gets a real announcement.
A little background
RIEMANN started as an attempt to understand why Anthropic’s August announcement about the Riemann hypothesis mattered to anyone outside a math department. The hypothesis, still unproven after 167 years, says all of the zeta function’s “nontrivial zeros” sit on a single line. A research version of Claude pushed the proven share from 41.6% to 67.2%, which is a big deal if you’re a number theorist and an abstraction if you’re not. (For plain-English versions of what it does and doesn’t mean, Scientific American and TechCrunch both have good write-ups.)
The part that hooked me is that the distribution of prime numbers can be described as a sum of waves, each with its own frequency, amplitude and phase. That’s also how you describe sound. So RIEMANN takes those zeros, keeps their ratios intact, and turns them into oscillators you can play from a keyboard. Put the first zero at 20 Hz, the bottom of human hearing, and exactly 15,115 of them land below 20 kHz, the top. That’s the instrument: 15,115 frequencies the primes have been hiding all along. (Fine print: primes don’t make sound. Choosing an audible scale is a design decision. It’s a sonification, not a proof.)
I also realize I’m not the first person to think of this. The zeros have been described as the harmonics of the primes for a long time (Marcus du Sautoy called his 2003 book The Music of the Primes, and his Plus Magazine article explains the idea beautifully), and people have been turning zeta zeros into sound for years, including a 2019 paper by Nick Collins of Durham University’s music department. I just discovered it for myself, got excited, and wanted to build something you could actually play. I’ve also been told I need to read Douglas Hofstadter’s Gödel, Escher, Bach (the Pulitzer-winning 1979 book that braids together math, Escher’s art and Bach’s music), so that’s on my list now.
What’s new in RIEMANN.2
Version 1 was built with ChatGPT. RIEMANN.2 was developed with Anthropic’s Claude. Here’s what it adds:
- MIDI: play it from a MIDI keyboard or controller, with velocity, sustain, pitch bend and MIDI Learn (Chrome, Edge and Firefox).
- Stereo: seven ways to spread the frequencies across left and right, with slow movement, meters and a mono check.
- Recording: capture what you play as a WAV file, or render a sound offline at up to 96 kHz.
- Performance timeline: replay a take, export it as a MIDI file, or split it into stems.
- Sharing: send any sound as a link or a QR code, and keep a library of favorites.
- Explore and Studio modes: start simple, then open up every control.
- More voices: up to 512 oscillators per note and 16 notes at once, with performance settings for your device.
- Slide to play: hold down on the on-screen keyboard and run your finger or mouse across the keys.
- Smoother note releases than version 1.
It’s labeled beta for a reason. I’ve tested it in desktop Chrome; if something misbehaves on your phone or tablet, please tell me. Version 1 is still there, kept exactly as it was, if you want to hear where this started.
Someone built a plugin (and it made me think about licensing)
The response I least expected arrived by email today. Kevin A. Roll liked some of the sounds enough that he had an AI turn RIEMANN into a complete CLAP plugin, which he’s been playing in Bitwig. He was careful to say he wouldn’t distribute it, since it’s my concept, and offered to send me a copy. I told him to go for it, as long as I get credit. I’m not sharing it here (it’s his build), but it’s a genuinely cool thing to get in your inbox.
It also made me realize he shouldn’t have had to ask. I’d never said what anyone was allowed to do with any of this. So now it’s official. The code is open source under the MIT license, on GitHub. The zeta-zero data is dedicated to the public domain (CC0), because nobody should own a list of numbers the universe came up with. The original recordings are CC BY 4.0. The only thing I’m holding onto is the RIEMANN name and the Diggz Studios branding, so it stays clear which one is the original.
In plain English: build on it, remix it, put it in your own instrument (yes, including a plugin). Just tell me what you make.
Play it
- RIEMANN: The Music of the Primes (the main page, with the story and how it works)
- Play RIEMANN.2 (beta)
- Play version 1 (the original)
- Source code on GitHub
You don’t need to understand any of the math to make music with it. Turn it up slowly, start with a preset, and let me know what interesting sounds you discover.

















