Skip to content
Tech News
← Back to articles

Maker compresses a 2.9MB song by 1000x and prints it on paper as eight QR codes — 21KB song is two minutes long, requires a neural network for playback

read original more articles
Why This Matters

This innovative project demonstrates how neural audio compression and QR code technology can enable the physical and wireless transfer of full-length audio files in remarkably small sizes. It highlights advancements in data compression, neural codecs, and low-power wireless communication, pushing the boundaries of data storage and transfer methods for the tech industry and consumers alike.

Key Takeaways

A maker known as Makestreme has printed an entire two-minute song onto a sheet of paper, publishing the full build and source code on Hackster.io. The trick is Meta's EnCodec neural audio codec, which crunched a 2.9MB MP3 down to roughly 21KB of latent tokens, a reduction of about 1,000 times, small enough to split across eight QR codes arranged as a double-sided "paper cassette." The same 21KB file was also beamed between two ESP32 boards over LoRa radio, and by our reading of the published transmitter code, that wireless transfer takes around 90 minutes per song.

One QR code tops out at roughly 3KB of binary data, with Makestreme hitting the practical limit at about 3.3KB, so a 2.9MB MP3 would need close to a thousand of them. Conventional compression can't close that gap because MP3 is itself already lossy, which is where EnCodec comes in.

Can you fit an entire song into a QR code? - YouTube Watch On

The open-source codec Meta released in 2022 converts a waveform into discrete tokens that a matching decoder turns back into audio, and at the project's 3 kbps setting, the reconstructed song reportedly held up well. At 1.5 kbps, however, it produced heavily degraded output.

Latest Videos From Tom's Hardware Watch full video here:

Each of the eight QR codes carries a 1-byte ID plus a chunk of the token stream, four codes per side in a nod to flipping a vinyl record. The generator script uses the lowest error correction level to maximize density, so there's no redundancy to spare: damage one code and the song is gone.

LoRa pairs two ESP32s with REYAX RYLR998 modules on 866 MHz, moving the file in 160-byte packets with an ACK-and-retry protocol. The transmitter sketch hard-codes a 40-second pause after every acknowledged packet, and at roughly 134 packets for a 21KB file, the gaps alone add up to about 90 minutes. That pacing is deliberately conservative for duty-cycle compliance, and it's a far cry from the 190 KB/s another developer hit recently by streaming QR codes between phones at 60 FPS.

Printing software on paper dates back to the Cauzin Softstrip of 1985, a 2D barcode that let magazines publish programs at up to 5,500 bytes per strip and faded once floppy disks got cheap. It left behind strips almost nobody can read today, and Paper Tunes inherits the same dependency: the QR codes store tokens, not audio, so playback requires EnCodec's exact 24 kHz decoder.

The paper may last centuries, as Cerabyte argues with its microscopic QR codes etched in ceramic, but the song only survives as long as the neural network that can decode it.

Stay On the Cutting Edge: Get the Tom's Hardware Newsletter Get Tom's Hardware's best news and in-depth reviews, straight to your inbox. Contact me with news and offers from other Future brands Receive email from us on behalf of our trusted partners or sponsors

... continue reading