“… and now for something completely different:”
[EDIT 20170309 due to extended program]
[EDIT 20170313 using aditional perl library for system()]
If you want to be a beta-tester, you can try the generic LV2-FluidPlug-SF2-builder. Here we go:
apt-get install -y templatetoolkit-perl libipc-system-simple-perl
git clone -b generic https://github.com/dcoredump/GenericFluidPlug
cd GenericFluidPlug
perl ./genericfluidplug <path_to_my_sf2_file> <path_and_name_for_LV2_source_code> <path_and_name_for_LV2_plugin>
cd <path_and_name_for_LV2_source_code>
make DEST=/zynthian/zynthian-plugins/lv2 install
systemctl restart mod-host && systemctl restart mod-ui
Works for me… there is still something to do (e.g. eye-candy for modgui)… should work with every soundfont fluidsynth can load… have tested only with “simple” SF2-soundfonts.
Regards, Holger
P.S.: Complete example with real data:
# install system package (only needed the first time)
apt-get install -y templatetoolkit-perl libipc-system-simple-perl
# get your favorite soundfont and put it to /tmp and unzip it
cd /tmp
wget http://rkhive.com/new/new_banks/masterpiece.zip
unzip masterpiece.zip
# get the magic builder software (only needed the first time)
cd /zynthian/zynthian-sw/plugins
git clone -b generic https://github.com/dcoredump/GenericFluidPlug
# generate your Fluidplug source code
cd GenericFluidPlug
perl ./genericfluidplug /tmp/Masterpiece.sf2 /zynthian/zynthian-sw/plugins/Masterpiece /zynthian/zynthian-plugins/lv2
cd /zynthian/zynthian-sw/plugins/Masterpiece
make install
systemctl restart mod-host && systemctl restart mod-ui
Use/Restart the MOD-UI-engine on your Zynthian, and with a web-browser look at your Zynthian-IP:8888. You should have a (black) plugin inside Generator
which is named Masterpiece
P.P.S.: I just added two options for nicely creating MOD-UI boxes (stomp-box-looking). If you have not installed MOD-SDK you can’t use them. If you have installed MOD-SDK (https://github.com/moddevices/mod-sdk) you can use them with the two options -boxy-style=
style and -knob-style=
style . Set the environment-varibale MODSDK
to the installation path and take a look at $MODSDK/html/resources/pedals/boxy
and $MODSDK/html/resources/knobs/boxy
for available styles.