morukutsu / LondonClockT

Polyrhythm generator VST
MIT License
26 stars 1 forks source link

LV2? #5

Open mxmilkiib opened 2 years ago

mxmilkiib commented 2 years ago

Hello. There's a JUCE fork that adds support for building LV2 plugins, https://github.com/DISTRHO/JUCE and I was wondering if you might be up for using it?

morukutsu commented 2 years ago

Hi, This is the first time I hear about the LV2 plugin standard, living under a rock it seems!

If that JUCE fork is "stable" enough I could try to use it.

Why do you need a LV2 build? Which host are you using to load LV2 plugins?

If this is related to Linux support, it might need a little more work as I am not familiar with debugging audio plugins on the platform. In any case, it's definitely worth trying to build it and see if there is any blocker.

Best

mxmilkiib commented 2 years ago

There's various advantages though a big one is avoiding Steinberg after what they've done with VST2. See https://lv2plug.in and https://github.com/lv2/lv2/wiki for some more. LV2 is multi-platform, and it's just chance @kottv opened that issue earlier, and they manage a fork of @falktx's fork, atm I'm going through my wiki and adding things to https://libreav.org. I'm using Carla as a host.

Edit; if you're considering moving to cmake, there's an article on this from that perspective.

KottV commented 2 years ago

@mxmilkiib please note that falktx has stopped working on JUCE LV2 port afaik, asking devs to use it is doubtful

@morukutsu . jucer project is not suitable for easy add LV2 support moving to CMake is a good option, i'll try to make a PR if you don't mind :)

falkTX commented 2 years ago

@mxmilkiib please note that falktx has stopped working on JUCE LV2 port afaik, asking devs to use it is doubtful

it is momentary until the official situation with juce and lv2 clears, just dont want to do double and wasted effort

KottV commented 2 years ago

@mxmilkiib please note that falktx has stopped working on JUCE LV2 port afaik, asking devs to use it is doubtful

it is momentary until the official situation with juce and lv2 clears, just dont want to do double and wasted effort

i see, good to know

morukutsu commented 2 years ago

@mxmilkiib, Thank you for all the links, the article you provided seems to describe straightforward steps to achieve a LV2 build, really helpful.

@KottV, You're right. Then a first step would be to add a CMake option and rebuild the project. For example, generate the VS2019 project with CMake and rebuild the VST3 to validate the process. Or any other generator, as long as it can build a working plugin. If you'd like to do a PR, it's OK. Otherwise, I can look at it after next week.

After that, we can use @falkTX JUCE fork and build the LV2 plugin, et voilà (hopefully).

dromer commented 2 years ago

JUCE7 preview branch has "official" LV2 now :)