I wrote a couple of python scripts for manipulating .vcv patch files. The idea is that a patchlet is a one-row patch that does something specific. A collection of patchlets can form a toolbox for quickly creating new patches.
- a chain of modules that creates a specific effect (similar to an audio effect chain in Ableton)
- a multi-oscillator synth voice that you might want to duplicate multiple times in a patch
(assuming you can’t use polyphony)
- a whole percussion section
- a complex multi-module melody generator
I’ve found this approach useful for my own Rack workflow. Hopefully someone else may also find this helpful.
extractPatchlets takes an existing patch and extracts patchlets, one for each row in the original patch. Cables between modules on the same row are preserved.
combinePatchlets takes a set of patchlets and combines them into one patch.
Executable binaries are available for MacOS.
There are plans to make improvements to this project: Windows binaries, a GUI, a script for appending patchlets, improvements in code efficiency.