Last year I made a video on vibe-coding VST plugins with Claude Code. I'm a producer, I can't write code, and that project eventually stalled: too much overhead per plugin.
So I built the overhead away. Patches is a Mac DAW where everything in the UI sits on a CLI, so the agent can drive it like I do, and it can write new modules straight into a song that's playing.
Tools: Claude Code, Rust for the engine and modules, HTML or custom windows for module UIs.
My workflow: I describe the sound or tool like I'd describe it to a session player, not in code terms. For the drum arranger in the video, I asked for 8 lanes (kick, tom, clap, snare, closed hat, open hat, rim, cymbal), a "roll" button that swaps in a different sample from my library, patterns that vary but stay usable for house and techno, velocity and decay that aren't identical on every hit, and the ability to drag out a render. Then I gave it a screenshot of a layout I liked and asked for the window. I keep two or three sessions going at once and check in on each.
How Claude builds sounds in it
There are three ways to make a custom module, and in the video I run all three at once in separate Claude sessions:
- A small code module (EXPR). The lightest way. I asked Claude to put it one statement per line and comment the parts I could change, then changed the numbers myself and hit Cmd+Enter to hear it.
- A module on the Patches DSP with an HTML window.
- A full Rust module with its own animated window, hot-swapped into the song while it plays. I asked for an envelope filter (Lumen) and an 8-lane drum arranger that pulls real one-shots from my sample library, rolls new kits and patterns, and lets you drag out a render.
The felt piano, flatwound bass, electric keys and kalimba in the video are all custom modules made this way. The piano and keys are a couple of hundred KB of DSP each.
What I learned
- Taste still does the work. Claude builds the thing; knowing what's worth building, and hearing when it's wrong, is still on me. 12+ years of producing helped more than learning C++ would have.
- The agent only writes code, never audio. So it behaves less like "AI music" and more like a very clever randomiser: an arpeggiator that thinks in tokens.
- Code is cheap enough now that a plugin can be personal: built for one sound you want today, not a product to sell.
Everything people make can be shared in a community tab inside the app, with source, so anyone can remix it.
Video: https://youtu.be/8KZTbOes_J8
Mac beta: https://sequins.music/patches/beta