Page 1 of 2
VST_PATH Audacity 2.1.3
Posted: Wed Mar 22, 2017 8:47 pm
by arnaudf92
Hi,
I use Audacity 2.1.3 with VSTs on Windows 10 and I wonder if the behaviour stated in wiki for VST lookup is correct.
(
http://manual.audacityteam.org/man/inst ... st_install)
Indeed, I prefer to use a VST_PATH system environment variable. However, when configured Audacity doesn't find the VSTs.
But it's ok with registry and Steinberg directory.
Regards,
AF.
Re: VST_PATH Audacity 2.1.3
Posted: Thu Mar 23, 2017 12:34 am
by arnaudf92
Hi,
I think I found the issue.
In the code of VSTEffect.cpp
The tokenizer at line 354 should be turned into:
Code: Select all
wxStringTokenizer tok(vstpath, ";");
//with the ";" delimiter
Re: VST_PATH Audacity 2.1.3
Posted: Sun Feb 25, 2018 11:09 am
by arnaudf92
Hello,
Any chance to include this fix in master ?
Alternatively how can I submit a patch ?
Re: VST_PATH Audacity 2.1.3
Posted: Mon Feb 26, 2018 9:11 am
by steve
arnaudf92 wrote:Alternatively how can I submit a patch ?
To submit patches yourself, there are two ways:
* As a pull request on GitHub:
https://github.com/audacity/audacity
* Email a patch to the developer's mailing list:
https://sourceforge.net/projects/audaci ... city-devel (registration required)
or, the easiest way for small patches - just tell us about it here on the forum (as you have done), and we will forward it to the developer's mailing list (which I shall do now).
Thanks
Re: VST_PATH Audacity 2.1.3
Posted: Sun Mar 28, 2021 6:11 pm
by steve
Rather a late reply, but this is logged on the Audacity bug tracker as bug 2723.
Re: VST_PATH Audacity 2.1.3
Posted: Sun Mar 28, 2021 6:36 pm
by arnaudf92
Hi,
No problem

Here is a little code variant that I use for recent Audacity version:
Code: Select all
#if defined(__WXMSW__)
wxStringTokenizer tok(vstpath,";");
#else
wxStringTokenizer tok(vstpath);
#endif
It is inserted in VSTEfect.cpp after these lines, around line 400:
Re: VST_PATH Audacity 2.1.3
Posted: Sun Mar 28, 2021 6:57 pm
by steve
If you have a GitHub account, perhaps I could encourage you to post a pull request with this fix.
The Audacity GitHub repository is here:
https://github.com/audacity/audacity
There's due to be a bug-fix release (Audacity 3.0.1) very soon, so I think it would be nice to get this fix in quickly.
Re: VST_PATH Audacity 2.1.3
Posted: Sun Mar 28, 2021 8:09 pm
by arnaudf92
Hi Steve,
I just begin to prepare the PR and so I sync the master.
I guess a fix has just been included as I see the following code in VSTEffect.cpp (line 405):
Code: Select all
wxStringTokenizer tok(vstpath, wxPATH_SEP);
The history confirms this.
Regards.
Re: VST_PATH Audacity 2.1.3
Posted: Mon Mar 29, 2021 4:28 pm
by waxcylinder
A fix for this has been made by ob eor the developers
https://bugzilla.audacityteam.org/show_bug.cgi?id=2723
I, personally, have no idea of how to test this -
way above my nerd-level
@arnaudf94: if you would be interested in testing this please PM me and I can tell you where to find an alpha build with this fix.
Otherwise it's a case of waiting for 3.0.1 and seeing then if it works for you.
Peter.
Re: VST_PATH Audacity 2.1.3
Posted: Mon Mar 29, 2021 4:56 pm
by arnaudf92
Hi,
I sent a PM.
However here are possible steps for a test :
Code: Select all
- Install a vanilla version of Audacity (and/or delete or move pluginregistry.cfg)
- Make sure there is no VST reg keys : HKCU\\Software\\VST\\VSTPluginsPath and HKLM\\Software\\VST\\VSTPluginsPath
- Make sure plugins dir has no VST plugin inside : Users\\<username>\\AppData\\Roaming\\audacity\\Plug-Ins
- Install a VST plugin in (for example) : C:\Program Files (x86)\VSTPlugIns
- Set VST_PATH environment variable through GUI or command setx VST_PATH "C:\Program Files (x86)\VSTPlugIns"
- Start Audacity. The plugin should now appear in Effect/Add-Remove plugins
Edit : I currently run a custom version version of Audacity that include ASIO and "my" VST fix.