strudel-music
Audio deconstruction and composition via Strudel live-coding. Decompose any audio into stems, extract samples, compose with the vocabulary, render offline to WAV/MP3.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/karmafeast/strudel-musicā ļø Legal Notice: This tool processes audio you provide. You are responsible for ensuring you have the rights to use the source material. The authors make no claims about fair use, copyright, or derivative works regarding your use of this tool with copyrighted material.
Strudel Music šµ
Compose, render, deconstruct, and remix music using code. Takes natural language prompts ā writes Strudel patterns ā renders offline through real Web Audio synthesis ā posts audio or streams to Discord VC (via the OpenClaw gateway ā no separate credentials needed). Can also reverse-engineer any audio track into stems, samples, and generative programs.
New here? Read docs/ONBOARDING.md for a ground-up introduction.
ā ļø SESSION SAFETY ā READ THIS FIRST
Rendering MUST run as a sub-agent or background process, never inline in your main session.
The offline renderer (chunked-render.mjs / offline-render-v2.mjs) runs a tight audio-processing loop that blocks the Node.js event loop. If you run it in your main OpenClaw session, it will kill the gateway after ~30 seconds (the heartbeat timeout).
ā
Correct: spawn a sub-agent or use background exec
ā Wrong: run the renderer inline in your main conversation
Always do this:
# Background exec with timeout
exec background:true timeout:120 command:"node src/runtime/chunked-render.mjs src/compositions/my-track.js output/my-track.wav 20"
Or spawn a sub-agent:
sessions_spawn task:"Render strudel-music composition: node src/runtime/chunked-render.mjs ..."
This is the #1 way to break things. Don't skip this.
Quick Start
# 1. Setup
cd ~/.openclaw/workspace/strudel-music
npm run setup # installs deps + downloads samples (~11MB)
# 2. Verify
npm test # 12-point smoke test
# 3. Render
node src/runtime/chunked-render.mjs assets/compositions/fog-and-starlight.js output/fog.wav 16
ffmpeg -i output/fog.wav -codec:a libmp3lame -b:a 192k output/fog.mp3
Commands
| Invocation | What it does |
|---|---|
/strudel <prompt> | Compose from natural language ā mood, scene, genre, instruments |
/strudel play <name> | Stream a saved composition into Discord VC |
/strudel list | Show available compositions with metadata |
/strudel samples | Manage sample packs (list, download, add) |
/strudel concert <tracks...> | Play a setlist in Discord VC |
Composition Workflow
- Parse prompt ā select mood, key, tempo, instruments (see
references/mood-parameters.md) - Write a
.jscomposition using Strudel pattern syntax - Render (in background!):
node src/runtime/chunked-render.mjs <file> <output.wav> <cycles> [chunkSize] - Convert to MP3:
ffmpeg -i output.wav -codec:a libmp3lame -b:a 192k output.mp3 - Post the MP3 as attachment or stream to Discord VC
Discord VC Streaming
Metadata
Not sure this is the right skill?
Describe what you want to build ā we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-karmafeast-strudel-music": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
play-guitar-fretboard
ē©č½¬åä»ęęæ - åæ«é跳转å°åä»ęęæå¦ä¹ čµęŗē½ē«
podcast-agent
Search articles on any topic, generate a two-host dialogue script, and synthesize podcast audio via TTS. Turn long reads into listenable content.
ym-mediatoolkit
ęµå¼č§é¢å¤ēå·„å ·é - å缩ćå°é¢ęåćé³é¢č½¬ę¢ļ¼ę éäøč½½å®ę“č§é¢
ressemble
Text-to-Speech and Speech-to-Text integration using Resemble AI HTTP API.
apple-music-dj
Ultimate personalization engine for Apple Music. Analyzes listening history, Apple Music Replay stats, library data, and taste patterns to create intelligent playlists directly in the user's Apple Music library via the MusicKit API. Supports deep cuts discovery, mood/activity playlists, trend scouting, constellation discovery ("surprise me"), playlist refresh/evolution, automated weekly curation via cron, taste DNA cards, compatibility scoring, listening insights, catalog gap analysis, album deep dives, artist rabbit holes, daily song drops, concert prep, and personalized new release radar. Use this skill whenever the user mentions Apple Music, playlists, music recommendations, listening habits, music taste, "what should I listen to", discovering new music, mood playlists, workout playlists, deep cuts, hidden gems, trending music, "surprise me", refreshing a playlist, or anything related to curating their music experience. Also trigger on: "DJ", "mix", "playlist for", "music for", "songs like", "similar to", "what's hot", "new releases for me", "taste DNA", "taste card", "compatibility", "how compatible", "year in review", "listening stats", "what have I missed", "album deep dive", "rabbit hole", "concert prep", "seeing [artist] live", "daily song", "what should I listen to right now", or OpenClaw in the context of music.