agentusecasesAll 965 use cases
Content & Creative

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.

Read the original ↗

Source: thoughtwax.com · Jun 1, 2025

Five of these in your inbox every morning

The best things people got an AI agent to do, each with the prompt to try it.

More like this