Sforzando/sfz support for linux

Having trouble with LMMS? Ask about it here.
cronvel wrote:
Tue Apr 14, 2020 3:56 pm
Hurray! I managed to make Sforzando work in LMMS! Not sure what was wrong with Wine, but now it works like a charm!
It would help others, if you could make a tutorial describing exactly what you have done step by step -if you can recreate that
I can't say for sure...
I would recommend those steps (for an up-to-date Fedora Workstation):
  • clone the LMMS github repository
  • install the package dependencies: see the wiki
  • check your "wine" install, install all "wine" packages that seems reasonably related
  • check that your default wine prefix is okay
  • inside the cloned repository, create the build directory and "cd" into it
  • run "cmake .."
  • from the report of cmake, try to install on your system as many dependencies as you can (I mean: even optional one)
  • whenever you have installed something, run "rm * -rf" (you're still inside the "build" directory), and run again "cmake .."
  • run "make" to build LMMS
  • dowload the official Sforzando windows installer from Plogue: link, it should be a windows EXE named something like "WIN_sforzando_vxxx.exe" where "xxx" is the latest version
  • from your donwload user directory, run "wine WIN_sforzando_vxxx.exe" and install it to the default directory (don't forget to use the default wine prefix, since LMMS doesn't allow one to choose the wine prefix when loading a VST)
  • bonus: to avoid browsing tons of directories inside your wine prefix everytime you want to add the Sforzando VST inside a project, copy the dll of the VST into your usual vst directory, on my system it was: "cp ~/.wine/drive_c/Program\ Files/Plogue/sforzando/VST/sforzando\ VST_x86.dll ~/vst/"
  • run LMMS, it is inside the build directory you have created previously
  • add a Vestige instrument in your project, load the "sforzando VST_x86.dll", open the VST GUI, load any working .sfz file and test it! It should work!
cronvel wrote:
Thu Apr 16, 2020 8:53 am
I can't say for sure...
I would recommend those steps (for an up-to-date Fedora Workstation):
  • clone the LMMS github repository
  • install the package dependencies: see the wiki
  • check your "wine" install, install all "wine" packages that seems reasonably related
  • check that your default wine prefix is okay
  • inside the cloned repository, create the build directory and "cd" into it
  • run "cmake .."
  • from the report of cmake, try to install on your system as many dependencies as you can (I mean: even optional one)
  • whenever you have installed something, run "rm * -rf" (you're still inside the "build" directory), and run again "cmake .."
  • run "make" to build LMMS
  • dowload the official Sforzando windows installer from Plogue: link, it should be a windows EXE named something like "WIN_sforzando_vxxx.exe" where "xxx" is the latest version
  • from your donwload user directory, run "wine WIN_sforzando_vxxx.exe" and install it to the default directory (don't forget to use the default wine prefix, since LMMS doesn't allow one to choose the wine prefix when loading a VST)
  • bonus: to avoid browsing tons of directories inside your wine prefix everytime you want to add the Sforzando VST inside a project, copy the dll of the VST into your usual vst directory, on my system it was: "cp ~/.wine/drive_c/Program\ Files/Plogue/sforzando/VST/sforzando\ VST_x86.dll ~/vst/"
  • run LMMS, it is inside the build directory you have created previously
  • add a Vestige instrument in your project, load the "sforzando VST_x86.dll", open the VST GUI, load any working .sfz file and test it! It should work!
Great stuff! Appreciated, If anyone try to install on Linux with these guidelines -chime in and report the success!
I've gotten Sforzando working with WINE also, and it's stable, but it uses a lot of CPU. I have the beautiful Piano 162 sfz soundbank loaded in Sforzando, but even with a Ryzen 7 3800X it spikes the CPU meter in LMMS into the red and distorts when I attempt a fast run or use complex chords.
I popped in to see if anyone had any luck getting Linux-native sfz tools to work such as sfizz or liquidsfz; has anyone had any luck? I can't get appear Sfizz to appear even though I added their repo and followed the install destructions on their page. There's supposed to be a standalone player and an sv2 and I can find neither despite getting no errors with apt.
I've found this forum while searching the way to use SFZ in LMMS.
I'm working in Fedora Workstation. Of course, Sforzando doesn't work in VeSTige pocket. It works in Wine as standalone but I not found it useful at all. It can't even open my self-made SFZ.

So I found another plugins - QiRex Player and PrismAudio SFZ player - both are Windows VST. They work but don't support RoundRobin that I need. SFZ files without RR work well in both.

And only one way that gives a result - run standalone Carla Rack with my SFZ file and control it through MIDI from LMMS capturing sound into any recorder like Audacity. After it recorded sound can be inserted to LMMS project as sound clip. If you need some FX and sound processing you can just add plugins into Carla Rack after SFZ player and adjust connections between them in QJackCtl connection tab.
alex-y28 wrote:
Tue Sep 22, 2020 9:28 am
I've found this forum while searching the way to use SFZ in LMMS.
I'm working in Fedora Workstation. Of course, Sforzando doesn't work in VeSTige pocket. It works in Wine as standalone but I not found it useful at all. It can't even open my self-made SFZ.

So I found another plugins - QiRex Player and PrismAudio SFZ player - both are Windows VST. They work but don't support RoundRobin that I need. SFZ files without RR work well in both.

And only one way that gives a result - run standalone Carla Rack with my SFZ file and control it through MIDI from LMMS capturing sound into any recorder like Audacity. After it recorded sound can be inserted to LMMS project as sound clip. If you need some FX and sound processing you can just add plugins into Carla Rack after SFZ player and adjust connections between them in QJackCtl connection tab.
Great info! Thanks
Besides that, since you are new in Forum
Welcome alex-y28!
Here are all important links:
http://lmms.io/forum/viewtopic.php?f=1&t=4740
-A few rules and useful forum instructions
If you like to introduce yourself, to the community, go here:
http://lmms.io/forum/viewtopic.php?f=4&t=4480
musikbear wrote:
Tue Sep 22, 2020 2:54 pm
Great info! Thanks
Besides that, since you are new in Forum
Welcome alex-y28!
Thank you! It's also great info!
Hi again! A little patch to my previous post.

I've noticed that native Carla SFZ player doesn't work with RoundRobin samples. It just uses the last defined sample in key group. OK, I've contunued my researches. And found Sfizz

https://sfz.tools/sfizz/downloads

In Linux it's realised as LV2 plugin and works good, you even can install it from repository. So, for maximal functionality of SFZ it's enough to add Sfizz into Carla Rack. But for Windows this plugin is built as VST3 only. But LMMS doesn't support VST3 and you can't load Sfizz to VeSTige pocket....