I was looking for a way to easily add new patches (created with my desktop pc) to these plugins in Zynthian, without having to use VNC, and being able to give a custom name to each param, while grouping and sorting the params the way I wanted.
Since this is not possible with standard presets, I developer two plugin wrappers, written in C++, for Cardinal and Vitalium (Vital clone). They are both already installed in Vangelis OS.
These wrappers let you load a patch, give it a name (for the plugin wrapper), customize each parameter’s name, type (int, float, enum, bool, …), range, default value, and group them with custom group names. Then you can export a zip containing the preset folder and the lv2 plugin folder (you need to compile it on zynthian with a c++ compiler).
The main page contains basic instructions to install the c++ compilers and libraries on Zynthian. Each wrapper creator contains its own instructions, but they are (hopefully) quite straightforward to use.
I hope you’ll find them useful, as I do. Feel free to ask questions, report bugs, or suggest improvements and new features.
Hi, what do you mean? It gave you an error, or what else?
Anyway, first of all you need to install Cardinal the right way and enable it in webconf (Software > Engines > Scan for Engines > Check the Cardinal plugin).
Then, after creating the wrapper, you have to copy the Cardinal_[Type]_[Name]_wrapper_cpp.lv2 folder inside /zynthian/zynthian-plugins/lv2/ as explained in the help section.
You can also copy the Cardinal_[Type]_[Name]_wrapper_cpp.preset.lv2 folder into the /zynthian/zynthian-my-data/presets/lv2/ folder.
Finally in webconf you need to enable the plugin (Software > Engines > Scan for Engines > Check the Cardinal plugin wrapper).
This is the best way I found out to have a single Cardinal patch with all the parameters with names, ranges, labels, etc…
But you can also export a single patch as a preset. No named parameters, but it’s an alternative (faster) way to import a patch without using VNC.
Hi, if you can enable the plugin in webconf, it should work. Go to WEBCONF > INTERFACE > UI LOG > ENABLE DEBUG LOGGING and look for errors or other messages related to the plugin. What Raspberry PI and OS do you have? Mine is Raspberry PI 5 with 4 gb RAM and Vangelis OS.
How to export a single patch in a preset ?
If you want to install a preset to use in the standard Cardinal plugin (not my wrapper), you have to copy the Cardinal_[Type]_[Name].preset.lv2 folder inside /zynthian/zynthian-my-data/presets/lv2/
This way the Cardinal patch will be Base64-encoded inside the preset, but you won’t have named parameters, just param1..24.
If you want to change parameters names with the standard Cardinal plugin, without installing my wrapper, you can copy the Cardinal_[Type]_[Name].lv2 folder to /zynthian/zynthian-plugins/lv2/
This way the default parameters names will be overwritten for EVERY patch or preset you will load form now on inside the standard Cardinal plugin.
I put cardinal_FX_example.lv2 in zynthian/zynthian-plugins/lv2. After webconf scan engine, it appears, i enable it (cardinal FX is enabled in engines). When i add cardinal FX (example) as audio effect, zynthian enter in an infinite loop…
I put cardinal_FX_example.preset.lv2 in zynthian/zynthian-my-data/presets/lv2/, i scan for presets in webconf and in cardinal effect (it loads normally), but preset does not appear in list…
I believe i did not understand some points. Must i load the vcv patch in gui cardinal ?
I tried cardinal FX with a simple vcv patch i loaded in cardinal GUI and i overwrited the template.
It’s working. When i reboot it is ok. But the params are not named…