This the compilation of the master branch, as I say, the data need to be put on /usr/share/Surge Surge.lv2.tar.gz (1.8 MB)
If you want to see the gui with X forwarding and open by carla or jalv.gtk need to install ttf-mscore-installer from apt
This the compilation of the master branch, as I say, the data need to be put on /usr/share/Surge Surge.lv2.tar.gz (1.8 MB)
If you want to see the gui with X forwarding and open by carla or jalv.gtk need to install ttf-mscore-installer from apt
If you want a .deb package Surge has scripts to build one with the appropriate layout and pre-requisites. Right now the LV2 is not included in the .deb (https://surge-synthesizer.github.io/formats for why) but it is a couple of line change to modify that. Let me know if you want me to push a diff to main which lets you do that.
Basically after your prescription to build rather than do the manual install you can
cd installer_linux
./make_deb.sh 1.7.0_beta_zynthian
and you will get a .deb file. Right now the .deb file doesn’t include the LV2 but you can see the lines to comment back in the make_deb.sh script (just search for lv2 and remove the commenting out).
If that ends up working for you I can merge a change to make the LV2 inclusion optional. And also merge a change to not automatically call the deb surge-x64 
Also if you don’t mind, if you post repos which have copies of surge as binaries without the source like this one https://github.com/zynthian/zynthian-surge.lv2, could you please include a prominent and clear link in the README to the root GitHub repo, the end user website (https://surge-synthesizer.github.io/), and an indication that the synth is released under GPL3? I know that repo is transient etc… but still would be appreciated.
Excited that surge can work on your platform.
Thank you.
falkTX already has an arm deb for Surge in the KXStudio repo which provides lv2 so hopefully it will be as simple as waiting for the next release from him and it can be pulled into the nightly image builds. And thankyou for all your encouragement @baconpaul.
I really like the dynamic in this forum!
Can it already work on the zynthian?
This is what I have: OS nightly from 2020-07-15 and Surge installed. Symlink in /usr/local/share to Surge data/patches.
This is what I get: 4 presets and no audio output.
(Yes other lv2 synths work as expected)
It’s ironic that a Pi is probably the most standardized hardware platform out there 
It works for me. But I do the compilation of Surge, I don’t know if the one from the nightly is correctly compiled.
You can try the one I make but put the data in /usr/share/Surge
Regards,
Thanks!
I updated yesterday and my Surge instance is reported as Instrument-Plugin…
I do not get any sound.
Perhaps the following from @lguyome45 is currently missing?
Regards, Holger
It’s commited too.
Surge was installed via webconf. I’m sorry -the debugging log in the webconf was too big for the copy & paste memory. Is this stored somewhere on the zynthian?
@ lguyome45 Thank you tried it, but at the moment I got stuck digging in the guts of the Zynthian, I’ll try again. Now it’s time to make music …
I download the same image, it’s in burning process, I will try to see if I can manage to make sound with this image
Ok, it’s not working.
You need to ssh into your zynthian and do:
sudo apt install libxcb-cursor-dev
After, surge works
@jofemodo I add this line in install_surge_prebuild : https://github.com/zynthian/zynthian-sys/commit/f2e43d3b0871e3dd4149dc213eeca4748321d742#diff-50438dd7147708ee58b78f74ccbed9ef
I also add the recipe install_surge1.7.sh, you just need to decide if we use or not for the creation of the nightly
Yeah at the code level we have a good separation of UI vs non-UI but our plugins follow the VST2/AUv2 style of single dll for UI and Processor, and even though LV2 and VST3 encourage you to not do that we have the single style. So you will need the various UI libs which support vstgui to resolve the symbols in the LV2. (I would love one day for this to not be this way but our UI assumes direct memory access to the processor all over the place so it is just a bucket of work which never makes it to the top of our stack).
We should finalize 1.7.0 around Aug 1; at that point there will be a tag you’ can use for checkout and branch to avoid getting sucked into the various nightly changes we make as we go through late summer / early fall with some big new features planned for the 17 family
Yessss - I have audio
@lguyome45 - you are a hero - yes lxcb-cursor-dev was missing.
I also copied the surge data into usr/share, but still only 4 presets.
Should all factory presets be selectable via the back encoder?
There is for moment only 4 preset, all presets need to be converted, and for moment it’s only done manually.
Thanks @lguyome45!
I just added the missing library to the setup script & recipe.
Tomorrow’s image should work.
Regards!
Theres 1585 presets in the library now, and we are probably going to add another 50 or so showcasing S170 features in the next week. You really really want to figure out a way to script this I think, either by writing lilv code or by converting carefully to the full format including state. Happy to offer advice if you go this route.
I will test it ASAP …
Thanks!
We will find a way of doing it … the cake is too delicious ![]()
Cool. Happy to help - I don’t really know much about LV2 but I do know a lot about surge. Neat stuff!