Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Honor LV2_PATH/VST3_PATH #1189

Open
1 task done
tobiasBora opened this issue Jan 18, 2023 · 1 comment
Open
1 task done

[Bug]: Honor LV2_PATH/VST3_PATH #1189

tobiasBora opened this issue Jan 18, 2023 · 1 comment

Comments

@tobiasBora
Copy link

Detailed steps on how to reproduce the bug

Start a JUCE program, e.g. BespokeSynth: plugins listed in VST3_PATH are not taken into account.

What is the expected behaviour?

The PATH to search for LV2/VST3 should honor the LV2_PATH/VST3_PATH environment path (colon separated list of folders to search for the VST plugins). This is already done for the LADSPA format here and VST here so it should not be to hard to modify (actually any reasons why on MacOS you don't read this variable as well?):

Motivation

Plugins can be located in various places on the system. While LV2 proposes LV2_PATH to search for the paths, the spec for VST3 only mentions fixed paths: unfortunately, sometimes these paths can be impossible to use, either because the OS does not provide such path for security or purity reasons (e.g. Flatpack or NixOs) or because the programs are run without installing them (e.g. nix provides nix run that can run a program without installing it, and I know some people trying to build around it a whole linux music portable installation this way, like https://codeberg.org/PowerUser/universal-studio that actually bundles BespokeSynth… except that it can't detect the plugins for the reasons explained here).

Multiple people reported this as an issue here, and some of them started to use VST3_PATH including Ardour and Carla. It would be great to see BespokeSynth here as well!

Related: BespokeSynth/BespokeSynth#1063

Operating systems

macOS, Linux

What versions of the operating systems?

All of them (tested on NixOs, but the code is explicit)

Architectures

x86_64, ARM, Other, 64-bit, 32-bit

Stacktrace

No response

Plug-in formats (if applicable)

VST3, LV2

Plug-in host applications (DAWs) (if applicable)

All (tested in Bespokesynth)

Testing on the develop branch

The bug is present on the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct
@tobiasBora tobiasBora changed the title [Bug]: Honnor VST_PATH/VST3_PATH [Bug]: Honnor LV2_PATH/VST3_PATH Jan 18, 2023
@tobiasBora tobiasBora changed the title [Bug]: Honnor LV2_PATH/VST3_PATH [Bug]: Honor LV2_PATH/VST3_PATH Jan 19, 2023
@pjhenning
Copy link

This would be great to have added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants