hydrogen-music / hydrogen

The advanced drum machine for Linux, macOS, and Windows
http://www.hydrogen-music.org
GNU General Public License v2.0
1.03k stars 172 forks source link

no ladspa pugins #1309

Open Reaper10 opened 3 years ago

Reaper10 commented 3 years ago

Hydrogen version * : 1.0.2 Operating system + version : windows 10 Audio driver + version :


no ladspa pugins Screenshot 2021-06-29 161812

dfkettle commented 3 years ago

Having the same problem here with v1.1.0-beta1 on Windows 7 (64-bit). If you need someone to help with testing under Windows, let me know.

aomahana commented 2 years ago

Confirming, same issue with Windows 10 64 bit, Hydrogen V 1.1.1

theGreatWhiteShark commented 2 years ago

Confirming, same issue with Windows 10 64 bit, Hydrogen V 1.1.1

That's quite odd. LADSPA should be enabled in both v1.1.1 and v1.1.0-beta1.

Could you try either Hydrogen-1.1.1-win64.exe or Hydrogen-1.1.1-win32.exe? I used them recently to debug and check LADSPA support on my local machine. Do they show the same warning?

aomahana commented 2 years ago

Hi,

No, there is no warning message. What windows version of LADSPA did you use to test with? Can you send me a link so I can re-check? Reverb would be the most useful FX.

Reaper10 commented 2 years ago

1..0.2

aomahana commented 2 years ago

Hi,

If 1.0.2 is directed at me - I was asking what windows version of LADSPA you are testing with, and where to find it. I am using the current version of Hydrogen, v1.1.1

theGreatWhiteShark commented 2 years ago

What windows version of LADSPA did you use to test with?

Hydrogen was build using LADSPA SDK 1.17-1 (using the MSYS2 pacman package mingw-w64-i686-ladspa-sdk-1.17-1). But I'm not sure whether the LADSPA version is that relevant here since it's a quite old plugin format and I do not expect it to have changed much in the recent years.

The big problem I encountered during testing was that I couldn't find a single LADSPA plugin that was working and had to compile a couple of them myself (see #1453). But I'm not a Windows user, so, maybe I just didn't searched the right places.

aomahana commented 2 years ago

Thanks for that.

I had not seen the #1453 discussion. LADSPA seems essentially to be an obsolete unsupported format, especially at 64 bit. I also had not been able to find any Win 64 LADSPA plugins.

So unless someone creates an alternative plugin host in Hydrogen, or writes new LADSPA Win 64 plugins, it seems there is no usable FX rack in Hydrogen for Windows 64.

Hydrogen is still wonderful, and has been improved greatly with recent fixes. An FX rack would be great, especially if it hosted VST, but I realise how much work this could be. And in the meantime, Hydrogen is still awesome ....

trebmuh commented 2 years ago

I also had not been able to find any Win 64 LADSPA plugins.

See here: https://www.fosshub.com/Audacity-old.html?dwl=LADSPA_plugins-win-0.4.15.exe

theGreatWhiteShark commented 2 years ago

or writes new LADSPA Win 64 plugins

There is no need to write new ones or do a major rewrite of the old one. In general, all that is required is to adjust the make and cmake files of existing projects and to bundle the compiled results. But, yes, with the advent of VST and LV2, especially in terms of compressor and EQ handling, plugins improved a lot.

Adding support for other plugin types would probably be quite some work. But this alone won't cut it. The Hydrogen Mixer itself would require a huge overhaul since right now only 4 effects placed exclusively in aux channels can be used. Well, it's not on anyone's todo list but the topic is popping up from time to time and it maybe be tackled eventually.

See here: https://www.fosshub.com/Audacity-old.html?dwl=LADSPA_plugins-win-0.4.15.exe

I tried those as well as the LADSPA plugins shipped with LMMS. But, unfortunately, neither of them work with Hydrogen. (Maybe some missing compiler options preventing them from being loaded via Qt? Don't know...)

aomahana commented 2 years ago

Yes, the Audacity 0.4.15 LADSPA files are 32 bit and the .dll install in C: Program Files (x86) / Audacity / Plug-ins. When you open Hydrogen / Mixer / FX / Edit .... Hydrogen does not see them. Is there another location they could be installed, or is there a way of selecting the path in Hydrogen? Or will 32 bit LADSPA .dll just not work with a 64 bit Windows OS?

theGreatWhiteShark commented 2 years ago

Is there another location they could be installed, or is there a way of selecting the path in Hydrogen?

There is the data/plugins folder in the .hydrogen directory within the user's home folder. When putting it there Hydrogen should be able to find it. You can check by starting it from the console with the -VDebug option. If Hydrogen attempts to load the plugins but fails, this should show up in the log.

Or will 32 bit LADSPA .dll just not work with a 64 bit Windows OS?

This, unfortunately, I do not know. I'm neither into Windows nor computer architecture in general.

aomahana commented 2 years ago

I installed the Audacity LADSPA dlls in hydrogen / data/ plugins in both Win 10 64 and Win 7 32. Neither show up in hydogen/ mixer/ FX /edit window. Looking at debug /user data directory /plugins I can see the dlls. The debug log shows : Effects:: getpluginList Error loading the library.

theGreatWhiteShark commented 2 years ago

The debug log shows : Effects:: getpluginList Error loading the library.

Same here. Qt is not able to load these shared libs.

cme commented 2 years ago

Or will 32 bit LADSPA .dll just not work with a 64 bit Windows OS?

Correct, 64 bit processes can't use 32 bit libraries in general. For instance passing a pointer to a buffer at an arbitrary 64-bit address, there would be no way to address this with a 32 bit pointer.

Theoretically it might be possible to make it work for a specific API, or to use a separate 32-bit host process, but that wouldn't be a trivial task.