Running LV2 plugins in Carla on Windows11?

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

OK - I will try. But as I'm not experienced with GitHub practices you will have to tell me exactly what I have to do. First what do you mean by my Windows box? I'm using Windows Carla on my Linux computer with Wine in this way:

screen.png
screen.png (135.33 KiB) Viewed 12384 times

Is that a Windows box? Besides I also have a Windows11 laptop to do some real Windows testing.

Further I make my plugins with XUiDesigner starting from a Faust file or for later modification from a json file. I don't see how to do it with the Xmonk.

tramp
Established Member
Posts: 2348
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 468 times

Re: Running LV2 plugins in Carla on Windows11?

Post by tramp »

No, I mean just clone the repository to your linux computer, then cd into the top directory of the cloned repository, then run

Code: Select all

git submodule update --int

then run

Code: Select all

./libxputty/build.sh windows

same as if you build a plug with XUiDesigner, only that you need to update the submodule after checkout from github and that there is no json file.

Then copy it over (from the /bin directory) to your windows computer and try if the hanging notes appear with this one as well.

On the road again.
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

Cloning happened, but libxputty is empty:

screenshot.png
screenshot.png (19.35 KiB) Viewed 12306 times

So the commands in the Command Line didn't work. Should I have used something else than "git clone"?

tramp
Established Member
Posts: 2348
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 468 times

Re: Running LV2 plugins in Carla on Windows11?

Post by tramp »

using after git clone

Code: Select all

cd Xmonk.lv2
git submodule update --init --recursive
./libxputty/build.sh windows
On the road again.
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

Yes - now it works.

In Carla under Wine it works mostly OK, most of the hanging notes (kind of) are inaudible (you only see a key hanging without the accompanying sound). However when you leave the keyboard with the mouse in the vertical direction downwards then there are real audible hanging tones. See:

shot.png
shot.png (168.39 KiB) Viewed 12269 times

I will do some more tests with Xmonk.lv2 in other hosts in my following posts.

User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

In the Linux version of Reaper on my Linux computer this happens:

screenshot.png
screenshot.png (20 KiB) Viewed 12263 times
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

In Reaper on my Windows11 laptop Xmonk.lv2 works OK except that it's possible to create audible hanging notes by leaving the LV2's GUI keyboard with the mouse vertically downwards where you release the click outside of the keyboard.

User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

In Windows Carla on my Windows11 laptop Xmonk has the same problem with hanging notes as elsewhere, plus that the larger keyboard that's opened by clicking on the small keyboard on the GUI keeps disappearing.

Can you reproduce the effects of my tests of today?

User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

Tested the Fluida.lv2 in Carla under Wine. The GUI is hard to see, but the plugin works. Strangely there are only inaudible hanging notes here, that is: you see the key being stuck without any continuing accompanying sound. Maybe this has something to do with the nature of the instrument as a soundfont player?

User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

On Linux Reaper:

Screen.png
Screen.png (19.91 KiB) Viewed 12153 times
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

Windows Reaper crashes on my Windows11 laptop as I try to load a soundfont into Fluida.lv2. But not always, when the soundfont does load the plugin works OK.

When opening the GUI looks like this:

Untitled.png
Untitled.png (52.02 KiB) Viewed 12113 times
Last edited by LinMusGuy on Mon Jan 15, 2024 3:29 pm, edited 1 time in total.
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

On Windows Carla on my Windows11 laptop Fluida.lv2 works OK, only strange thing there is that you only have to move with the mouse on the GUI keyboard for the notes to play, they automatically stop when you move the mouse away. Clicking has no effect. On the keyboard of Carla itself under the patchbay the keyboard works normal.

User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

LinMusGuy wrote: Mon Jan 15, 2024 1:19 pm

In Reaper on my Windows11 laptop Xmonk.lv2 works OK except that it's possible to create audible hanging notes by leaving the LV2's GUI keyboard with the mouse vertically downwards where you release the click outside of the keyboard.

Could this be the reason for the hanging notes, that releasing the click outside of the keyboard (or leaving the keyboard area) in some cases isn't recognized as a MIDI message?

User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: Running LV2 plugins in Carla on Windows11?

Post by LinMusGuy »

I have finished my own plugin for now using XUiDesigner. See: https://www.synthforum.nl/threads/38197 ... st-3979654

The LV2 plugin now works in Reaper under Linux and Windows. There's still an occasional hanging note, but that's no big deal (the hanging note can be killed by turning the Polyphony knob).

Let me know if and when it's time for some further tests to be done.

tramp
Established Member
Posts: 2348
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 468 times

Re: Running LV2 plugins in Carla on Windows11?

Post by tramp »

Nice :)

Hopefully I've found the culprit for the hanging note on windows now. There was indeed a missing event when the mouse release outside the window. Even when capture this event it could be lost on windows. Glad-fully windows knows about that issue and trigger a lost event message when that happen. libxputty capture that now as well and generate the missing event on itself.
I've pushed the fix for it now to github. Please update and try if it works for you as well.

On the road again.
Post Reply