pouët.net

Waldecho 256b by Desire [web]

Waldecho
256b intro for Linux
by dominikr ^ dSr
Released@ROMA.EXE 2026
----------------------

There haven't been many tiny Linux intros with sound
in recent years - mainly because `aplay` got dropped
from most standard installations.

But we can just write our own static ALSA library...
no external dependencies, all in 256 bytes.

Featuring a 48kHz bytebeat, and a visualization of
the audio to the framebuffer@1920x1080.


This demo expects an ALSA-compatible soundcard at
/dev/snd/pcmC0D0p. If it doesn't find one, it will
try pcmC1D0p and so on.
The soundcard must support 48kHz, 2 channel, 16bit
signed audio (should be standard for any modern
card).
`waldecho-2ndsoundcard` will start from pcmC1D0p
instead.


Needs framebuffer permissions for the current user.
Add them with "sudo usermod -a -G video $(whoami)".
Then switch to the console with Ctrl-Alt-F2, log in,
and run it.
Exit the standard unix way with Ctrl-C.


Special thanks to Nuclear for pointers in the right
direction and testing.