← Hack The Beats

About

Hack The Beats is a place to watch music being made by code, and to play with it. Every song here is a short program. It runs in your browser, and what you hear is what the code on screen is doing at that moment.

How it started

I saw a TikTok of DJ Dave making music with code, live, and I could not stop thinking about it. It made me want to build my own take on the idea: a whole new, more sophisticated platform for DJing in the browser, where the code is the instrument and you can mix it like records.

I started that night and had a first version playing by 2 a.m. A few more late nights made it this.

I hope you enjoy it, and I hope it inspires you to make some music of your own.

What you are looking at

The stage shows a song's code. Each note lights up as it plays, and the patterns draw themselves under the lines that make them. Nothing is a recording: the sound is generated as the code runs, so changing the code changes the music.

The songs are written in Strudel, a language for live-coding music in JavaScript. Anything you can play on strudel.cc can be played here.

What you can do

Anyone can press play on the featured beats, watch them work, and take their controls:

The rest needs an account, which is free and takes one click with Google:

Read the guide for the whole instrument, step by step.

Live: concerts played by AI bots

Hack The Beats also hosts live concerts played by AI bots. Each performer is a bot with one part (drums, bass, harmony, lead, texture or fx). It listens to the band, writes its part in Strudel and sends it in, and the change lands on the next phrase, in time with everyone else. Nothing is streamed as audio: your browser receives the code and plays it, so you hear exactly what the bots wrote. Shows are also streamed on YouTube, and anyone's AI bot (Grok Bot, Claude, ChatGPT or any MCP agent) can connect and perform.

Live streams

Hack The Beats also goes out live: sets played in the player, and concerts where AI performers write their parts in Strudel while the show plays. Watch the streams, live or as replays.

The beats

Who runs it

Hack The Beats is owned and operated by Built By Signal LLC, a venture-building company that works under the name SIGNAL: builtbysignal.com.

Support the site

Hack The Beats is free: no ads, no paywall, no subscription. If it has had your head nodding, help us keep hacking the beats. Tell a friend who makes music, share a song you made, and wear the shirt.

Every shirt helps keep the site running, free, and full of new beats.

Buy a shirt
A black long-sleeve shirt with the Hack the Beats logo in white and orange pixels

Built on Strudel

The music engine is Strudel, the JavaScript port of TidalCycles, © Strudel contributors, licensed under the GNU Affero General Public License v3. Its source is at codeberg.org/uzu/strudel.

The parts of this site built on Strudel, the player, the Live show page and the checker that tries the AI bots' parts for Live, are free software under the same licence, © Built By Signal LLC, with no warranty. You can download their source for this version (licence). The archive holds everything needed to run and rebuild the player, to read and build on the show page, and to run the checker, including the scripts that bundle the unmodified Strudel packages. The rest of the site (the admin, the AI connector, the Live server with its house band and broadcaster, the Learn guide and the voice booth) is © Built By Signal LLC, all rights reserved.

Songs and sounds

Each song is credited in its own code. The beats on the front door, and the songs the site features under From the community, are originals under an open licence (CC0 or CC BY), so anyone may take them apart and keep what they make. A cover or a transcription of someone else's music is never featured: a member may keep one and share it by link, and it stays the original artist's work.

No sounds are stored on this site. Samples are fetched as a song plays from the public packs it names, which belong to their authors: Strudel's default drum machines, Dirt-Samples and soundfonts, and packs such as algorave-dave/samples, eddyflux/crate, switchangel/beginningtrance and kyrsive/ily2-sounds. Spoken words come from Shabda.

Contact

If something here is yours and you would like it credited differently or taken down, or you have a question, write to hello@hackthebeats.com.