lmms icon indicating copy to clipboard operation
lmms copied to clipboard

LV2 support

Open ksnd opened this issue 12 years ago • 57 comments

ksnd avatar Apr 04 '14 15:04 ksnd

+1 :+1:

DoosC avatar Apr 05 '14 20:04 DoosC

Some day, for sure...

diizy avatar Apr 05 '14 21:04 diizy

Let me take a minute to second this feature request. Currently, it seems that only LADSPA effect plugins can be used (no way to use instrument plugins), and there's no support for LV2 plugins of any kind.

I think supporting LADSPA and/or LV2 instrument plugins would greatly benefit LMMS, as it opens LMMS up to a wealth of instruments that are readily accessible in various Linux distro repositories.

I wrote a sound engine and some synths from scratch a couple months ago, and was wondering if I couldn't take some of the stuff I wrote and turn it into something people could use in LMMS and other music applications.

I would presume LV2 to be the best answer to this, being a standard in the Linux community, but as far as I can tell the only way for instruments in LMMS is to tailor a proprietary-format plugin specifically for LMMS.

(EDIT: apologizes for the confusion- by 'proprietary' here, I mean 'made for LMMS and probably used exclusively by LMMS'. Other programs could use the format, certainly - it's open-source. But in reality I doubt such programs exist. When I want to develop a audio plugin that could be used in multiple audio applications, I'm probably going to want to use something more standardized. Thus the need for a LV2 host.)

I'm a programmer myself; While my hands are tied at the moment, I might try to hack something up on my own if this issue just gets completely ignored.

As far as implementation goes, it appears that Lilv would be the way to go. There's a nice example host, Jalv to show how Lilv is used.

My one question to any LMMS dev'rs out there is: If someone were to implement a LV2 host for both instruments, would that be done via the LMMS plugin? Would it be independent of the instrument plugins? Or would it be a mix of the two?

ghost avatar Apr 22 '14 02:04 ghost

There's nothing proprietary about the LMMS native plugin format. LMMS is all entirely open source and so are all our existing plugins, as well as our plugin format.

If you want to write an instrument for LMMS, I suggest taking one of the existing instruments - a good, simple one is Bitinvader, it's very basic - and looking at the source code to see how things are done. For effect plugins, my Amplifier is a good, simple example.

As for an LV2 host, you'd either need to write two separate hosts, one for instruments and another for effects. Or one host and two front-ends to use it on the LMMS side. I'd suggest taking a look at how things are done on the VST side. Also Zyn can be a good example too.

diizy avatar Apr 22 '14 04:04 diizy

You might want to assign this to me

cc @tobydox

grejppi avatar May 13 '14 18:05 grejppi

@grejppi, so you're offering to work on LV2 support? That'd be great!

I would assign you, but you're not in the dev group, and I can't seem to be able to add you, so you'll have to wait for @tobydox to do it...

diizy avatar May 13 '14 19:05 diizy

Done.

tobydox avatar May 13 '14 20:05 tobydox

Bumping to 1.3 (really 2.0) since it will get lost in 1.2. :pizza:

tresf avatar Jan 10 '15 02:01 tresf

@badosu wrote Mar 10:

@tresf Well, unfortunately this is totally alien for me, so it will take a while :-). I made some progress building a generic QT host for lv2 plugins, adapting Jalv, see:

http://bado.so/2015-03-06-031713_1919x1045_scrot.png image

This is amSynth on the jalv.qt host that I am helping develop, this will be useful as the analogue for the "controls" menu we use on VSTs to access parameters hidden by the UI or that need automation.

:)

tresf avatar Mar 10 '15 05:03 tresf

I like the third this request, because I just found out, I could use calf studio plugin in lmms if we had an lv2 host.

Gps2010 avatar Jun 21 '15 00:06 Gps2010

Will you be replacing the LMMS versions of the CALF plugings better GUI of the LV2 versions of the CALF plugings where you can? After all you don't need two versions of the CALF plugings.

Reaper10 avatar Oct 03 '15 18:10 Reaper10

Yes, although if backwards compatibility is an issue, we may decide to keep both for a while (all speculative, LV2 support is a ways out)

tresf avatar Oct 03 '15 18:10 tresf

I found LV2 versions of the MDA Piano VSTIs -----> http://git.elephly.net/gitweb.cgi?p=software/lv2-mdametapiano.git They should be built into LMMS.

Reaper10 avatar Oct 04 '15 00:10 Reaper10

@Reaper10 In my opinion it does not make sense to build everything and the kitchen sink right into LMMS. There's a reason that plugins are called "plugins". :wink:

michaelgregorius avatar Oct 04 '15 17:10 michaelgregorius

There's a reason that plugins are called "plugins". This is true but LMMS could a acoustic piano plugin build in. Besides that Vst are extremely loading.

Reaper10 avatar Oct 05 '15 17:10 Reaper10

There's a reason that plugins are called "plugins". This is true but LMMS could a acoustic piano plugin build in. Besides that Vst are extremely loading.

Then we should improve the plugin support and not make more native plugins.

Umcaruje avatar Oct 05 '15 20:10 Umcaruje

@Reaper10 If LV2 support is implemented (which is what this issue is about) then you should be able to install the piano plugin you have linked and simply use it. Pulling all kinds of plugins and effects into LMMS' code base puts a large burden on the developers to keep them all up to date. Let's not turn LMMS into an ~~Linux~~ audio distribution. :wink:

michaelgregorius avatar Oct 05 '15 20:10 michaelgregorius

What's the status of this issue?

suhr avatar Feb 12 '16 16:02 suhr

@suhr personally I'm unwilling to work on this before 1.2 is out of the way

grejppi avatar Feb 12 '16 17:02 grejppi

I know that this https://www.youtube.com/watch?v=ZsgA04tfiwc is in no way a 'solution', but just want to mention it, because it does work. An option Export-all-button-settings-to-automation on this ui: https://lmms.io/wiki/images/0/08/Synth1_dial_array.png Would make it easy. Other 'solutions' of same kind can be found here: https://www.google.dk/search?q=redneck+solutions+pictures&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwja08vk4IPLAhXIDQ4KHWmBAjkQsAQIGw&biw=1007&bih=635 :black_joker:

musikBear avatar Feb 19 '16 11:02 musikBear