strudel-music

Convert prompts into Strudel patterns and render them to WAV/MP3.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/karmaterminal/strudel-music --skill strudel-music-karmaterminal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strudel-music
Source: https://github.com/karmaterminal/strudel-music/tree/main
Command: npx skills add https://github.com/karmaterminal/strudel-music --skill strudel-music-karmaterminal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @discordjs/voice, discord.js, dotenv, node-web-audio-api, @strudel/core, @strudel/mini, @strudel/tonal, @strudel/webaudio, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Strudel Music enables turning natural language prompts into executable Strudel patterns, rendering them offline into WAV/MP3, and optionally streaming the results to Discord, all within a secure, OpenClaw-ready workflow.

Core Features & Use Cases

  • Prompt-to-pattern: converts natural language prompts into Strudel code for immediate composition.
  • Offline rendering: renders patterns to audio using a Node.js-based OfflineAudioContext, producing WAV/MP3 outputs.
  • Audio deconstruction: can deconstruct existing audio into stems and generate generative programs or sample‑based renders.
  • Discord streaming: supports posting and streaming audio into Discord VC via OpenClaw integration.
  • Sample management: ships with sample packs and a local sampler workflow to ingest external packs safely.

Quick Start

Install dependencies with npm run setup, then render a sample composition using the provided CLI.

Frequently Asked Questions about strudel-music

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert natural language prompts into Strudel music patterns?

Strudel patterns are generated by converting natural language prompts into executable Strudel code, enabling immediate composition without manual coding. It uses Node.js and OfflineAudioContext to render audio outputs.

Can I render Strudel patterns offline to WAV or MP3 files?

Offline rendering of Strudel patterns to WAV or MP3 is supported using a Node.js-based OfflineAudioContext. This produces audio files locally without requiring a live browser environment.

Do I need Node.js and ffmpeg to run the Strudel audio rendering pipeline?

Node.js version 20 or higher and ffmpeg are required to execute the Strudel audio rendering pipeline. These dependencies handle offline audio processing, sample management, and Discord streaming setup.

How do I stream offline-rendered audio directly to a Discord voice channel?

Streaming offline-rendered audio to Discord voice channels is supported via OpenClaw integration using @discordjs/voice. The pipeline routes generated Strudel audio directly into Discord VC sessions.

Can I deconstruct existing audio files into stems for generative sample-based rendering?

Existing audio can be deconstructed into stems for generative sample-based rendering using Python Demucs and librosa. This pipeline separates audio tracks and generates Strudel programs or sample-based renderings.

What is the best way to manage local sample packs for Strudel compositions?

Managing local sample packs for Strudel compositions is handled by provided sample-management scripts. These scripts safely ingest external sample packs and integrate them into a local sampler workflow.