Skip to content
agentusehub
Sign in+ Submit
Generate live-coding music with Claude and perform it

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.

Read the experience
Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

“Generate live-coding music with Claude and perform it” is a Content & Creative AI agent workflow from Any. It connects Claude Code in 3 steps.

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.

Reported experience

  1. 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.

  2. 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.

  3. 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.

Example prompts

Try 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.

Frequently asked questions

What does the “Generate live-coding music with Claude and perform it” workflow do?

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.

Which tools do I need?

You need Claude Code.

How long does it take to set up?

The guide walks through 3 steps, starting with “What they did”.

Coding · Advanced
  1. Write migration plan
  2. Agent edits in batches
  3. Tests per batch

Ship a 40-file refactor with a coding agent

Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.

Claude Code · GitHub Copilot
Add this badge to your site

Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges

Featured on AgentUseHub