DBraun / DawDreamer

Digital Audio Workstation with Python; VST instruments/effects, parameter automation, FAUST, JAX, Warp Markers, and JUCE processors
GNU General Public License v3.0
895 stars 65 forks source link

RuntimeError: Unable to load plugin on Ubuntu (Linux) #114

Open music-lover99 opened 2 years ago

music-lover99 commented 2 years ago

When I run soft_clipper = engine.make_plugin_processor("my_soft_clipper", 'path\to\Initial Clipper.dll') on my computer running Windows 10, it works. But when I run that same line on my computer running Ubuntu 20.04, I get an error message.

The error message:

error attempt to map invalid URI '/home/sebas/project/plugins/Initial Clipper.dll'
soft_clipper = engine.make_plugin_processor("my_soft_clipper", 'path\to\Initial Clipper.dll')
Runtime Error: Unable to load plugin

Why is this only working in Windows and not Linux? How can I fix this?

DBraun commented 2 years ago

There may be workarounds, but my first guess is that this Initial Clipper.dll is a Windows-only plugin. You have to find a Linux alternative such as LV2, but I admittedly haven't tried LV2 plugins for DawDreamer. They might work.

music-lover99 commented 2 years ago

What type of plugins should I be looking for Ubuntu? Is .lv2 the only version that might work?

DBraun commented 2 years ago

Yes. I think LV2 support is enabled. Other formats such as LADSPA and ARA are disabled according to the projucer file.

music-lover99 commented 2 years ago

Last thing – where can I find these .lv2 plugins? All I'm finding are .dll and .vst3 plugins.

And shouldn't .so files work since they're the Linux equivalent of .dll files?

DBraun commented 2 years ago

This seems like a good start https://lv2plug.in/pages/projects.html

jorshi commented 1 year ago

I'm running into this issue as well trying to load LV2 plugins on Ubuntu.

Example trying to load a couple LV2 synth plugins on google colab: https://colab.research.google.com/drive/1CXfO1N7XMLVMxVK3Tw-MivBi2RIbPrey?usp=sharing

jtag05 commented 1 year ago

I'm also having issues with LV2 plugins on Ubuntu. I'm curious if there's been any progress on this since it was opened.

marclava commented 1 year ago

A few months ago I explored LV2 support in JUCE, there was issues. I mentioned it to the author of LV2. I made a test plugin to test the issue, maybe it can help: https://github.com/marclava/simple-plugin-gui/tree/lv2_debug