Radio from Samples
fs = 192 000 samples / second

Radio from Samples

Four transmitters, one road, one antenna. The receiver gets a single stream of numbers and has to find the music in it. Every sound you hear is demodulated from those samples, live.

0 antenna samples computed
 

Build the radio

Each layer fixes a problem the one before it can't.

Problem

Invention

Try this

The band

Waterfall of the antenna samples, 0 to 96 kHz. Click or drag to tune.
76.0kHzFM

The road

Drag the car, or focus the map and use the arrow keys. Both towers run an AM and an FM station; the two FM stations share 76 kHz.

At the antenna

WEST
EAST
Filter output–
Receiver gain–

On the speaker

Measured by correlating the speaker output with each transmitter's program. A check on the result; the receiver never sees these.

Inside the radio

››

Before the filter

After the filter

What is computed, and what isn't

Where this came from

Proof of Invention · prompt #124809 · radio · all out

start from individual radio-frequency samples and build a radio from scratch, entirely in code. design each layer on top of the last: AM transmitters, a band-pass filter, an envelope detector, a heterodyne mixer, automatic gain control, FM transmitters, an amplitude limiter, an FM discriminator, and an FM radio that snaps to the stronger of two stations. everything has to be real, every sound has to be demodulated from your samples, not a station lookup pretending. show it on a spectrum waterfall and let me drive between two stations, then zoom from the radio down through the filter into the samples while it runs. beside it, keep the spectrum before and after the filter. treat it like you're proving you could have invented radio yourself. go all out.

Built by Claude from this prompt. The prompt was written by Proof of Invention, a prompt machine with no language model inside: every sentence comes from a gene you can point to, and the same number gives the same prompt forever. The machine opens soon. Follow the build in Digital Renaissance · @0xsarac · a NeuraByte Labs experiment.