Page 1 of 1

Embedding Linux Sampler

Posted: Sun Jul 01, 2018 11:20 am
by Jibin
Is it possible to embed "Linux Sampler" into LMMS? Then the developers can concentrate more on the LMMS DAW instead of plugins like GIG, SF2 player etc. Linux sampler would be a great sample player, which is being systematically developed. I checked some other threads relating to samplers, but no one is talking about embedding Linux sampler into LMMS. What say?

Re: Embedding Linux Sampler

Posted: Thu Jul 05, 2018 1:58 pm
by tresf
It may be possible. The codebase seems to be written mostly in C++, which is good, although I cannot determine the language that's used for the UI. If it were Qt, it would stand a better chance as we already bundle that.

I would recommend starting a thread for it on our bug tracker (https://github.com/lmms/lmms/issues/new) or our Discord server (https://lmms.io/chat). You're more likely to engage developers there.

Note that bundling any 3rd party project is a very large undertaking, so although it sounds simple in theory, it would be hundreds of developer hours to have it working so it will always be lower in priority behind bugs, compat issues and crashes.

Re: Embedding Linux Sampler

Posted: Sat Jul 14, 2018 9:29 pm
by Son of a Pitch
tresf wrote:
Thu Jul 05, 2018 1:58 pm
It may be possible. The codebase seems to be written mostly in C++, which is good, although I cannot determine the language that's used for the UI. If it were Qt, it would stand a better chance as we already bundle that.
Linux Sampler itself doesn't have a GUI (runs on console). But QSampler (Linux Sampler wrapper) uses - no surprise - Qt.

If you really want to implement Linux Sampler, I see different options. You can implement Linux Sampler and wrap it into an own LMMS-like looking UI. You can also use QSampler and adapt it to LMMS. In both cases take care about the modified GPL licence of Linux Sampler!

The easiest way is still using Linux Sampler as a plugin. I know, there is a windowsVST version (I haven't tested it with LMMS yet). But IMO it is a bit stupid to run a windows port of a LinuxMMS with a windows port of a LinuxSampler in Windows (or even more stupid in Linux using a windows emulator). IMO, the best way would be a native support of LV2 plugins (not only via Carla) as there is also a Linux Sampler LV2 plugin.

Re: Embedding Linux Sampler

Posted: Sun Jul 15, 2018 8:43 am
by Son of a Pitch
Still thinking 'bout. Implementing the wrapper QSampler and rewrite its wrap (= GUI) would be stupid too.

Re: Embedding Linux Sampler

Posted: Sun Jul 15, 2018 4:18 pm
by Jibin
I still believe that the Linux Sampler is n more advanced than the one built in LMMS. I just thought, if Linux sampler was embedded in LMMS, then the LMMS developers need not waste their time developing a sampler.