Bug: LADSPA plugins still not loading in 3.1.1
Brought to you by:
cannam
Hi,
Although your release notes for 3.1.1 mention a bug fix for LADSPA,SV is not loading any LADSPA plug-after installing the standard Windows package. When first starting SV, an error pops up about the incompatibility of some LADSPA plugins. However, no LADSPA plugins are available in the menu.
I am running the SV 64bit 3.1.1 version on Windows 10.
Thanks for looking into it,
Sam
Unlike the situation with Vamp plugins -- for which SV has an adapter that allows it to use 32-bit plugins from a 64-bit build -- SV can currently only use LADSPA plugins that are built for the same architecture as the SV executable itself. This means in particular that a 64-bit SV build can't load 32-bit LADSPA plugins. Is that the situation here?
Hi Chris,
I think you are right. It appears that Audacity is only available as
32bit for Windows, which I have installed in my 64bit OS. Audacity's
LADSPA package for Windows installed to "C:\Program Files
(x86)\Audacity\Plug-Ins". It appears that SV, by default, scans for
all LADSPA plugins regardless of whether these plugins are in
"C:\Program Files (x86)\" or "C:\Program Files\" in Windows 64bit,
even though only "C:\Program Files\Audacity\Plug-Ins" is specified in
SV's application settings. The incompatibility "Failed to Load"
message that comes up specifies plugins within "C:\Program Files
(x86)\Audacity\Plug-Ins".
Perhaps, the 64bit SV's default behavior should be not to scan for
LADSPA plugins in C:\Program Files (x86)\ , which would most likely be
32 bit, unless the SV user has added that path in the settings.
You might want to consider adding an option to hide the same "Failed
to Load" message (e.g., check box) from popping up again. Otherwise,
the same message comes up every time I start SV, despite "C:\Program
Files (x86)\Audacity\Plug-Ins" not being specified in SV's settings.
Currently, to avoid the message, I have to uninstall Audacity's LADSPA
package to avoid the error message. Also, perhaps the :Failed to Load"
message should specify that SV 64bit is not compatible with 32bit
LADSPA plugins?
Digging in further, there are a few problems here:
To add to point 1 above: although SV currently has no way to run 32-bit LADSPAs on a 64-bit system, it does have a mechanism to check them on startup - the same 32/64-bit checker helper executables that are used for Vamp plugins can also be used for LADSPAs. They shouldn't be, because SV can't then run the 32-bit versions, but they are.
If all the DLL files in the 32-bit LADSPA plugin directory were actually loadable as 32-bit LADSPA plugins, then SV would show no errors. It still wouldn't show the plugins though, because it still can't actually load them.
These problems need fixing, but a better long-term fix for the whole issue would be to add support for 32-bit LADSPAs in an external helper, as for Vamp plugins. That is not actually all that massive an undertaking and I might consider it.
Last edit: Chris Cannam 2018-09-04