Generate live-coding music with Claude and perform it
An author had Claude write Strudel music code from a style description, hand-fixed hallucinated sample names, then restructured it for live performance and recorded it. ·
Done withClaude Code
- What they did
- Emmet Connolly, who had never used Strudel, described a musical style to Claude and asked for Strudel code. He tweaked every line by hand and discarded many, including hallucinated sample filenames. Because he was mostly commenting chunks in and out, he pasted the code back to Claude to restructure for live performance. He ran the output through an audio interface and an effects pedal, then recorded it.
- How it went
- He got a recorded piece on his second attempt, in about 4 hours total including the write-up. He doesn't claim artistic merit and wouldn't listen to it at home.
- Worth knowing
- Expect to hand-fix Claude's Strudel output, since it invented sample names that don't exist. Treat the generated lines as a bank of candidates to whittle down.
Try it yourself with Claude Code
Write me a live-coding music piece in Strudel in the style of [describe genre, mood, tempo, and artists]. Use only sample names that exist in Strudel's default sample library and check each one rather than guessing. Then restructure it into sections I can trigger live, such as [intro, build, drop, outro], and save it as [filename] with a short note on how to perform it.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: thoughtwax.com · Jun 1, 2025
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Automate event social posting across platforms
Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.
Send daily WhatsApp reminders of what to pack for school
A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.
Produce a track in Ableton Live by talking
An MCP server that lets Codex drive Ableton Live, used to write and mix a full song from chat messages.
Build a slide deck from a single prompt
Scout used its pptx skill to build a 5-slide quarterly cloud review deck saved to Downloads, with diagrams and HTML artifacts also covered.
Post a rendered video to Slack when integration fails
Codex read Slack feedback, edited and re-rendered a video, then used Computer Use to click Add file and post it in Slack.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.