Generate live-coding music with Claude and perform it

Here’s a little piece of music that I co-created with AI. Task: The author used Claude to generate Strudel live-coding music scripts based on style descriptions. Human involvement was critical for debugging hallucinated sample filenames and manually tweaking code lines. The workflow involved iterating between Claude and the Strudel REPL, with the author curating and restructuring the code for performance.; tools: Claude Code. Human role: The original post does not say how a person stayed involved.; limitations: Claude hallucinated non-existent sample filenames, requiring manual verification. The author noted that Strudel training data is scarce, leading to imperfect initial code. Significant human effort was needed to tweak each line and reject bad outputs, making it unsuitable for fully automated high-quality music generation..

Tools

Claude Code

Published on Agent Work Atlas:

Overview

Here’s a little piece of music that I co-created with AI.

Workflow

The author used Claude to generate Strudel live-coding music scripts based on style descriptions. Human involvement was critical for debugging hallucinated sample filenames and manually tweaking code lines. The workflow involved iterating between Claude and the Strudel REPL, with the author curating and restructuring the code for performance.

Reported result

The author produced a recorded music piece but explicitly stated it lacked distinct artistic merit and would not be listened to at home. The process took approximately 4 hours, including writing the blog post. The outcome was described as a fun experiment rather than a professional-grade production.

Human role

The original post does not say how a person stayed involved.

Limitations

Claude hallucinated non-existent sample filenames, requiring manual verification. The author noted that Strudel training data is scarce, leading to imperfect initial code. Significant human effort was needed to tweak each line and reject bad outputs, making it unsuitable for fully automated high-quality music generation.

Try it

I want to experiment with AI-assisted live coding music. Please guide me through creating a short Strudel script using Claude. First, I will provide a style description [replaceable input: e.g., 'ambient techno with glitch effects']. Ask Claude to generate the initial Strudel code. Then, help me identify potential hallucinations, such as non-existent sample filenames, and suggest corrections. I will manually tweak the code in the Strudel REPL. Once I have a working snippet, ask Claude to restructure it for easier live performance. Finally, help me document the process and the resulting audio output. Do not claim the music is professional quality; treat this as a creative experiment. Ensure I verify all sample paths before recording.

Original source

Source reports are not independently verified. Publication date is the catalog publication date, not the original article date.

More cases · Content & creative