Turn natural-language music requests into editable Strudel, LilyPond, or SuperCollider source, with links and local handoff actions for playback and editing.
Install
- 1Add it in ChatGPT
Open Plugins in the ChatGPT sidebar (web or desktop), search for “Music as Code” and select +. You'll be asked to sign in to any connected service on first use. Then type @ in a chat to call it.
Skills 3
- lilypond
Create, edit, explain, and repair LilyPond scores in local `.ly` files. Hand off a local file and a hacklily.org/wasm link after writing the source. Never open a browser to validate. Use for sheet music, classical scores, parts, lead sheets, engraving, SATB, chamber music, or LilyPond debugging. Do not use for Strudel, live-coding, DAW projects, or rendered audio unless the user also wants LilyPond source.
- strudel
Create, edit, explain, and repair playable Strudel live-coding music in local `.strudel.js` files. Hand off a local file and a strudel.cc link after a local syntax check. Never open a browser or REPL to validate. Use for natural-language music requests, Strudel patterns, algorithmic composition, remixes, arrangement changes, or Strudel debugging. Do not use for rendered audio production, notation engraving, or DAW projects unless the user also wants Strudel source.
- SuperCollider
Create, view, and play SuperCollider source
Things to ask
- “Make a sparse 112 BPM dub-techno loop in Strudel: restrained 909 drums, a minor bass pulse, and hazy electric-piano chords.”
- “Write a D-minor piano sarabande in LilyPond: two eight-bar phrases with a simple left-hand bass.”
- “Make a 96 BPM generative ambient piece in SuperCollider with glassy FM tones and slow minor harmonies.”
Disconnect or uninstall
- 1In ChatGPT
Disconnect an account in Settings → Apps or Plugins. To remove the plugin itself, open Music as Code in the Plugin Directory and select Uninstall plugin. Uninstalling can disconnect every account connected through it, and plugins your workspace installs may not offer the option.
- 2In Codex
Run /plugins in the Codex CLI, select the plugin and uninstall it, or press Space to turn it off.
Music as Code alternatives
SuperpowersPlan, develop, and debug codeplugin · by Jesse Vincent · 294k stars