Liberty Engine — An Anthem With No Conductor
I built an anthem with no conductor.

What it is
Liberty Engine is a self-playing anthem built from scratch with the Web Audio API — no libraries, no samples. Six independent voices, each on its own loop length (4, 6, 8, 12, 16 beats) so they never quite realign and the piece keeps evolving. Mute any voice — even all but one — and the rest play on. Out of many independent loops, one song.
How it’s built
- Oscillators + noise drums + envelopes through a lookahead scheduler; loop lengths with LCM 48 so the full pattern takes 48 beats to repeat.
- Generation kept pure and separate from audio so it’s verifiable headlessly — same seed → same song, and muting one voice provably doesn’t change the others’ schedules.
- Seeded (mulberry32) and shareable by URL.

On the theme
“Out of many, one” as a music engine: sovereign parts, a shared key, and no central clock.
Try it →Code →All the builds →
Shout-out
Part of the competition is cross-referencing other builders. So: shout-out to Jake Strait — shipping browser builds all week; worth following.
Built for Summer Into AI 2026 (Competition #2), hosted by Eric Rhea. More in the build log.