Skip to content
TakoAPI
Back to skills

strudel-music

by karmafeast

Coding Agents & IDEs
—Not yet rated
Your rating

Brief

Compose, render, and play music using Strudel live-coding patterns.

Description

What This Skill Does

Converts natural language prompts into Strudel live-coding patterns, renders them offline to WAV and MP3 without a browser or DAW, and streams the result to Discord voice channels via OpenClaw. Also runs a full audio deconstruction pipeline: separate an MP3 into stems with Demucs, extract samples with librosa, and build a generative composition from the extracted material.

Produces finished audio files from a text prompt in a fully automated pipeline without requiring a browser, DAW, or manual audio editing.

When to Use It

  • Generating background music for a game from a mood and tempo description
  • Extracting drum and bass stems from an existing track to use as samples
  • Streaming a live-coded ambient set to a Discord voice channel
  • Building a custom sample library from your own recorded audio
  • Rendering scored music for video or podcast production without a DAW

Example Workflow

INPUT

User asks: /strudel dark ambient tension, 65bpm

AGENT
  1. 1

    Parse mood and tempo from the prompt using the mood-parameters reference

  2. 2

    Write a Strudel .js composition file with phrygian key, sparse drones, and a low filter cutoff

  3. 3

    Spawn a background sub-agent to run the chunked offline renderer with a 120-second timeout

  4. 4

    Convert the rendered WAV to MP3 with ffmpeg at 192k bitrate

  5. 5

    Post the MP3 as a file attachment or stream it to Discord VC via vc-play.mjs

OUTPUT

An MP3 of a dark ambient track at 65 BPM, posted to Discord or saved as a local file

Installation

clawhub install karmafeast/strudel-music

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links