LV2 plugins in LMMS with CARLA

Having trouble with LMMS? Ask about it here.
Rakso wrote:
Thu May 02, 2019 12:13 pm
I don't know if this would warrant a new post, but is it possible to add Carla as an effect? It's not by default but could you configure LMMS in some way where you could use LV2 plugins as an effect through Carla. I'm using Linux Mint, I assume it would require some configuration of setting files (if it would even work in the first place), but I have no idea where to find the relevant setting files.

And out of interest are there plans to add native LMMS support for LV2 and what version would have this feature?
we talk about Carla as an effect in this thread https://lmms.io/forum/viewtopic.php?f=7&t=32698 (the short answer is its not possible)
bigjuergo wrote:
Thu Nov 30, 2017 7:07 am
ok it works as i figured out in the suggestion thread :D
bigjuergo wrote:
Wed Nov 29, 2017 8:17 pm
I found out that the LV2 plugin support is already possible with the carla plugin.

you have to add the kxstudio repositories

then type the following cmds

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install lmms
sudo apt-get install carla
sudo apt-get install carla-git
when you open lmms again you have the carla patchbay and carla rack listed in your instrument plugins.
if you add the carla rack to your songeditor you can open the carla GUI.
in the carla GUI you have to define the right path for the LV2 folder and refresh.
after that you can use all plugins that are found in the defined folders.
for testing i loaded the Calf fluid synth opend a *.sf2 soundfont and added the Calf reverb.
the Calf synth was controlled by the piano roll in the song editor.
thx to falkTX for the support in linuxmusician forum (search for:
[SOLVED] LMMS, Carla and Arch64
thread).

after exporting the lmms project to a *.wav i could here all effects defined in the carla GUI rack.

maybe this information can help you.
Looks like the precompiled lmms packages for debian (and derivatives like ubuntu or devuan) don't have carla support compiled in. To fix that, do

Code: Select all

sudo apt-get install build-essential fakeroot devscripts
sudo apt-get build-dep lmms
mkdir -p ~/src/lmms
cd ~/src/lmms
apt-get source lmms
cd lmms-1.2.2+dfsg1
$EDITOR debian/rules
change -DWANT_CARLA=0 to -DWANT_CARLA=1, save and exit editor

Code: Select all

debuild -b -uc -us
cd ..
ls -l *.deb
Then install the generated .deb-packages (without the dbgsym ones) with something like

Code: Select all

sudo dpkg -i lmms_*.deb lmms-common_*.deb lmms-vst-server_*.deb
Tested with carla-git 5:2.3+git20210424 from kxstudio.

Good luck!
bigjuergo wrote:
Thu Nov 30, 2017 7:07 am
ok it works as i figured out in the suggestion thread :D
bigjuergo wrote:
Wed Nov 29, 2017 8:17 pm
I found out that the LV2 plugin support is already possible with the carla plugin.

you have to add the kxstudio repositories

then type the following cmds

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install lmms
sudo apt-get install carla
sudo apt-get install carla-git
when you open lmms again you have the carla patchbay and carla rack listed in your instrument plugins.
if you add the carla rack to your songeditor you can open the carla GUI.
in the carla GUI you have to define the right path for the LV2 folder and refresh.
after that you can use all plugins that are found in the defined folders.
for testing i loaded the Calf fluid synth opend a *.sf2 soundfont and added the Calf reverb.
the Calf synth was controlled by the piano roll in the song editor.
thx to falkTX for the support in linuxmusician forum (search for:
[SOLVED] LMMS, Carla and Arch64
thread).

after exporting the lmms project to a *.wav i could here all effects defined in the carla GUI rack.

maybe this information can help you.
I did all that, and carla and carla control were installed, but they are not showing up in LMMS? How do I fix this?
For all the LMMS users who might want to use LV2 plugins on windows machines, there is a way.

Firstly, go and download Element by Kushview, version : 0.41.1. You can find it in github.

Secondly, download Carla from kx.studio site. Attention! Just this release will work : version - Carla 2.4.1

Install Element by Kushview (don`t forget to install the vst2 plugins in your Vst Plugins folder) and extract Carla in your Program Files folder.

Open LMMS and after that open KV Element from Vestige (not the fx one, that one you can open in the mixer channel) and go to your Carla folder, after that go to Carla.VST folder and drag the CarlaVstShell in the Element plugin. A patchbay will appear, click on it and Carla will now open in LMMS.

If you use no embedding settings in LMMS, just make sure that when you open a LV2 plugin, for example Vitalium, you should re-open the patchbay, which otherwise will go behind the other LMMS windows and the Vitalium plugin will not open in Carla, if you don`t do that. I did not verified without embedding so I don`t know to advise you on that!

Do not forget to connect the modules in Element for audio input and output. For Carla, there is the midi input to Carla midi output (the orange dots) and Carla audio input to audio output (the green dots), which will be 2 to 2, otherwise you will hear the sound in just one channel.

Now you can open Carla in LMMS and use LV2 Plugins.
Mastartiq wrote:
Thu Jul 07, 2022 5:39 am
For all the LMMS users who might want to use LV2 plugins on windows machines, there is a way.

Firstly, go and download Element by Kushview, version : 0.41.1. You can find it in github.

Secondly, download Carla from kx.studio site. Attention! Just this release will work : version - Carla 2.4.1

Install Element by Kushview (don`t forget to install the vst2 plugins in your Vst Plugins folder) and extract Carla in your Program Files folder.

Open LMMS and after that open KV Element from Vestige (not the fx one, that one you can open in the mixer channel) and go to your Carla folder, after that go to Carla.VST folder and drag the CarlaVstShell in the Element plugin. A patchbay will appear, click on it and Carla will now open in LMMS.

If you use no embedding settings in LMMS, just make sure that when you open a LV2 plugin, for example Vitalium, you should re-open the patchbay, which otherwise will go behind the other LMMS windows and the Vitalium plugin will not open in Carla, if you don`t do that. I did not verified without embedding so I don`t know to advise you on that!

Do not forget to connect the modules in Element for audio input and output. For Carla, there is the midi input to Carla midi output (the orange dots) and Carla audio input to audio output (the green dots), which will be 2 to 2, otherwise you will hear the sound in just one channel.

Now you can open Carla in LMMS and use LV2 Plugins.
Very nice!
Can we move this to Tutorials?
musikbear wrote:
Thu Jul 07, 2022 3:08 pm
Mastartiq wrote:
Thu Jul 07, 2022 5:39 am
For all the LMMS users who might want to use LV2 plugins on windows machines, there is a way.

Firstly, go and download Element by Kushview, version : 0.41.1. You can find it in github.

Secondly, download Carla from kx.studio site. Attention! Just this release will work : version - Carla 2.4.1

Install Element by Kushview (don`t forget to install the vst2 plugins in your Vst Plugins folder) and extract Carla in your Program Files folder.

Open LMMS and after that open KV Element from Vestige (not the fx one, that one you can open in the mixer channel) and go to your Carla folder, after that go to Carla.VST folder and drag the CarlaVstShell in the Element plugin. A patchbay will appear, click on it and Carla will now open in LMMS.

If you use no embedding settings in LMMS, just make sure that when you open a LV2 plugin, for example Vitalium, you should re-open the patchbay, which otherwise will go behind the other LMMS windows and the Vitalium plugin will not open in Carla, if you don`t do that. I did not verified without embedding so I don`t know to advise you on that!

Do not forget to connect the modules in Element for audio input and output. For Carla, there is the midi input to Carla midi output (the orange dots) and Carla audio input to audio output (the green dots), which will be 2 to 2, otherwise you will hear the sound in just one channel.

Now you can open Carla in LMMS and use LV2 Plugins.
Very nice!
Can we move this to Tutorials?
Yes, absolutely!
Mastartiq wrote:
Fri Jul 08, 2022 5:55 am
Yes, absolutely!
Done: https://lmms.io/forum/viewtopic.php?t=3 ... 929#p79929
Thank you!
musikbear wrote:
Fri Jul 08, 2022 2:48 pm
Mastartiq wrote:
Fri Jul 08, 2022 5:55 am
Yes, absolutely!
Done: https://lmms.io/forum/viewtopic.php?t=3 ... 929#p79929
Thank you!
My pleasure! Glad to help the community. I hope all the LMMS users will enjoy it and make great music.