Built This Week/Builds

Builds

Strudel AI DJ Mixer

Strudel turns music into readable JavaScript, and LLMs are good at code. Jordan combined the two into a two-deck DJ mixer where an AI button writes a new beat for any channel.

Jordan built an AI-powered two-deck DJ mixer that runs in the browser on Strudel, a JavaScript library for making music with code. Every channel on each deck is Strudel code, and an AI button writes a new beat for that channel. He built it mostly with OpenAI Codex over Labor Day weekend and showed it in Episode 11 (September 5, 2025). It works, but Jordan called it "a little buggy."

Why we built it

Jordan has been DJing since he got turntables at around 10 or 12, and produces music in Ableton Live. Scrolling TikTok, he found creators making music in Strudel and took a screenshot to look into it. Two things clicked: Strudel's syntax is easy to read and edit, and LLMs are great at writing code. So an LLM should be able to make music through it.

The stack

  • Strudel: the live-coding music library behind every channel.
  • JavaScript and React: the mixer interface.
  • OpenAI Codex: wrote most of the app.
  • Claude: helped with some of it.

How we built it, step by step

  1. Learn from the community. Jordan explored examples like a Strudel remix of Charli XCX's "360," where you can read the arrangement, synths and bass line as code.
  2. Test live edits. Changing the intro notes to a single note flattened the melody while the song played.
  3. Design the mixer. Inspired by Ableton and DJ software: two decks with a crossfade between them, multiple channels per deck, an A/B sub-mixer on each deck, master effects and sync.
  4. Back every channel with Strudel code.
  5. Add the AI button. At 05:46:
The the coolest feature, it has AI. So, you know, all of these channels have some AI code behind them or have regular code behind them, Stradell code. And the AI button will help us, like, write new beats.

— Jordan Metzner, Episode 11

  1. Build it with Codex. Mostly OpenAI Codex, some Claude.

How it turned out

On air, it produced techno ("I didn't promise it'd be like amazing techno music"). Jordan mixed drums on channel A against a drumless channel B, added delay, and hit the AI button on the drums repeatedly. Each press gave a different version, so you can work across the whole stack and change how the song sounds. One quirk: each AI press reset the channel's sounds.

I think I used mostly Claude. Actually, I think I used mostly OpenAI Codecs to build this. I think, you know, I could have never built something so dynamic, so progressive without the use of LLMs.

— Jordan Metzner, Episode 11

He said it would otherwise have been a very heavy, expensive development cycle. Sam, who doesn't mix music, thought he could build a basic version in a couple of hours and learn mixing along the way.

What we'd do differently

Jordan didn't list fixes beyond the bugs. His bigger point was that readable, code-based libraries like Strudel let LLMs reach into creative work. We'd already made music with Suno; this is a different, more hands-on kind of music production.

That same episode, Sam and Jordan explained why Ryz Labs engineers were moving from Claude Code to Codex. See Claude Code vs OpenAI Codex, and more on AI in Music. A later music build: the AI retail DJ.

FAQ

What is Strudel live coding?

Strudel is a JavaScript library for making music with code. Jordan found it through TikTok creators; its syntax is easy to read and edit, and you can change the code while the music plays.

How do you build an AI DJ app?

Jordan built a two-deck mixer in JavaScript and React, inspired by Ableton and DJ software. Each deck has several channels with an A/B sub-mixer, master effects and sync. Every channel runs Strudel code, and an AI button generates a new beat or variation for that channel.

Can you live code music with an LLM?

Yes. Because Strudel is just readable code, an LLM can write and rewrite patterns. In Jordan's mixer every press of the AI button produced a different techno beat.

Which AI coding tool did Jordan use for the Strudel mixer?

Mostly OpenAI Codex, with some Claude, over Labor Day weekend. He said he could never have built something this dynamic without LLMs.