Discussion:
[Audacity-devel] Plug-in path on Linux
Steve the Fiddle
2017-05-15 09:10:51 UTC
Permalink
This came up today on feedback@ and concerns the plug-in path on Linux.

The default path for shipped plug-ins is:

*usr/share/audacity/plug-ins*
or


*usr/local/share/audacity/plug-ins*
Both of these locations require root privileges to write to.

Users may also install plug-ins in their home directory (only requires
normal use privileges) as described in the Manual (
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
and wiki (
http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install) by
creating a folder:


*~/.audacity-files/plug-ins*
So far so good...

but we also have an undocumented folder in:
*~/.audacity-data/Plug-Ins*

(note also the non-Linux-like capitalization)

This seems to have been added 7+ years ago (by Richard Ash ?)

wxString FileNames::PlugInDir()
{
return FileNames::MkDir( wxFileName( DataDir(), wxT("Plug-Ins")
).GetFullPath() );
}

Does anyone know why?
Do we actually want this?

Steve
Gale Andrews
2017-05-16 01:10:38 UTC
Permalink
Post by Steve the Fiddle
usr/share/audacity/plug-ins
or
usr/local/share/audacity/plug-ins
Both of these locations require root privileges to write to.
Users may also install plug-ins in their home directory (only requires
normal use privileges) as described in the Manual
(http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
and wiki
(http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install) by
~/.audacity-files/plug-ins
So far so good...
~/.audacity-data/Plug-Ins
(note also the non-Linux-like capitalization)
This seems to have been added 7+ years ago (by Richard Ash ?)
wxString FileNames::PlugInDir()
{
return FileNames::MkDir( wxFileName( DataDir(), wxT("Plug-Ins")
).GetFullPath() );
}
Does anyone know why?
The Plug-Ins folder in Audacity's application data folder is documented on:
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install

It's the Wiki page that does not mention that folder.
Post by Steve the Fiddle
Do we actually want this?
Does it violate anything on Linux apart from perhaps dubious capitalisation?

It does have the merit of already existing in the user's own space.


Gale
Steve the Fiddle
2017-05-16 08:17:01 UTC
Permalink
Post by Steve the Fiddle
Post by Steve the Fiddle
usr/share/audacity/plug-ins
or
usr/local/share/audacity/plug-ins
Both of these locations require root privileges to write to.
Users may also install plug-ins in their home directory (only requires
normal use privileges) as described in the Manual
(http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
Post by Steve the Fiddle
and wiki
(http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install) by
~/.audacity-files/plug-ins
So far so good...
~/.audacity-data/Plug-Ins
(note also the non-Linux-like capitalization)
This seems to have been added 7+ years ago (by Richard Ash ?)
wxString FileNames::PlugInDir()
{
return FileNames::MkDir( wxFileName( DataDir(), wxT("Plug-Ins")
).GetFullPath() );
}
Does anyone know why?
http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
OK, I missed that, but that documentation is confusing:

It says, or at least implies that *~/.audacity-files/plug-ins* is read only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
Post by Steve the Fiddle
It's the Wiki page that does not mention that folder.
Post by Steve the Fiddle
Do we actually want this?
Does it violate anything on Linux apart from perhaps dubious
capitalisation?
Needless duplication and confusion.
Increased risk of user error, documentation errors (as seen in the current
user manual) and programming errors.
Increased complexity to the search path.
Increased complexity to the documentation

Is the existence of ~/audacity-data/Plug-Ins intentional, or just the
result of a 'harmless' coding error?
If intentional, what's the reason?

As we saw in this forum topic:
https://forum.audacityteam.org/viewtopic.php?f=50&t=95305 there are some
other strange issues with the plug-in search path.

Needless complication is bad for so many reasons that if this additional
"Plug-Ins" path is "needless", then I think it should be removed.

Is this *DataDir() + "Plug-Ins"* path relevant on any other platform, or
can it just be deleted?
Post by Steve the Fiddle
It does have the merit of already existing in the user's own space.
Not really a "merit" as we could just as easily create
~/audacity-file/plug-ins if we wanted to (though I don't see a great need
to do so, and it would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).

Steve
Post by Steve the Fiddle
Gale
------------------------------------------------------------
------------------
Gale Andrews
2017-05-16 16:48:54 UTC
Permalink
Yes, the Plug-Ins folder in the application data folder works on all
platforms for Nyquist, LADSPA and VST plugins.

Now that Audacity is all-in-one on Mac, that folder is essential on
Mac. Otherwise, users will have to drill down into the Contents
folder of the app to add plugins, and will lose their new plugins
when Audacity is upgraded.

So unequivocal -1 from me to deleting it on Mac.

On Ubuntu, your script for returning Nyquist plugin paths returns
undocumented paths:

/home/gale/nyquist
/home/gale/plugins
/home/gale/plug-ins

And I can't make ~/plug-ins see Nyquist plugins. Can you? Are those
three folders not needless duplication (or the reverse, ~/.audacity-files
is needless duplication - and requires showing hidden folders)?

Is there a standard in Linux FHS for this? I can't see one:
http://www.pathname.com/fhs/pub/fhs-2.3.html
It would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).
I don't understand that point. Does that not happen now on Linux?
That is, put the plugin somewhere then enable it in Plug-in Manager?



Gale
Post by Steve the Fiddle
Post by Steve the Fiddle
usr/share/audacity/plug-ins
or
usr/local/share/audacity/plug-ins
Both of these locations require root privileges to write to.
Users may also install plug-ins in their home directory (only requires
normal use privileges) as described in the Manual
(http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
and wiki
(http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install) by
~/.audacity-files/plug-ins
So far so good...
~/.audacity-data/Plug-Ins
(note also the non-Linux-like capitalization)
This seems to have been added 7+ years ago (by Richard Ash ?)
wxString FileNames::PlugInDir()
{
return FileNames::MkDir( wxFileName( DataDir(), wxT("Plug-Ins")
).GetFullPath() );
}
Does anyone know why?
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
Post by Steve the Fiddle
It's the Wiki page that does not mention that folder.
Post by Steve the Fiddle
Do we actually want this?
Does it violate anything on Linux apart from perhaps dubious
capitalisation?
Needless duplication and confusion.
Increased risk of user error, documentation errors (as seen in the current
user manual) and programming errors.
Increased complexity to the search path.
Increased complexity to the documentation
Is the existence of ~/audacity-data/Plug-Ins intentional, or just the result
of a 'harmless' coding error?
If intentional, what's the reason?
https://forum.audacityteam.org/viewtopic.php?f=50&t=95305 there are some
other strange issues with the plug-in search path.
Needless complication is bad for so many reasons that if this additional
"Plug-Ins" path is "needless", then I think it should be removed.
Is this DataDir() + "Plug-Ins" path relevant on any other platform, or can
it just be deleted?
Post by Steve the Fiddle
It does have the merit of already existing in the user's own space.
Not really a "merit" as we could just as easily create
~/audacity-file/plug-ins if we wanted to (though I don't see a great need to
do so, and it would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).
Steve
Post by Steve the Fiddle
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-05-16 18:56:10 UTC
Permalink
Post by Gale Andrews
Yes, the Plug-Ins folder in the application data folder works on all
platforms for Nyquist, LADSPA and VST plugins.
OK, thanks. I thought it might be relevant to other platforms.
Post by Gale Andrews
Now that Audacity is all-in-one on Mac, that folder is essential on
Mac. Otherwise, users will have to drill down into the Contents
folder of the app to add plugins, and will lose their new plugins
when Audacity is upgraded.
So unequivocal -1 from me to deleting it on Mac.
Good. That makes sense for Mac.
Post by Gale Andrews
On Ubuntu, your script for returning Nyquist plugin paths returns
/home/gale/nyquist
/home/gale/plugins
/home/gale/plug-ins
And I can't make ~/plug-ins see Nyquist plugins. Can you?
Just tried it with Audacity 2.1.3 release build. I deleted pluginregistry,
pluginsettings and audacity.cfg files first, then put a know good Nyquist
Effect plug-in into ~/plug-ins and the plug-in was correctly loaded.
It also worked with ~/nyquist and ~/plugins.
Post by Gale Andrews
Are those
three folders not needless duplication (or the reverse, ~/.audacity-files
is needless duplication - and requires showing hidden folders)?
It looks like a lot of duplication to me.
Post by Gale Andrews
http://www.pathname.com/fhs/pub/fhs-2.3.html
http://www.pathname.com/fhs/pub/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES

Looking at other applications on my computer, the most common system is for
an application to have a "dot directory", in which all of its configuration
files, including application specific plug-ins, extensions, themes,
filters, settings and so on are kept.

For example, Gimp has a folder:
~/.gimp-2.8
in which there is:
brushes/
curves/
dynamics/
...
scripts/
templates/
themes/
tmp/
tool-options/
tool-presets/
and then a bunch of plain text configuration files.

Similarly Mozilla Firefox has its "extensions", profile, settings and so on
in ~/.mozilla

Dropbox uses ~/.dropbox

Filezilla uses ~/.filezilla

and so on.


So for Audacity, the "standard" structure would be:
~/.audacity

which would contain: "plug-ins/" (or "plugins/"), "autosave/", "chains/"
and plain text configuration files.

We're not going to be able to do that overnight.
Post by Gale Andrews
It would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).
I don't understand that point. Does that not happen now on Linux?
That is, put the plugin somewhere then enable it in Plug-in Manager?
I mean for the Plug-in manager to "install" plug-ins in the appropriate
location.
Download the plug-in to your Desktop or anywhere, select it in the plug-in
manager, and the plug-in manager installs it (copies it to an appropriate
location and enabled it in Audacity).

Steve
Post by Gale Andrews
Gale
Linux.
Post by Steve the Fiddle
Post by Steve the Fiddle
usr/share/audacity/plug-ins
or
usr/local/share/audacity/plug-ins
Both of these locations require root privileges to write to.
Users may also install plug-ins in their home directory (only requires
normal use privileges) as described in the Manual
(http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
Post by Steve the Fiddle
Post by Steve the Fiddle
and wiki
(http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install)
by
Post by Steve the Fiddle
Post by Steve the Fiddle
~/.audacity-files/plug-ins
So far so good...
~/.audacity-data/Plug-Ins
(note also the non-Linux-like capitalization)
This seems to have been added 7+ years ago (by Richard Ash ?)
wxString FileNames::PlugInDir()
{
return FileNames::MkDir( wxFileName( DataDir(), wxT("Plug-Ins")
).GetFullPath() );
}
Does anyone know why?
http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read
only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
Post by Steve the Fiddle
It's the Wiki page that does not mention that folder.
Post by Steve the Fiddle
Do we actually want this?
Does it violate anything on Linux apart from perhaps dubious capitalisation?
Needless duplication and confusion.
Increased risk of user error, documentation errors (as seen in the
current
user manual) and programming errors.
Increased complexity to the search path.
Increased complexity to the documentation
Is the existence of ~/audacity-data/Plug-Ins intentional, or just the
result
of a 'harmless' coding error?
If intentional, what's the reason?
https://forum.audacityteam.org/viewtopic.php?f=50&t=95305 there are some
other strange issues with the plug-in search path.
Needless complication is bad for so many reasons that if this additional
"Plug-Ins" path is "needless", then I think it should be removed.
Is this DataDir() + "Plug-Ins" path relevant on any other platform, or
can
it just be deleted?
Post by Steve the Fiddle
It does have the merit of already existing in the user's own space.
Not really a "merit" as we could just as easily create
~/audacity-file/plug-ins if we wanted to (though I don't see a great
need to
do so, and it would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).
Steve
Post by Steve the Fiddle
Gale
------------------------------------------------------------
------------------
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-05-16 19:56:34 UTC
Permalink
On 16 May 2017 at 19:56, Steve the Fiddle <***@gmail.com> wrote:
[...]
Post by Steve the Fiddle
Looking at other applications on my computer, the most common system is for
an application to have a "dot directory", in which all of its configuration
files, including application specific plug-ins, extensions, themes, filters,
settings and so on are kept.
~/.gimp-2.8
brushes/
curves/
dynamics/
...
scripts/
templates/
themes/
tmp/
tool-options/
tool-presets/
and then a bunch of plain text configuration files.
Similarly Mozilla Firefox has its "extensions", profile, settings and so on
in ~/.mozilla
Dropbox uses ~/.dropbox
Filezilla uses ~/.filezilla
and so on.
~/.audacity
which would contain: "plug-ins/" (or "plugins/"), "autosave/", "chains/" and
plain text configuration files.
Still, that isn't a long way from ~/.audacity_data so I only see a
medium priority to change to ~/.audacity.

To me, DataDir() + "Plug-Ins" is a reasonable approach and
is uniform on all three platforms.It's perhaps a little superfluous
on Windows but once the user knows how to show that directory
it is arguably easier for a standard user than giving a password
to add plugins to Program Files\Audacity\Plug-Ins.

To me the actual problem is too many other folders that accept
only Nyquist plugins. But as in the Forum complaint you linked to,
actually provide a system path for Nyquist plugins that sysadmins
can use.
Post by Steve the Fiddle
We're not going to be able to do that overnight.
Post by Gale Andrews
It would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).
I don't understand that point. Does that not happen now on Linux?
That is, put the plugin somewhere then enable it in Plug-in Manager?
I mean for the Plug-in manager to "install" plug-ins in the appropriate
location.
Download the plug-in to your Desktop or anywhere, select it in the plug-in
manager, and the plug-in manager installs it (copies it to an appropriate
location and enabled it in Audacity).
Wow, that may be OK if any plugins were available as packages via
OneGet/Chocolatey on Windows or HomeBrew/MacPorts on Mac.

I can't see Audacity handling some of the complex commercial VST
installers that are common on Windows.


Gale
Post by Steve the Fiddle
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Steve the Fiddle
usr/share/audacity/plug-ins
or
usr/local/share/audacity/plug-ins
Both of these locations require root privileges to write to.
Users may also install plug-ins in their home directory (only requires
normal use privileges) as described in the Manual
(http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
and wiki
(http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install) by
~/.audacity-files/plug-ins
So far so good...
~/.audacity-data/Plug-Ins
(note also the non-Linux-like capitalization)
This seems to have been added 7+ years ago (by Richard Ash ?)
wxString FileNames::PlugInDir()
{
return FileNames::MkDir( wxFileName( DataDir(), wxT("Plug-Ins")
).GetFullPath() );
}
Does anyone know why?
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
Post by Steve the Fiddle
It's the Wiki page that does not mention that folder.
Post by Steve the Fiddle
Do we actually want this?
Does it violate anything on Linux apart from perhaps dubious capitalisation?
Needless duplication and confusion.
Increased risk of user error, documentation errors (as seen in the current
user manual) and programming errors.
Increased complexity to the search path.
Increased complexity to the documentation
Is the existence of ~/audacity-data/Plug-Ins intentional, or just the result
of a 'harmless' coding error?
If intentional, what's the reason?
https://forum.audacityteam.org/viewtopic.php?f=50&t=95305 there are some
other strange issues with the plug-in search path.
Needless complication is bad for so many reasons that if this additional
"Plug-Ins" path is "needless", then I think it should be removed.
Is this DataDir() + "Plug-Ins" path relevant on any other platform, or can
it just be deleted?
Post by Steve the Fiddle
It does have the merit of already existing in the user's own space.
Not really a "merit" as we could just as easily create
~/audacity-file/plug-ins if we wanted to (though I don't see a great need to
do so, and it would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).
Steve
Post by Steve the Fiddle
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-05-16 20:04:52 UTC
Permalink
Post by Steve the Fiddle
[...]
Post by Steve the Fiddle
Looking at other applications on my computer, the most common system is
for
Post by Steve the Fiddle
an application to have a "dot directory", in which all of its
configuration
Post by Steve the Fiddle
files, including application specific plug-ins, extensions, themes,
filters,
Post by Steve the Fiddle
settings and so on are kept.
~/.gimp-2.8
brushes/
curves/
dynamics/
...
scripts/
templates/
themes/
tmp/
tool-options/
tool-presets/
and then a bunch of plain text configuration files.
Similarly Mozilla Firefox has its "extensions", profile, settings and so
on
Post by Steve the Fiddle
in ~/.mozilla
Dropbox uses ~/.dropbox
Filezilla uses ~/.filezilla
and so on.
~/.audacity
which would contain: "plug-ins/" (or "plugins/"), "autosave/", "chains/"
and
Post by Steve the Fiddle
plain text configuration files.
Still, that isn't a long way from ~/.audacity_data so I only see a
medium priority to change to ~/.audacity.
To me, DataDir() + "Plug-Ins" is a reasonable approach and
is uniform on all three platforms.It's perhaps a little superfluous
on Windows but once the user knows how to show that directory
it is arguably easier for a standard user than giving a password
to add plugins to Program Files\Audacity\Plug-Ins.
To me the actual problem is too many other folders that accept
only Nyquist plugins. But as in the Forum complaint you linked to,
actually provide a system path for Nyquist plugins that sysadmins
can use.
Post by Steve the Fiddle
We're not going to be able to do that overnight.
Post by Gale Andrews
It would be better would be for a "plug-in manager" to handle
plug-in installation on all platforms).
I don't understand that point. Does that not happen now on Linux?
That is, put the plugin somewhere then enable it in Plug-in Manager?
I mean for the Plug-in manager to "install" plug-ins in the appropriate
location.
Download the plug-in to your Desktop or anywhere, select it in the
plug-in
Post by Steve the Fiddle
manager, and the plug-in manager installs it (copies it to an appropriate
location and enabled it in Audacity).
Wow, that may be OK if any plugins were available as packages via
OneGet/Chocolatey on Windows or HomeBrew/MacPorts on Mac.
I can't see Audacity handling some of the complex commercial VST
installers that are common on Windows.
If a complex commercial VST plug-in has its own installer, then no need
for us to handle the installation.

Steve
Post by Steve the Fiddle
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Gale
Post by Gale Andrews
Post by Steve the Fiddle
usr/share/audacity/plug-ins
or
usr/local/share/audacity/plug-ins
Both of these locations require root privileges to write to.
Users may also install plug-ins in their home directory (only requires
normal use privileges) as described in the Manual
(http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
Post by Steve the Fiddle
Post by Gale Andrews
Post by Gale Andrews
Post by Steve the Fiddle
and wiki
(http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-
ins#install)
Post by Steve the Fiddle
Post by Gale Andrews
Post by Gale Andrews
Post by Steve the Fiddle
by
~/.audacity-files/plug-ins
So far so good...
~/.audacity-data/Plug-Ins
(note also the non-Linux-like capitalization)
This seems to have been added 7+ years ago (by Richard Ash ?)
wxString FileNames::PlugInDir()
{
return FileNames::MkDir( wxFileName( DataDir(), wxT("Plug-Ins")
).GetFullPath() );
}
Does anyone know why?
The Plug-Ins folder in Audacity's application data folder is
documented
Post by Steve the Fiddle
Post by Gale Andrews
Post by Gale Andrews
http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
Post by Steve the Fiddle
Post by Gale Andrews
It says, or at least implies that ~/.audacity-files/plug-ins is read only.
It has incorrect capitalization for file names (very important on a
case
Post by Steve the Fiddle
Post by Gale Andrews
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
Post by Gale Andrews
It's the Wiki page that does not mention that folder.
Post by Steve the Fiddle
Do we actually want this?
Does it violate anything on Linux apart from perhaps dubious capitalisation?
Needless duplication and confusion.
Increased risk of user error, documentation errors (as seen in the current
user manual) and programming errors.
Increased complexity to the search path.
Increased complexity to the documentation
Is the existence of ~/audacity-data/Plug-Ins intentional, or just the result
of a 'harmless' coding error?
If intentional, what's the reason?
https://forum.audacityteam.org/viewtopic.php?f=50&t=95305 there are
some
Post by Steve the Fiddle
Post by Gale Andrews
other strange issues with the plug-in search path.
Needless complication is bad for so many reasons that if this
additional
Post by Steve the Fiddle
Post by Gale Andrews
"Plug-Ins" path is "needless", then I think it should be removed.
Is this DataDir() + "Plug-Ins" path relevant on any other platform, or can
it just be deleted?
Post by Gale Andrews
It does have the merit of already existing in the user's own space.
Not really a "merit" as we could just as easily create
~/audacity-file/plug-ins if we wanted to (though I don't see a great need to
do so, and it would be better would be for a "plug-in manager" to
handle
Post by Steve the Fiddle
Post by Gale Andrews
plug-in installation on all platforms).
Steve
Post by Gale Andrews
Gale
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Post by Gale Andrews
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Post by Gale Andrews
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Post by Gale Andrews
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-05-16 18:32:21 UTC
Permalink
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left in.

I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.

Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.

You can change ~/.audacity-data/Plug-Ins to ~/.audacity-data/plug-ins
and your plugins will still be seen.

See if this is better:
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
.


Gale
Steve the Fiddle
2017-05-16 19:59:44 UTC
Permalink
Post by Steve the Fiddle
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
Post by Steve the Fiddle
It says, or at least implies that ~/.audacity-files/plug-ins is read
only.
Post by Steve the Fiddle
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to ~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_
and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory for
Nyquist plug-ins (in addition to the 'system' location).

The full list of locations on my machine where Audacity apparently looks
for Nyquist plug-ins:

"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"

and

"~/.audacity-data/Plug-Ins"

Steve
Post by Steve the Fiddle
.
Gale
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-05-17 00:05:19 UTC
Permalink
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to ~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity. I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.


Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently looks for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-05-17 13:27:53 UTC
Permalink
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
It says, or at least implies that ~/.audacity-files/plug-ins is read only.
It has incorrect capitalization for file names (very important on a
case
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left
in.
Post by Steve the Fiddle
Post by Gale Andrews
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to ~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_
and_Analyzer_plug-ins_on_Linux
Post by Steve the Fiddle
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory
for
Post by Steve the Fiddle
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.

We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version,
but user installed plug-ins survive both the uninstalling and reinstalling
of Audacity from the command line.

I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
Post by Steve the Fiddle
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
Speaking specifically about Linux:

1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
3) A regular user should only be able to install plug-ins within their user
space.

Looking at this more deeply, it's more complex than first appears.

My documentation is wrong. The Nyquist plug-in path (get
'*system-directory* 'plug-in) is not "the path to Nyquist plug-ins", it is
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;

The subset comes form: GetNyquistSearchPath
which is not documented.

The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.

(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)

Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.

Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.

I need to analyze where Audacity is looking and why....

Steve
Post by Steve the Fiddle
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently looks
for
Post by Steve the Fiddle
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------
------------------
Steve the Fiddle
2017-05-17 14:37:43 UTC
Permalink
This (below) is my analysis of the Nyquist plug-in path on Linux.

I'm not aware of this being documented, but I think it should be documented
somewhere (Cc: to manual@)
I also think it shows some issues that need to be addressed. In particular,
those marked "INCORRECT".


Re: "~/.audacity-data/Plug-Ins"

I'm not convinced by the unconventional and (as far as I can see)
unnecessary location.

If it really does support all types of plug-ins (Nyquist, Linux VST, LADSPA
and LV2), then it is certainly more convenient for users that want to
download arbitrary "shared object" files than installing LADSPA / LV2 or
VST plug-ins correctly, but:

a) Is there a security risk?
b) Even if not a security risk, should we not encourage users to install
shared plug-ins properly?
c) Installing plug-ins that are "approved" by the distro maintainers are
easily installed via the package manager.

Steve


--- START ---

CORRECT (System):

"/usr/[local/]share/audacity/nyquist"
CORRECT location for system wide .LSP files

"/usr/[local/]share/audacity/plugins"
LEGACY location for system wide .NY plug-ins (depricated)

"/usr/[local/]share/audacity/plug-ins"
CORRECT location for system wide .NY plug-ins

"/usr/[local/]share/doc/audacity/nyquist"
CORRECT location for system wide Nyquist documentation
(documentation could also be in the manual, but Nyquist won't
look there by default)

"/usr/[local/]share/doc/audacity/plugins"
LEGACY location for system wide Nyquist Plug-ins (depricated)

"/usr/[local/]share/doc/audacity/plug-ins"
CORRECT location for system wide Audacity/Nyquist Plug-ins
(documentation could also be in the manual, but Nyquist won't
look there by default)

---

CORRECT (User):

"~/.audacity-files/nyquist"
CORRECT location for user .LSP files

"~/.audacity-files/plugins"
LEGACY location for user .NY plug-ins (depricated)

"~/.audacity-files/plug-ins"
CORRECT location for user .NY plug-ins

---
---

CONVENIENT BUT UNNECESSARY AND NOT 'NIX-LIKE:

"~/.audacity-data/Plug-Ins"
UNCONVENTIONAL location for all(?) types of plug-in including .NY plug-ins

---
---

NOT USED (System):

"/usr/[local/]share/locale/nyquist"
CORRECT location for system wide Nyquist Locale information

"/usr/[local/]share/locale/plugins"
LEGACY location for system wide Nyquist Plug-in Locale information
(depricated)

"/usr/[local/]share/locale/plug-ins"
CORRECT location for system wide Nyquist Plug-in Locale information

---

NOT USED (User):

"~/locale/nyquist"
CORRECT location for user Nyquist Locale information

"~/locale/plugins"
LEGACY location for user Nyquist Plug-in Locale information (depricated)

"~/locale/plug-ins"
CORRECT location for user Nyquist Plug-in Locale information

---
---

INCORRECT (User):

These are dangerous clutter.
Users should be able to create non-dot directories for their own data
without risk of affecting applications.

"~/nyquist"
INCORRECT. This would more properly be a user location for stand-alone
Nyquist.


"~/plugins"
INCORRECT: This is dangerous clutter.

"~/plug-ins"
INCORRECT: This is dangerous clutter.


--- END ---
Gale Andrews
2017-05-17 20:32:16 UTC
Permalink
Post by Steve the Fiddle
This (below) is my analysis of the Nyquist plug-in path on Linux.
I'm not aware of this being documented, but I think it should be documented
I also think it shows some issues that need to be addressed. In particular,
those marked "INCORRECT".
Re: "~/.audacity-data/Plug-Ins"
I'm not convinced by the unconventional and (as far as I can see)
unnecessary location.
We have agreed we need some folder like this on Mac.
Post by Steve the Fiddle
If it really does support all types of plug-ins (Nyquist, Linux VST, LADSPA
and LV2),
I never said it supported LV2. It doesn't AFAICT. Audacity can see LV2
folders placed there, but if you enable the effect it does not appear in
the Effect menu and reverts to "New" in Plug-in Manager. Move the
folder to ~/.lv2, and the effect works fine.

"~/.audacity-data/Plug-Ins" supports Nyquist, VST (yes on Linux too)
and LADSPA on all platforms. So it supports the same as the Plug-Ins
folder in the Audacity executable directory on Windows, and the same
as the equivalent folder on Mac if you really want to drill down to it.
Post by Steve the Fiddle
then it is certainly more convenient for users that want to
download arbitrary "shared object" files than installing LADSPA / LV2 or
a) Is there a security risk?
b) Even if not a security risk, should we not encourage users to install
shared plug-ins properly?
c) Installing plug-ins that are "approved" by the distro maintainers are
easily installed via the package manager.
What security risk do you have in mind?

Looking for more LV2 plugins on Linux just now, I found several that had
to be compiled and apparently manually installed. There did not seem to
be a concept of "install properly" there.

Personally I am fine with "~/.audacity/plug-ins" on Linux (supporting Nyquist,
LADSPA and VST) and to trim the plethora of Nyquist-only plugin locations.

Please update http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux

further if you see the need. I think it is sufficiently correct now, but please
tell me if I am missing something obvious. I don't think we need to
document folders that are deprecated or that we may hopefully not be
supporting any longer.



Gale
Post by Steve the Fiddle
--- START ---
"/usr/[local/]share/audacity/nyquist"
CORRECT location for system wide .LSP files
"/usr/[local/]share/audacity/plugins"
LEGACY location for system wide .NY plug-ins (depricated)
"/usr/[local/]share/audacity/plug-ins"
CORRECT location for system wide .NY plug-ins
"/usr/[local/]share/doc/audacity/nyquist"
CORRECT location for system wide Nyquist documentation
(documentation could also be in the manual, but Nyquist won't
look there by default)
"/usr/[local/]share/doc/audacity/plugins"
LEGACY location for system wide Nyquist Plug-ins (depricated)
"/usr/[local/]share/doc/audacity/plug-ins"
CORRECT location for system wide Audacity/Nyquist Plug-ins
(documentation could also be in the manual, but Nyquist won't
look there by default)
---
"~/.audacity-files/nyquist"
CORRECT location for user .LSP files
"~/.audacity-files/plugins"
LEGACY location for user .NY plug-ins (depricated)
"~/.audacity-files/plug-ins"
CORRECT location for user .NY plug-ins
---
---
"~/.audacity-data/Plug-Ins"
UNCONVENTIONAL location for all(?) types of plug-in including .NY plug-ins
---
---
"/usr/[local/]share/locale/nyquist"
CORRECT location for system wide Nyquist Locale information
"/usr/[local/]share/locale/plugins"
LEGACY location for system wide Nyquist Plug-in Locale information
(depricated)
"/usr/[local/]share/locale/plug-ins"
CORRECT location for system wide Nyquist Plug-in Locale information
---
"~/locale/nyquist"
CORRECT location for user Nyquist Locale information
"~/locale/plugins"
LEGACY location for user Nyquist Plug-in Locale information (depricated)
"~/locale/plug-ins"
CORRECT location for user Nyquist Plug-in Locale information
---
---
These are dangerous clutter.
Users should be able to create non-dot directories for their own data
without risk of affecting applications.
"~/nyquist"
INCORRECT. This would more properly be a user location for stand-alone
Nyquist.
"~/plugins"
INCORRECT: This is dangerous clutter.
"~/plug-ins"
INCORRECT: This is dangerous clutter.
--- END ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Audacity-manual mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-manual
Steve the Fiddle
2017-05-17 23:12:41 UTC
Permalink
Post by Steve the Fiddle
Post by Steve the Fiddle
This (below) is my analysis of the Nyquist plug-in path on Linux.
I'm not aware of this being documented, but I think it should be
documented
Post by Steve the Fiddle
I also think it shows some issues that need to be addressed. In
particular,
Post by Steve the Fiddle
those marked "INCORRECT".
Re: "~/.audacity-data/Plug-Ins"
I'm not convinced by the unconventional and (as far as I can see)
unnecessary location.
We have agreed we need some folder like this on Mac.
It could easily be made Mac specific, or Mac + Windows, if that's the right
thing to do.

By saying "I'm not convinced..." I was trying to convey the sense that I
was giving my "opinion" and that I don't "know for sure" what the right
thing to do is. Input from a 'nix expert would be helpful.
Post by Steve the Fiddle
Post by Steve the Fiddle
If it really does support all types of plug-ins (Nyquist, Linux VST,
LADSPA
Post by Steve the Fiddle
and LV2),
I never said it supported LV2. It doesn't AFAICT. Audacity can see LV2
folders placed there, but if you enable the effect it does not appear in
the Effect menu and reverts to "New" in Plug-in Manager. Move the
folder to ~/.lv2, and the effect works fine.
OK, so that's less useful than if it were universal.
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" supports Nyquist, VST (yes on Linux too)
and LADSPA on all platforms. So it supports the same as the Plug-Ins
folder in the Audacity executable directory on Windows, and the same
as the equivalent folder on Mac if you really want to drill down to it.
Post by Steve the Fiddle
then it is certainly more convenient for users that want to
download arbitrary "shared object" files than installing LADSPA / LV2 or
a) Is there a security risk?
b) Even if not a security risk, should we not encourage users to install
shared plug-ins properly?
c) Installing plug-ins that are "approved" by the distro maintainers are
easily installed via the package manager.
What security risk do you have in mind?
Looking for more LV2 plugins on Linux just now, I found several that had
to be compiled and apparently manually installed. There did not seem to
be a concept of "install properly" there.
My understanding is that the "recommended" way to install LV2 (or anything
else) is with the distros package manager, though of course Linux grants
users the freedom to do whatever they like on their own machine. Plug-ins
that are provided in a distribution's repository 'should' be safe to use. I
don't think the same can be said for arbitrary downloads from the Internet.
Post by Steve the Fiddle
Personally I am fine with "~/.audacity/plug-ins" on Linux (supporting Nyquist,
LADSPA and VST) and to trim the plethora of Nyquist-only plugin locations.
Please update http://alphamanual.audacityteam.org/man/
Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
further if you see the need. I think it is sufficiently correct now, but please
tell me if I am missing something obvious. I don't think we need to
document folders that are deprecated or that we may hopefully not be
supporting any longer.
Gale
Post by Steve the Fiddle
--- START ---
"/usr/[local/]share/audacity/nyquist"
CORRECT location for system wide .LSP files
"/usr/[local/]share/audacity/plugins"
LEGACY location for system wide .NY plug-ins (depricated)
"/usr/[local/]share/audacity/plug-ins"
CORRECT location for system wide .NY plug-ins
"/usr/[local/]share/doc/audacity/nyquist"
CORRECT location for system wide Nyquist documentation
(documentation could also be in the manual, but Nyquist won't
look there by default)
"/usr/[local/]share/doc/audacity/plugins"
LEGACY location for system wide Nyquist Plug-ins (depricated)
"/usr/[local/]share/doc/audacity/plug-ins"
CORRECT location for system wide Audacity/Nyquist Plug-ins
(documentation could also be in the manual, but Nyquist won't
look there by default)
---
"~/.audacity-files/nyquist"
CORRECT location for user .LSP files
"~/.audacity-files/plugins"
LEGACY location for user .NY plug-ins (depricated)
"~/.audacity-files/plug-ins"
CORRECT location for user .NY plug-ins
---
---
"~/.audacity-data/Plug-Ins"
UNCONVENTIONAL location for all(?) types of plug-in including .NY
plug-ins
Post by Steve the Fiddle
---
---
"/usr/[local/]share/locale/nyquist"
CORRECT location for system wide Nyquist Locale information
"/usr/[local/]share/locale/plugins"
LEGACY location for system wide Nyquist Plug-in Locale information
(depricated)
"/usr/[local/]share/locale/plug-ins"
CORRECT location for system wide Nyquist Plug-in Locale information
---
"~/locale/nyquist"
CORRECT location for user Nyquist Locale information
"~/locale/plugins"
LEGACY location for user Nyquist Plug-in Locale information (depricated)
"~/locale/plug-ins"
CORRECT location for user Nyquist Plug-in Locale information
---
---
These are dangerous clutter.
Users should be able to create non-dot directories for their own data
without risk of affecting applications.
"~/nyquist"
INCORRECT. This would more properly be a user location for stand-alone
Nyquist.
"~/plugins"
INCORRECT: This is dangerous clutter.
"~/plug-ins"
INCORRECT: This is dangerous clutter.
--- END ---
------------------------------------------------------------
------------------
<https://lists.sourceforge.net/lists/listinfo/audacity-manual>
Gale Andrews
2017-05-17 19:03:56 UTC
Permalink
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to ~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version, but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.

http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux

says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
Post by Steve the Fiddle
Post by Gale Andrews
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get '*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.



Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently looks for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-05-17 23:18:03 UTC
Permalink
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_
generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
It says, or at least implies that ~/.audacity-files/plug-ins is
read
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
only.
It has incorrect capitalization for file names (very important on a case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is
read/write
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
The read-only implication was just a stray bullet point that got left in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to ~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/
Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be
imo. I
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
don't see why users need more than one location in their home
directory
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux
and
Post by Steve the Fiddle
necessary to allow shipped plug-ins to be updated to the latest version,
but
Post by Steve the Fiddle
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter
for
Post by Steve the Fiddle
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_
and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
I've just tested as follows:

1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.

4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.

So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).

Steve
Post by Steve the Fiddle
Post by Steve the Fiddle
Post by Gale Andrews
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their
user
Post by Steve the Fiddle
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get
'*system-directory*
Post by Steve the Fiddle
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity
files
Post by Steve the Fiddle
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be
a
Post by Steve the Fiddle
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes
the
Post by Steve the Fiddle
Nyquist .LSP files. This is reasonable because Nyquist needs to be able
to
Post by Steve the Fiddle
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently
looks
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------
------------------
Post by Steve the Fiddle
------------------------------------------------------------
------------------
Post by Steve the Fiddle
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-05-28 15:50:55 UTC
Permalink
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read
only.
It has incorrect capitalization for file names (very important on a
case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left
in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to
~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version, but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.
4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.
So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).
Steve
Is that justification to completely remove the warning that custom plugins
"could" be lost if system-installed? I would guess not, given someone on
Linux must have added the warning in the first place. By all means we
can say that custom plugins are not lost on modern Ubuntu/Debian.

Two other questions about:
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux

We mention .NY plugins there but most plugins except David Sky's oldest
ones have lower case extension. Given Linux is case sensitive, should we
say ".ny or .NY" instead?

I don't think it helpful to excise mention of ~/.audacity-data/Plug-Ins as
"not recommended". It is clearly less work to use that folder than have
to create two folders yourself, as the person writing to feedback@ said.
Perhaps ~/.audacity-data/Plug-Ins is not recommended for VST and
LADSPA plugins - if you are lucky enough to have a pre-built package
available.

When we do rationalise this, I would hope we get rid of the non-standard
~/.audacity-files which supports Nyquist plugins only but has nothing in its
name to suggest it has anything to do with plugins. I do agree we could
find a more nix-like location for ~/.audacity-data/Plug-Ins.


Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
~/.audacity-data/plug-ins
and your plugins will still be seen.
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get
'*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently looks
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-05-29 19:06:59 UTC
Permalink
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read
only.
It has incorrect capitalization for file names (very important on a
case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left
in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to
~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version, but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.
4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.
So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).
Steve
Is that justification to completely remove the warning that custom plugins
"could" be lost if system-installed? I would guess not, given someone on
Linux must have added the warning in the first place.
As I think you said previously, it was probably me that added that
warning. Perhaps it was true at the time, or perhaps there was a flaw
in my testing procedure that lead to an incorrect conclusion that
custom plug-ins 'could' be lost, but either way, it does not appear to
be the case now.

If there is evidence that it is the case now, then it needs to be
logged on bugzilla, and I would agree that the warning should be
reinstated in the manual.
Post by Gale Andrews
By all means we
can say that custom plugins are not lost on modern Ubuntu/Debian.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
We mention .NY plugins there but most plugins except David Sky's oldest
ones have lower case extension. Given Linux is case sensitive, should we
say ".ny or .NY" instead?
Connie says:
"File formats with any implication of extension or the final file
should be fully capitalized without preceding period (full stop)"

So according to that it should be "NY" rather than ".ny" or ".NY".
However, on Linux it is usual for file extensions to be lower case.
Post by Gale Andrews
I don't think it helpful to excise mention of ~/.audacity-data/Plug-Ins as
"not recommended". It is clearly less work to use that folder than have
Perhaps ~/.audacity-data/Plug-Ins is not recommended for VST and
LADSPA plugins - if you are lucky enough to have a pre-built package
available.
A new installation of Audacity 2.2.0 on Linux does not create a
"~/.audacity-data/Plug-Ins" folder (which imo is correct), though if
plug-ins are installed in that location, Audacity 2.2.0 will still be
able to see them, so no nasty surprises for existing users.

The person writing to feedback@ wanted clarification regarding the
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder, but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Post by Gale Andrews
When we do rationalise this, I would hope we get rid of the non-standard
~/.audacity-files which supports Nyquist plugins only but has nothing in its
name to suggest it has anything to do with plugins. I do agree we could
find a more nix-like location for ~/.audacity-data/Plug-Ins.
The most nix-like solution would be to have a folder called
"~/.audacity" containing the Audacity configuration files, and
additional sub-directories for additional components such as plug-ins,
chains, auto-save, and whatever else we may have in the future.

I'm not proposing to change that now as I've not reviewed how much
work would be involved in doing so. I think if we do make this change
at some time, we should help users that are upgrading by importing
their previous settings into the new configuration folder.

I don't see changing to "~/.audacity/" as high priority as the dual
"~/.audacity-data/" and "~/.audacity-files/" continues to work well
enough, but we do need to document it clearly and avoid making it
worse (more complicated or confusing). If you think that it deserves
higher priority, then it could be logged as an enhancement on bugzilla
with an appropriate P rating.

Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
~/.audacity-data/plug-ins
and your plugins will still be seen.
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get
'*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently looks
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-05-29 21:22:42 UTC
Permalink
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is read
only.
It has incorrect capitalization for file names (very important on a
case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is read/write
The read-only implication was just a stray bullet point that got left
in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to
~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version, but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.
4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.
So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).
Steve
Is that justification to completely remove the warning that custom plugins
"could" be lost if system-installed? I would guess not, given someone on
Linux must have added the warning in the first place.
As I think you said previously, it was probably me that added that
warning. Perhaps it was true at the time, or perhaps there was a flaw
in my testing procedure that lead to an incorrect conclusion that
custom plug-ins 'could' be lost, but either way, it does not appear to
be the case now.
If there is evidence that it is the case now, then it needs to be
logged on bugzilla, and I would agree that the warning should be
reinstated in the manual.
The É¡rey area in my mind is the distro install of Audacity to
/usr/share/audacity/plug-ins. Is such an install under our control,
regardless of distro, as to whether plugins that are not set to be
installed by makefile.am are removed?
Post by Steve the Fiddle
Post by Gale Andrews
By all means we
can say that custom plugins are not lost on modern Ubuntu/Debian.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
We mention .NY plugins there but most plugins except David Sky's oldest
ones have lower case extension. Given Linux is case sensitive, should we
say ".ny or .NY" instead?
"File formats with any implication of extension or the final file
should be fully capitalized without preceding period (full stop)"
So according to that it should be "NY" rather than ".ny" or ".NY".
Thanks. That's correct as was intended at the time, largely because
adding the dot seems to confuse some Windows users. Case
sensitive systems were not considered.

The capitalisation was for standout rather than do so by bolding,
which could make the page look like a checkerboard if it referred
to many extensions. A little confusingly, the bolding shown in
Consistency does not mean that the extension should be bold -
the bold is to distinguish the "correct" representation from "incorrect".

So at the moment the installation page isn't following Connie anyway
as the extension on the page includes the dot. And some Nyquist
plugins may be in the wild with .NY extension. So I would guess the
least egregious way to bend Connie's current rules would be to say
"the Nyquist file with ny or NY extension", unbolded.
Post by Steve the Fiddle
However, on Linux it is usual for file extensions to be lower case.
Post by Gale Andrews
I don't think it helpful to excise mention of ~/.audacity-data/Plug-Ins as
"not recommended". It is clearly less work to use that folder than have
Perhaps ~/.audacity-data/Plug-Ins is not recommended for VST and
LADSPA plugins - if you are lucky enough to have a pre-built package
available.
A new installation of Audacity 2.2.0 on Linux does not create a
"~/.audacity-data/Plug-Ins" folder (which imo is correct), though if
plug-ins are installed in that location, Audacity 2.2.0 will still be
able to see them, so no nasty surprises for existing users.
So this is another inconsistency. On Windows and Mac, the Plug-Ins
folder is always created when Audacity creates its folder for
application data. That doesn't happen for me on Ubuntu 14.04 but the
Fedora 25 user who wrote to feedback@ claimed the repository build
of Audacity already had "~/.audacity-data/Plug-Ins".
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
.

If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.

On the whole I'd recommend you mention that ~/.audacity-data/Plug-Ins
may already exist after installing some repository versions of Audacity
(assuming that is true) or if it does not exist may be created and used
for Nyquist plugins. It's fine by me to discredit other locations for
Nyquist plugins.
Post by Steve the Fiddle
Post by Gale Andrews
When we do rationalise this, I would hope we get rid of the non-standard
~/.audacity-files which supports Nyquist plugins only but has nothing in its
name to suggest it has anything to do with plugins. I do agree we could
find a more nix-like location for ~/.audacity-data/Plug-Ins.
The most nix-like solution would be to have a folder called
"~/.audacity" containing the Audacity configuration files, and
additional sub-directories for additional components such as plug-ins,
chains, auto-save, and whatever else we may have in the future.
I'm not proposing to change that now as I've not reviewed how much
work would be involved in doing so. I think if we do make this change
at some time, we should help users that are upgrading by importing
their previous settings into the new configuration folder.
I don't see changing to "~/.audacity/" as high priority as the dual
"~/.audacity-data/" and "~/.audacity-files/" continues to work well
enough, but we do need to document it clearly and avoid making it
worse (more complicated or confusing). If you think that it deserves
higher priority, then it could be logged as an enhancement on bugzilla
with an appropriate P rating.
I can't see changing to "~/.audacity/" as high priority either, in practical
terms. But until we change I do think the Manual should recognise that
~/.audacity-data/Plug-Ins, if it exists for any reason, works for Nyquist
plugins. Otherwise users who already followed past versions of the
Manual and have Nyquist plugins in that folder could be misled into
thinking that is no longer supported.



Gale
Post by Steve the Fiddle
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
~/.audacity-data/plug-ins
and your plugins will still be seen.
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get
'*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently looks
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-05-30 11:32:09 UTC
Permalink
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is
read
only.
It has incorrect capitalization for file names (very important on a
case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is
read/write
The read-only implication was just a stray bullet point that got left
in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to
~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be imo. I
don't see why users need more than one location in their home directory
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version, but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.
4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.
So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).
Steve
Is that justification to completely remove the warning that custom plugins
"could" be lost if system-installed? I would guess not, given someone on
Linux must have added the warning in the first place.
As I think you said previously, it was probably me that added that
warning. Perhaps it was true at the time, or perhaps there was a flaw
in my testing procedure that lead to an incorrect conclusion that
custom plug-ins 'could' be lost, but either way, it does not appear to
be the case now.
If there is evidence that it is the case now, then it needs to be
logged on bugzilla, and I would agree that the warning should be
reinstated in the manual.
The É¡rey area in my mind is the distro install of Audacity to
/usr/share/audacity/plug-ins. Is such an install under our control,
regardless of distro, as to whether plugins that are not set to be
installed by makefile.am are removed?
My understanding is that has more to do with the package manager than
the distro.
When updating or uninstalling, the package manager should only remove
those components that are part of the package that is being updated /
uninstalled. It should not remove dependencies, user configuration
files, or anything else (because it cannot know that they are not used
elsewhere).

Perhaps the confusion arose because if a plug-in that is shipped with
Audacity is overwritten with a custom version, then that custom
version will be overwritten or removed on updating / uninstalling.
That behaviour is "correct", and is no different to users modifying
any file that is part of the installed package.
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
By all means we
can say that custom plugins are not lost on modern Ubuntu/Debian.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
We mention .NY plugins there but most plugins except David Sky's oldest
ones have lower case extension. Given Linux is case sensitive, should we
say ".ny or .NY" instead?
"File formats with any implication of extension or the final file
should be fully capitalized without preceding period (full stop)"
So according to that it should be "NY" rather than ".ny" or ".NY".
Thanks. That's correct as was intended at the time, largely because
adding the dot seems to confuse some Windows users. Case
sensitive systems were not considered.
The capitalisation was for standout rather than do so by bolding,
which could make the page look like a checkerboard if it referred
to many extensions. A little confusingly, the bolding shown in
Consistency does not mean that the extension should be bold -
the bold is to distinguish the "correct" representation from "incorrect".
So at the moment the installation page isn't following Connie anyway
as the extension on the page includes the dot. And some Nyquist
plugins may be in the wild with .NY extension. So I would guess the
least egregious way to bend Connie's current rules would be to say
"the Nyquist file with ny or NY extension", unbolded.
Done.
Post by Gale Andrews
Post by Steve the Fiddle
However, on Linux it is usual for file extensions to be lower case.
Post by Gale Andrews
I don't think it helpful to excise mention of ~/.audacity-data/Plug-Ins as
"not recommended". It is clearly less work to use that folder than have
Perhaps ~/.audacity-data/Plug-Ins is not recommended for VST and
LADSPA plugins - if you are lucky enough to have a pre-built package
available.
A new installation of Audacity 2.2.0 on Linux does not create a
"~/.audacity-data/Plug-Ins" folder (which imo is correct), though if
plug-ins are installed in that location, Audacity 2.2.0 will still be
able to see them, so no nasty surprises for existing users.
So this is another inconsistency. On Windows and Mac, the Plug-Ins
folder is always created when Audacity creates its folder for
application data.
Yes, we agreed that "Plug-Ins" folder should exist on those platforms,
especially on Mac.
Post by Gale Andrews
That doesn't happen for me on Ubuntu 14.04 but the
of Audacity already had "~/.audacity-data/Plug-Ins".
Audacity 2.1.4 creates that folder. Audacity 2.2.0 doesn't, but it is
still supported if it exists, so nothing gets broken.
Post by Gale Andrews
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
On Linux, native VST's are still pretty rare, but as with other
packages, would normally be installed with a package manager. Anyone
building native VST plug-ins from source should know what they are
doing and ensure that the .so file are placed in the VST plug-in path.
Similarly for the more common LADSPA and LV2 plug-ins.

When building from source, installation is often much like it is for
Audacity: configure, make, then sudo make install to copy the binaries
into the correct system locations.
Post by Gale Andrews
.
If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.
As above, I don't think "~/audacity-data/Plug-Ins" is the most
appropriate location for LADSPA or VST plug-ins on Linux, and we
should update those sections of the manual.
Post by Gale Andrews
On the whole I'd recommend you mention that ~/.audacity-data/Plug-Ins
may already exist after installing some repository versions of Audacity
(assuming that is true) or if it does not exist may be created and used
for Nyquist plugins. It's fine by me to discredit other locations for
Nyquist plugins.
Post by Steve the Fiddle
Post by Gale Andrews
When we do rationalise this, I would hope we get rid of the non-standard
~/.audacity-files which supports Nyquist plugins only but has nothing in its
name to suggest it has anything to do with plugins. I do agree we could
find a more nix-like location for ~/.audacity-data/Plug-Ins.
The most nix-like solution would be to have a folder called
"~/.audacity" containing the Audacity configuration files, and
additional sub-directories for additional components such as plug-ins,
chains, auto-save, and whatever else we may have in the future.
I'm not proposing to change that now as I've not reviewed how much
work would be involved in doing so. I think if we do make this change
at some time, we should help users that are upgrading by importing
their previous settings into the new configuration folder.
I don't see changing to "~/.audacity/" as high priority as the dual
"~/.audacity-data/" and "~/.audacity-files/" continues to work well
enough, but we do need to document it clearly and avoid making it
worse (more complicated or confusing). If you think that it deserves
higher priority, then it could be logged as an enhancement on bugzilla
with an appropriate P rating.
I can't see changing to "~/.audacity/" as high priority either, in practical
terms. But until we change I do think the Manual should recognise that
~/.audacity-data/Plug-Ins, if it exists for any reason, works for Nyquist
plugins. Otherwise users who already followed past versions of the
Manual and have Nyquist plugins in that folder could be misled into
thinking that is no longer supported.
The manual does say that other locations are supported though not
recommended. I think that's the correct advice. We could add more
detail, but with the risk of confusing users more than it helps.

Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
~/.audacity-data/plug-ins
and your plugins will still be seen.
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get
'*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently looks
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-05-31 02:46:39 UTC
Permalink
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is
read
only.
It has incorrect capitalization for file names (very important on
a
case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is
read/write
The read-only implication was just a stray bullet point that got left
in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to
~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be
imo. I
don't see why users need more than one location in their home directory
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version, but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.
4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.
So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).
Steve
Is that justification to completely remove the warning that custom plugins
"could" be lost if system-installed? I would guess not, given someone on
Linux must have added the warning in the first place.
As I think you said previously, it was probably me that added that
warning. Perhaps it was true at the time, or perhaps there was a flaw
in my testing procedure that lead to an incorrect conclusion that
custom plug-ins 'could' be lost, but either way, it does not appear to
be the case now.
If there is evidence that it is the case now, then it needs to be
logged on bugzilla, and I would agree that the warning should be
reinstated in the manual.
The É¡rey area in my mind is the distro install of Audacity to
/usr/share/audacity/plug-ins. Is such an install under our control,
regardless of distro, as to whether plugins that are not set to be
installed by makefile.am are removed?
My understanding is that has more to do with the package manager than
the distro.
When updating or uninstalling, the package manager should only remove
those components that are part of the package that is being updated /
uninstalled. It should not remove dependencies, user configuration
files, or anything else (because it cannot know that they are not used
elsewhere).
Perhaps the confusion arose because if a plug-in that is shipped with
Audacity is overwritten with a custom version, then that custom
version will be overwritten or removed on updating / uninstalling.
That behaviour is "correct", and is no different to users modifying
any file that is part of the installed package.
Yes that behaviour is "correct" in my view. But I believed the issue I
had seen reported was that .ny plugins which are not part of the
Audacity installation were removed by the package manager/installer.

I can't recall recent reports of that.
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
By all means we
can say that custom plugins are not lost on modern Ubuntu/Debian.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
We mention .NY plugins there but most plugins except David Sky's oldest
ones have lower case extension. Given Linux is case sensitive, should we
say ".ny or .NY" instead?
"File formats with any implication of extension or the final file
should be fully capitalized without preceding period (full stop)"
So according to that it should be "NY" rather than ".ny" or ".NY".
Thanks. That's correct as was intended at the time, largely because
adding the dot seems to confuse some Windows users. Case
sensitive systems were not considered.
The capitalisation was for standout rather than do so by bolding,
which could make the page look like a checkerboard if it referred
to many extensions. A little confusingly, the bolding shown in
Consistency does not mean that the extension should be bold -
the bold is to distinguish the "correct" representation from "incorrect".
So at the moment the installation page isn't following Connie anyway
as the extension on the page includes the dot. And some Nyquist
plugins may be in the wild with .NY extension. So I would guess the
least egregious way to bend Connie's current rules would be to say
"the Nyquist file with ny or NY extension", unbolded.
Done.
Thank you,
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
However, on Linux it is usual for file extensions to be lower case.
Post by Gale Andrews
I don't think it helpful to excise mention of ~/.audacity-data/Plug-Ins as
"not recommended". It is clearly less work to use that folder than have
Perhaps ~/.audacity-data/Plug-Ins is not recommended for VST and
LADSPA plugins - if you are lucky enough to have a pre-built package
available.
A new installation of Audacity 2.2.0 on Linux does not create a
"~/.audacity-data/Plug-Ins" folder (which imo is correct), though if
plug-ins are installed in that location, Audacity 2.2.0 will still be
able to see them, so no nasty surprises for existing users.
So this is another inconsistency. On Windows and Mac, the Plug-Ins
folder is always created when Audacity creates its folder for
application data.
Yes, we agreed that "Plug-Ins" folder should exist on those platforms,
especially on Mac.
Post by Gale Andrews
That doesn't happen for me on Ubuntu 14.04 but the
of Audacity already had "~/.audacity-data/Plug-Ins".
Audacity 2.1.4 creates that ~/.audacity-data/Plug-Ins".folder. Audacity 2.2.0
doesn't, but it is still supported if it exists, so nothing gets broken.
So was creating that ~/.audacity-data/Plug-Ins" folder on Linux deliberately
removed somewhere after 2.1.3? On Ubuntu 14.04 I can't get 2.1.3 release
to create that folder either, after deleting ~/.audacity-data/ .
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
On Linux, native VST's are still pretty rare, but as with other
packages, would normally be installed with a package manager. Anyone
building native VST plug-ins from source should know what they are
doing and ensure that the .so file are placed in the VST plug-in path.
Similarly for the more common LADSPA and LV2 plug-ins.
When building from source, installation is often much like it is for
Audacity: configure, make, then sudo make install to copy the binaries
into the correct system locations.
Post by Gale Andrews
.
If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.
As above, I don't think "~/audacity-data/Plug-Ins" is the most
appropriate location for LADSPA or VST plug-ins on Linux, and we
should update those sections of the manual.
The fact is though that we do search there, whether one accepts that
or not (unless you are going to change it).

On balance I still think "~/.audacity-data/Plug-Ins" should be mentioned
for Nyquist, LADSPA and VST given it's been mentioned in recent
Manuals and is still supported. Of course, if user wants to completely
reset Audacity Preferences they have to take more care over any
custom plugins that are in "~/.audacity-data/Plug-Ins".

But if you are strongly against, I suggest the green divs for LADSPA
and VST should be clarified so that the noted paths outside
LADSPA_PATH and VST_PATH don't read as now that they are a
complete list of such paths (IIRC, they are a complete list).


Gale
Post by Steve the Fiddle
Post by Gale Andrews
On the whole I'd recommend you mention that ~/.audacity-data/Plug-Ins
may already exist after installing some repository versions of Audacity
(assuming that is true) or if it does not exist may be created and used
for Nyquist plugins. It's fine by me to discredit other locations for
Nyquist plugins.
Post by Steve the Fiddle
Post by Gale Andrews
When we do rationalise this, I would hope we get rid of the non-standard
~/.audacity-files which supports Nyquist plugins only but has nothing in its
name to suggest it has anything to do with plugins. I do agree we could
find a more nix-like location for ~/.audacity-data/Plug-Ins.
The most nix-like solution would be to have a folder called
"~/.audacity" containing the Audacity configuration files, and
additional sub-directories for additional components such as plug-ins,
chains, auto-save, and whatever else we may have in the future.
I'm not proposing to change that now as I've not reviewed how much
work would be involved in doing so. I think if we do make this change
at some time, we should help users that are upgrading by importing
their previous settings into the new configuration folder.
I don't see changing to "~/.audacity/" as high priority as the dual
"~/.audacity-data/" and "~/.audacity-files/" continues to work well
enough, but we do need to document it clearly and avoid making it
worse (more complicated or confusing). If you think that it deserves
higher priority, then it could be logged as an enhancement on bugzilla
with an appropriate P rating.
I can't see changing to "~/.audacity/" as high priority either, in practical
terms. But until we change I do think the Manual should recognise that
~/.audacity-data/Plug-Ins, if it exists for any reason, works for Nyquist
plugins. Otherwise users who already followed past versions of the
Manual and have Nyquist plugins in that folder could be misled into
thinking that is no longer supported.
The manual does say that other locations are supported though not
recommended. I think that's the correct advice. We could add more
detail, but with the risk of confusing users more than it helps.
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
~/.audacity-data/plug-ins
and your plugins will still be seen.
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get '*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently
looks
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-05-31 11:17:22 UTC
Permalink
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is
read
only.
It has incorrect capitalization for file names (very important on
a
case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is
read/write
The read-only implication was just a stray bullet point that got
left
in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins
so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does
so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to
~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be
imo. I
don't see why users need more than one location in their home
directory
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux and
necessary to allow shipped plug-ins to be updated to the latest version,
but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.
4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.
So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).
Steve
Is that justification to completely remove the warning that custom plugins
"could" be lost if system-installed? I would guess not, given someone on
Linux must have added the warning in the first place.
As I think you said previously, it was probably me that added that
warning. Perhaps it was true at the time, or perhaps there was a flaw
in my testing procedure that lead to an incorrect conclusion that
custom plug-ins 'could' be lost, but either way, it does not appear to
be the case now.
If there is evidence that it is the case now, then it needs to be
logged on bugzilla, and I would agree that the warning should be
reinstated in the manual.
The É¡rey area in my mind is the distro install of Audacity to
/usr/share/audacity/plug-ins. Is such an install under our control,
regardless of distro, as to whether plugins that are not set to be
installed by makefile.am are removed?
My understanding is that has more to do with the package manager than
the distro.
When updating or uninstalling, the package manager should only remove
those components that are part of the package that is being updated /
uninstalled. It should not remove dependencies, user configuration
files, or anything else (because it cannot know that they are not used
elsewhere).
Perhaps the confusion arose because if a plug-in that is shipped with
Audacity is overwritten with a custom version, then that custom
version will be overwritten or removed on updating / uninstalling.
That behaviour is "correct", and is no different to users modifying
any file that is part of the installed package.
Yes that behaviour is "correct" in my view. But I believed the issue I
had seen reported was that .ny plugins which are not part of the
Audacity installation were removed by the package manager/installer.
I can't recall recent reports of that.
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
By all means we
can say that custom plugins are not lost on modern Ubuntu/Debian.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
We mention .NY plugins there but most plugins except David Sky's oldest
ones have lower case extension. Given Linux is case sensitive, should we
say ".ny or .NY" instead?
"File formats with any implication of extension or the final file
should be fully capitalized without preceding period (full stop)"
So according to that it should be "NY" rather than ".ny" or ".NY".
Thanks. That's correct as was intended at the time, largely because
adding the dot seems to confuse some Windows users. Case
sensitive systems were not considered.
The capitalisation was for standout rather than do so by bolding,
which could make the page look like a checkerboard if it referred
to many extensions. A little confusingly, the bolding shown in
Consistency does not mean that the extension should be bold -
the bold is to distinguish the "correct" representation from "incorrect".
So at the moment the installation page isn't following Connie anyway
as the extension on the page includes the dot. And some Nyquist
plugins may be in the wild with .NY extension. So I would guess the
least egregious way to bend Connie's current rules would be to say
"the Nyquist file with ny or NY extension", unbolded.
Done.
Thank you,
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
However, on Linux it is usual for file extensions to be lower case.
Post by Gale Andrews
I don't think it helpful to excise mention of ~/.audacity-data/Plug-Ins as
"not recommended". It is clearly less work to use that folder than have
Perhaps ~/.audacity-data/Plug-Ins is not recommended for VST and
LADSPA plugins - if you are lucky enough to have a pre-built package
available.
A new installation of Audacity 2.2.0 on Linux does not create a
"~/.audacity-data/Plug-Ins" folder (which imo is correct), though if
plug-ins are installed in that location, Audacity 2.2.0 will still be
able to see them, so no nasty surprises for existing users.
So this is another inconsistency. On Windows and Mac, the Plug-Ins
folder is always created when Audacity creates its folder for
application data.
Yes, we agreed that "Plug-Ins" folder should exist on those platforms,
especially on Mac.
Post by Gale Andrews
That doesn't happen for me on Ubuntu 14.04 but the
of Audacity already had "~/.audacity-data/Plug-Ins".
Audacity 2.1.4 creates that ~/.audacity-data/Plug-Ins".folder. Audacity 2.2.0
doesn't, but it is still supported if it exists, so nothing gets broken.
So was creating that ~/.audacity-data/Plug-Ins" folder on Linux deliberately
removed somewhere after 2.1.3? On Ubuntu 14.04 I can't get 2.1.3 release
to create that folder either, after deleting ~/.audacity-data/ .
Yes, I made it Mac and Windows only in commit 1dd6b848c28. I needed to
define where non-shipped Nyquist plug-ins look for help files so I had
to make a decision one way or the other. Adding that empty folder to
the Linux installation did not appear to be deliberate as far as I can
see (unless anyone knows otherwise?)

Not all locations in Audacity's search path are "correct" locations
for plug-ins, so we select which locations to look in, and exclude
others (which can be per-platform). For example,
"_prefix_/share/doc/audacity" (which is in Audacity's search path) is
not correct on any platform, so that is excluded from the list of
locations where the plug-in manager searches.

Currently, and for many years, Audacity has not really known where to
look for plug-ins, so we tell it to search broadly, including many
locations where plug-ins should not be. Leland added a comment 3 years
ago:
"// TODO: We REALLY need to figure out the "Audacity" plug-in path(s)"
I agree, we do.

I don't feel strongly about "where" we decide the correct location for
Audacity plug-ins is, but I think we do need to decide. On Linux, I've
been using "~/audacity-files/plug-ins" for years, and it is widely
documented in the manual, the wiki, the forum and other websites, so I
think that currently looks like the best choice.
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
On Linux, native VST's are still pretty rare, but as with other
packages, would normally be installed with a package manager. Anyone
building native VST plug-ins from source should know what they are
doing and ensure that the .so file are placed in the VST plug-in path.
Similarly for the more common LADSPA and LV2 plug-ins.
When building from source, installation is often much like it is for
Audacity: configure, make, then sudo make install to copy the binaries
into the correct system locations.
Post by Gale Andrews
.
If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.
As above, I don't think "~/audacity-data/Plug-Ins" is the most
appropriate location for LADSPA or VST plug-ins on Linux, and we
should update those sections of the manual.
The fact is though that we do search there, whether one accepts that
or not (unless you are going to change it).
As far as I'm aware, Nyquist plug-ins can currently be loaded from
literally anywhere if they are registered by the plug-in manager (in
pluginregistry.cfg).
Post by Gale Andrews
On balance I still think "~/.audacity-data/Plug-Ins" should be mentioned
for Nyquist, LADSPA and VST given it's been mentioned in recent
Manuals and is still supported. Of course, if user wants to completely
reset Audacity Preferences they have to take more care over any
custom plugins that are in "~/.audacity-data/Plug-Ins".
But if you are strongly against, I suggest the green divs for LADSPA
and VST should be clarified so that the noted paths outside
LADSPA_PATH and VST_PATH don't read as now that they are a
complete list of such paths (IIRC, they are a complete list).
Perhaps we could compromise; Where we say that plug-ins can also be
found in other locations, we could link that to a paragraph at the
bottom where we say what those locations are (to the best of our
knowledge, as I'm not sure that any of us know 'all' of the possible
locations).

Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
On the whole I'd recommend you mention that ~/.audacity-data/Plug-Ins
may already exist after installing some repository versions of Audacity
(assuming that is true) or if it does not exist may be created and used
for Nyquist plugins. It's fine by me to discredit other locations for
Nyquist plugins.
Post by Steve the Fiddle
Post by Gale Andrews
When we do rationalise this, I would hope we get rid of the non-standard
~/.audacity-files which supports Nyquist plugins only but has nothing in its
name to suggest it has anything to do with plugins. I do agree we could
find a more nix-like location for ~/.audacity-data/Plug-Ins.
The most nix-like solution would be to have a folder called
"~/.audacity" containing the Audacity configuration files, and
additional sub-directories for additional components such as plug-ins,
chains, auto-save, and whatever else we may have in the future.
I'm not proposing to change that now as I've not reviewed how much
work would be involved in doing so. I think if we do make this change
at some time, we should help users that are upgrading by importing
their previous settings into the new configuration folder.
I don't see changing to "~/.audacity/" as high priority as the dual
"~/.audacity-data/" and "~/.audacity-files/" continues to work well
enough, but we do need to document it clearly and avoid making it
worse (more complicated or confusing). If you think that it deserves
higher priority, then it could be logged as an enhancement on bugzilla
with an appropriate P rating.
I can't see changing to "~/.audacity/" as high priority either, in practical
terms. But until we change I do think the Manual should recognise that
~/.audacity-data/Plug-Ins, if it exists for any reason, works for Nyquist
plugins. Otherwise users who already followed past versions of the
Manual and have Nyquist plugins in that folder could be misled into
thinking that is no longer supported.
The manual does say that other locations are supported though not
recommended. I think that's the correct advice. We could add more
detail, but with the risk of confusing users more than it helps.
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
~/.audacity-data/plug-ins
and your plugins will still be seen.
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get
'*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently
looks
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-06-01 03:52:47 UTC
Permalink
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
http://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_linux.html#nyquist_install
It says, or at least implies that ~/.audacity-files/plug-ins is
read
only.
It has incorrect capitalization for file names (very important on
a
case
sensitive file system)
It then contradicts itself and says that ~/.../Plug-Ins is
read/write
The read-only implication was just a stray bullet point that got
left
in.
I can confirm plugins cannot be seen in ~/.audacity-files/Plug-Ins
so
I changed the subfolder name to lower case.
Note that ~/.audacity-files/plug-ins does not see VST or LADSPA
plugins, which is unexpected given ~/.audacity-data/Plug-Ins does
so.
The Manual was saying that ~/.audacity-files/plug-ins saw LADSPA
plugins.
You can change ~/.audacity-data/Plug-Ins to
~/.audacity-data/plug-ins
and your plugins will still be seen.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
That looks correct now, but the number of options (including the
undocumented options) is far more complicated than it needs to be
imo. I
don't see why users need more than one location in their home
directory
for
Nyquist plug-ins (in addition to the 'system' location).
Looks like we may be in agreement then, though arguably the current
"system" locations for Nyquist plugins on Linux are suboptimal because
they don't preserve the plugins through updates of Audacity.
I don't see that here.
We do (correctly) overwrite shipped plug-ins, which is normal for Linux
and
necessary to allow shipped plug-ins to be updated to the latest version,
but
user installed plug-ins survive both the uninstalling and reinstalling of
Audacity from the command line.
I've not tested what happens when uninstalling / reinstalling via a
distribution's package manager, but I'd have thought that was a matter
for
the distro maintainer.
What happens with a distro package is the primary concern of most
users and so the primary concern of the documentation.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
says that "Updating the repository package of Audacity may remove
plug-ins that are not part of the package." I don't think it was I who
added that text in the first place, but I expect that the caution is
warranted.
1) Install Audacity from the Ubuntu repository with Synaptic (from end for
'apt')
2) Add a plug-in to /usr/share/audacity/plug-ins/
3) Reinstall Audacity from the Ubuntu repository.
The plug-in added in step 2 still exists.
4) "Complete removal" of Audacity via Synaptic
The plug-in added in step 2 still exists.
So it seems that the warning in the manual is incorrect, at least on Ubuntu
(and if I recall correctly, it's the same on Debian).
Steve
Is that justification to completely remove the warning that custom plugins
"could" be lost if system-installed? I would guess not, given someone on
Linux must have added the warning in the first place.
As I think you said previously, it was probably me that added that
warning. Perhaps it was true at the time, or perhaps there was a flaw
in my testing procedure that lead to an incorrect conclusion that
custom plug-ins 'could' be lost, but either way, it does not appear to
be the case now.
If there is evidence that it is the case now, then it needs to be
logged on bugzilla, and I would agree that the warning should be
reinstated in the manual.
The É¡rey area in my mind is the distro install of Audacity to
/usr/share/audacity/plug-ins. Is such an install under our control,
regardless of distro, as to whether plugins that are not set to be
installed by makefile.am are removed?
My understanding is that has more to do with the package manager than
the distro.
When updating or uninstalling, the package manager should only remove
those components that are part of the package that is being updated /
uninstalled. It should not remove dependencies, user configuration
files, or anything else (because it cannot know that they are not used
elsewhere).
Perhaps the confusion arose because if a plug-in that is shipped with
Audacity is overwritten with a custom version, then that custom
version will be overwritten or removed on updating / uninstalling.
That behaviour is "correct", and is no different to users modifying
any file that is part of the installed package.
Yes that behaviour is "correct" in my view. But I believed the issue I
had seen reported was that .ny plugins which are not part of the
Audacity installation were removed by the package manager/installer.
I can't recall recent reports of that.
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
By all means we
can say that custom plugins are not lost on modern Ubuntu/Debian.
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
We mention .NY plugins there but most plugins except David Sky's oldest
ones have lower case extension. Given Linux is case sensitive, should we
say ".ny or .NY" instead?
"File formats with any implication of extension or the final file
should be fully capitalized without preceding period (full stop)"
So according to that it should be "NY" rather than ".ny" or ".NY".
Thanks. That's correct as was intended at the time, largely because
adding the dot seems to confuse some Windows users. Case
sensitive systems were not considered.
The capitalisation was for standout rather than do so by bolding,
which could make the page look like a checkerboard if it referred
to many extensions. A little confusingly, the bolding shown in
Consistency does not mean that the extension should be bold -
the bold is to distinguish the "correct" representation from "incorrect".
So at the moment the installation page isn't following Connie anyway
as the extension on the page includes the dot. And some Nyquist
plugins may be in the wild with .NY extension. So I would guess the
least egregious way to bend Connie's current rules would be to say
"the Nyquist file with ny or NY extension", unbolded.
Done.
Thank you,
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
However, on Linux it is usual for file extensions to be lower case.
Post by Gale Andrews
I don't think it helpful to excise mention of ~/.audacity-data/Plug-Ins as
"not recommended". It is clearly less work to use that folder than have
Perhaps ~/.audacity-data/Plug-Ins is not recommended for VST and
LADSPA plugins - if you are lucky enough to have a pre-built package
available.
A new installation of Audacity 2.2.0 on Linux does not create a
"~/.audacity-data/Plug-Ins" folder (which imo is correct), though if
plug-ins are installed in that location, Audacity 2.2.0 will still be
able to see them, so no nasty surprises for existing users.
So this is another inconsistency. On Windows and Mac, the Plug-Ins
folder is always created when Audacity creates its folder for
application data.
Yes, we agreed that "Plug-Ins" folder should exist on those platforms,
especially on Mac.
Post by Gale Andrews
That doesn't happen for me on Ubuntu 14.04 but the
of Audacity already had "~/.audacity-data/Plug-Ins".
Audacity 2.1.4 creates that ~/.audacity-data/Plug-Ins".folder. Audacity 2.2.0
doesn't, but it is still supported if it exists, so nothing gets broken.
So was creating that ~/.audacity-data/Plug-Ins" folder on Linux deliberately
removed somewhere after 2.1.3? On Ubuntu 14.04 I can't get 2.1.3 release
to create that folder either, after deleting ~/.audacity-data/ .
Yes, I made it Mac and Windows only in commit 1dd6b848c28. I needed to
define where non-shipped Nyquist plug-ins look for help files so I had
to make a decision one way or the other. Adding that empty folder to
the Linux installation did not appear to be deliberate as far as I can
see (unless anyone knows otherwise?)
Not all locations in Audacity's search path are "correct" locations
for plug-ins, so we select which locations to look in, and exclude
others (which can be per-platform). For example,
"_prefix_/share/doc/audacity" (which is in Audacity's search path) is
not correct on any platform, so that is excluded from the list of
locations where the plug-in manager searches.
Currently, and for many years, Audacity has not really known where to
look for plug-ins, so we tell it to search broadly, including many
locations where plug-ins should not be. Leland added a comment 3 years
"// TODO: We REALLY need to figure out the "Audacity" plug-in path(s)"
I agree, we do.
I don't feel strongly about "where" we decide the correct location for
Audacity plug-ins is, but I think we do need to decide. On Linux, I've
been using "~/audacity-files/plug-ins" for years, and it is widely
documented in the manual, the wiki, the forum and other websites, so I
think that currently looks like the best choice.
"~/.audacity-files/plug-ins" seems to me just as non-standard a path
(especially the name) as "~/.audacity-data/Plug-Ins". Some users
could have been using the latter for years as it was equally
documented (and existed).

Do you know what other "files" the ~/.audacity-files folder supports?

If in practical terms "~/.audacity-files/plug-ins" is likely to continue
to exist for some time, is there any good reason not to create that
folder group on installation of Audacity?
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
On Linux, native VST's are still pretty rare, but as with other
packages, would normally be installed with a package manager. Anyone
building native VST plug-ins from source should know what they are
doing and ensure that the .so file are placed in the VST plug-in path.
Similarly for the more common LADSPA and LV2 plug-ins.
When building from source, installation is often much like it is for
Audacity: configure, make, then sudo make install to copy the binaries
into the correct system locations.
Post by Gale Andrews
.
If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.
As above, I don't think "~/audacity-data/Plug-Ins" is the most
appropriate location for LADSPA or VST plug-ins on Linux, and we
should update those sections of the manual.
The fact is though that we do search there, whether one accepts that
or not (unless you are going to change it).
As far as I'm aware, Nyquist plug-ins can currently be loaded from
literally anywhere if they are registered by the plug-in manager (in
pluginregistry.cfg).
Post by Gale Andrews
On balance I still think "~/.audacity-data/Plug-Ins" should be mentioned
for Nyquist, LADSPA and VST given it's been mentioned in recent
Manuals and is still supported. Of course, if user wants to completely
reset Audacity Preferences they have to take more care over any
custom plugins that are in "~/.audacity-data/Plug-Ins".
But if you are strongly against, I suggest the green divs for LADSPA
and VST should be clarified so that the noted paths outside
LADSPA_PATH and VST_PATH don't read as now that they are a
complete list of such paths (IIRC, they are a complete list).
Perhaps we could compromise; Where we say that plug-ins can also be
found in other locations, we could link that to a paragraph at the
bottom where we say what those locations are (to the best of our
knowledge, as I'm not sure that any of us know 'all' of the possible
locations).
I think that just makes more darting around for the user, and
without saving space because the paths outside VST_PATH
and outside LADSPA_PATH are of course mainly different.

To try and reach a resolution, and be even-handed to those who
might be using ~/.audacity-data/Plug-Ins, I made it look less
certain that the VST and LADSPA paths are complete, and marked
~/.audacity-data/Plug-Ins in those lists as "(deprecated, not created
automatically)."

Similarly for Nyquist I said that this folder is deprecated and
reinforced the message to use the paths listed above that.

When we rationalise plug-in paths we can remove the
"deprecated" references and start with a clean and complete
list (hopefully).

I hope (pray) this will do.



Gale
Post by Steve the Fiddle
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
On the whole I'd recommend you mention that ~/.audacity-data/Plug-Ins
may already exist after installing some repository versions of Audacity
(assuming that is true) or if it does not exist may be created and used
for Nyquist plugins. It's fine by me to discredit other locations for
Nyquist plugins.
Post by Steve the Fiddle
Post by Gale Andrews
When we do rationalise this, I would hope we get rid of the non-standard
~/.audacity-files which supports Nyquist plugins only but has nothing in its
name to suggest it has anything to do with plugins. I do agree we could
find a more nix-like location for ~/.audacity-data/Plug-Ins.
The most nix-like solution would be to have a folder called
"~/.audacity" containing the Audacity configuration files, and
additional sub-directories for additional components such as plug-ins,
chains, auto-save, and whatever else we may have in the future.
I'm not proposing to change that now as I've not reviewed how much
work would be involved in doing so. I think if we do make this change
at some time, we should help users that are upgrading by importing
their previous settings into the new configuration folder.
I don't see changing to "~/.audacity/" as high priority as the dual
"~/.audacity-data/" and "~/.audacity-files/" continues to work well
enough, but we do need to document it clearly and avoid making it
worse (more complicated or confusing). If you think that it deserves
higher priority, then it could be logged as an enhancement on bugzilla
with an appropriate P rating.
I can't see changing to "~/.audacity/" as high priority either, in practical
terms. But until we change I do think the Manual should recognise that
~/.audacity-data/Plug-Ins, if it exists for any reason, works for Nyquist
plugins. Otherwise users who already followed past versions of the
Manual and have Nyquist plugins in that folder could be misled into
thinking that is no longer supported.
The manual does say that other locations are supported though not
recommended. I think that's the correct advice. We could add more
detail, but with the risk of confusing users more than it helps.
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
~/.audacity-data/plug-ins
and your plugins will still be seen.
I think we
could do with a system location for Nyquist plugins that doesn't have
that problem.
1) Users should not overwrite system files unless they know what they are
doing.
2) A system administrator should be able to install additional plug-ins
system wide (for all users) by putting them into a system folder.
I assume a sysadmin on Linux would be installing a repository package
of Audacity, so if the above caution is correct and the sysadmin wants
users to have e.g. the ACX-Check plugin, should the sysadmin have to
keep reinstalling ACX-Check with each Audacity update?
Post by Steve the Fiddle
3) A regular user should only be able to install plug-ins within their
user
space.
Looking at this more deeply, it's more complex than first appears.
My documentation is wrong. The Nyquist plug-in path (get
'*system-directory*
'plug-in) is not "the path to Nyquist plug-ins", it is a subset of
/** \brief A list of directories that should be searched for Audacity
files
* (plug-ins, help files, etc.).
*
* On Unix this will include the directory Audacity was installed into,
* plus the current user's .audacity-data/Plug-Ins directory. Additional
* directories can be specified using the AUDACITY_PATH environment
* variable. On Windows or Mac OS, this will include the directory
* which contains the Audacity program. */
wxArrayString audacityPathList;
The subset comes form: GetNyquistSearchPath
which is not documented.
The first use of GetNyquistSearchPath was in
NyquistEffectsModule::FindPlugins, so I believe the intention was to be a
list of where plug-ins may be located, but it also includes additional
locations where other Nyquist related files are located.
(I'm not sure why some of these directories are not working for you Gale,
but the code says they 'should' work, so I'll assume 'user error' for the
sake of this discussion.)
I have not retested yet, but I suspect a need to start with a fresh
pluginregistry.cfg is just as likely a cause.
Gale
Post by Steve the Fiddle
Audacity can find Nyquist plug-ins in any of the directories, but that is
NOT to say that all of these directories are the 'correct' locations for
Nyquist plug-ins.
Example, the "Nyquist search path" (from GetNyquistSearchPath) includes
the
Nyquist .LSP files. This is reasonable because Nyquist needs to be able
to
find its LISP functions, but .NY plug-ins should not be mixed in with the
.LSP files.
I need to analyze where Audacity is looking and why....
Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
The full list of locations on my machine where Audacity apparently
looks
for
"~/nyquist"
"~/plugins"
"~/plug-ins"
"~/.audacity-files/nyquist"
"~/.audacity-files/plugins"
"~/.audacity-files/plug-ins"
"/usr/local/share/audacity/nyquist"
"/usr/local/share/audacity/plugins"
"/usr/local/share/audacity/plug-ins"
"/usr/local/share/doc/audacity/nyquist"
"/usr/local/share/doc/audacity/plugins"
"/usr/local/share/doc/audacity/plug-ins"
"/usr/local/share/locale/nyquist"
"/usr/local/share/locale/plugins"
"/usr/local/share/locale/plug-ins"
"~/locale/nyquist"
"~/locale/plugins"
"~/locale/plug-ins"
and
"~/.audacity-data/Plug-Ins"
Steve
Post by Gale Andrews
.
Gale
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-01 11:00:32 UTC
Permalink
<snip>
Post by Gale Andrews
Post by Steve the Fiddle
Yes, I made it Mac and Windows only in commit 1dd6b848c28. I needed to
define where non-shipped Nyquist plug-ins look for help files so I had
to make a decision one way or the other. Adding that empty folder to
the Linux installation did not appear to be deliberate as far as I can
see (unless anyone knows otherwise?)
Not all locations in Audacity's search path are "correct" locations
for plug-ins, so we select which locations to look in, and exclude
others (which can be per-platform). For example,
"_prefix_/share/doc/audacity" (which is in Audacity's search path) is
not correct on any platform, so that is excluded from the list of
locations where the plug-in manager searches.
Currently, and for many years, Audacity has not really known where to
look for plug-ins, so we tell it to search broadly, including many
locations where plug-ins should not be. Leland added a comment 3 years
"// TODO: We REALLY need to figure out the "Audacity" plug-in path(s)"
I agree, we do.
I don't feel strongly about "where" we decide the correct location for
Audacity plug-ins is, but I think we do need to decide. On Linux, I've
been using "~/audacity-files/plug-ins" for years, and it is widely
documented in the manual, the wiki, the forum and other websites, so I
think that currently looks like the best choice.
"~/.audacity-files/plug-ins" seems to me just as non-standard a path
(especially the name) as "~/.audacity-data/Plug-Ins". Some users
could have been using the latter for years as it was equally
documented (and existed).
Do you know what other "files" the ~/.audacity-files folder supports?
I've not tested as my other plug-ins are installed in standard locations:

LADSPA "/usr/lib/ladspa"
VST "/usr/lib/vst/"
LV2 "/usr/lib/lv2"

(note also that they are all lower case)

Generally, other types of plug-ins should be installed in standard
locations so that they are available to other applications. That's not
the case for Nyquist plug-ins as they are "native" to Audacity and are
only supported by Audacity (mostly they don't even work in stand-alone
Nyquist).
Post by Gale Andrews
If in practical terms "~/.audacity-files/plug-ins" is likely to continue
to exist for some time, is there any good reason not to create that
folder group on installation of Audacity?
Planned obsolescence.
Deprecation allows us to work toward a simpler and more rational
system while maintaining backward compatibility and minimising
inconvenience to users.
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
On Linux, native VST's are still pretty rare, but as with other
packages, would normally be installed with a package manager. Anyone
building native VST plug-ins from source should know what they are
doing and ensure that the .so file are placed in the VST plug-in path.
Similarly for the more common LADSPA and LV2 plug-ins.
When building from source, installation is often much like it is for
Audacity: configure, make, then sudo make install to copy the binaries
into the correct system locations.
Post by Gale Andrews
.
If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.
As above, I don't think "~/audacity-data/Plug-Ins" is the most
appropriate location for LADSPA or VST plug-ins on Linux, and we
should update those sections of the manual.
The fact is though that we do search there, whether one accepts that
or not (unless you are going to change it).
As far as I'm aware, Nyquist plug-ins can currently be loaded from
literally anywhere if they are registered by the plug-in manager (in
pluginregistry.cfg).
Post by Gale Andrews
On balance I still think "~/.audacity-data/Plug-Ins" should be mentioned
for Nyquist, LADSPA and VST given it's been mentioned in recent
Manuals and is still supported. Of course, if user wants to completely
reset Audacity Preferences they have to take more care over any
custom plugins that are in "~/.audacity-data/Plug-Ins".
But if you are strongly against, I suggest the green divs for LADSPA
and VST should be clarified so that the noted paths outside
LADSPA_PATH and VST_PATH don't read as now that they are a
complete list of such paths (IIRC, they are a complete list).
Perhaps we could compromise; Where we say that plug-ins can also be
found in other locations, we could link that to a paragraph at the
bottom where we say what those locations are (to the best of our
knowledge, as I'm not sure that any of us know 'all' of the possible
locations).
I think that just makes more darting around for the user,
If a new user follows our recommendations, then "other locations" are
irrelevant and potentially confusing clutter for them. I think the
most important thing for us, is to make "best practice" instructions
as clear and easy to follow as possible. Additional information can be
useful, but should not distract from the "best practice"
instructions.
Post by Gale Andrews
and
without saving space because the paths outside VST_PATH
and outside LADSPA_PATH are of course mainly different.
To try and reach a resolution, and be even-handed to those who
might be using ~/.audacity-data/Plug-Ins, I made it look less
certain that the VST and LADSPA paths are complete, and marked
~/.audacity-data/Plug-Ins in those lists as "(deprecated, not created
automatically)."
Similarly for Nyquist I said that this folder is deprecated and
reinforced the message to use the paths listed above that.
Those changes look good.

Steve
Post by Gale Andrews
When we rationalise plug-in paths we can remove the
"deprecated" references and start with a clean and complete
list (hopefully).
I hope (pray) this will do.
Gale
</snip>
Gale Andrews
2017-06-01 20:19:10 UTC
Permalink
Post by Steve the Fiddle
<snip>
Post by Gale Andrews
Post by Steve the Fiddle
Yes, I made it Mac and Windows only in commit 1dd6b848c28. I needed to
define where non-shipped Nyquist plug-ins look for help files so I had
to make a decision one way or the other. Adding that empty folder to
the Linux installation did not appear to be deliberate as far as I can
see (unless anyone knows otherwise?)
Not all locations in Audacity's search path are "correct" locations
for plug-ins, so we select which locations to look in, and exclude
others (which can be per-platform). For example,
"_prefix_/share/doc/audacity" (which is in Audacity's search path) is
not correct on any platform, so that is excluded from the list of
locations where the plug-in manager searches.
Currently, and for many years, Audacity has not really known where to
look for plug-ins, so we tell it to search broadly, including many
locations where plug-ins should not be. Leland added a comment 3 years
"// TODO: We REALLY need to figure out the "Audacity" plug-in path(s)"
I agree, we do.
I don't feel strongly about "where" we decide the correct location for
Audacity plug-ins is, but I think we do need to decide. On Linux, I've
been using "~/audacity-files/plug-ins" for years, and it is widely
documented in the manual, the wiki, the forum and other websites, so I
think that currently looks like the best choice.
"~/.audacity-files/plug-ins" seems to me just as non-standard a path
(especially the name) as "~/.audacity-data/Plug-Ins". Some users
could have been using the latter for years as it was equally
documented (and existed).
Do you know what other "files" the ~/.audacity-files folder supports?
LADSPA "/usr/lib/ladspa"
VST "/usr/lib/vst/"
LV2 "/usr/lib/lv2"
(note also that they are all lower case)
Generally, other types of plug-ins should be installed in standard
locations so that they are available to other applications. That's not
the case for Nyquist plug-ins as they are "native" to Audacity and are
only supported by Audacity (mostly they don't even work in stand-alone
Nyquist).
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.

I just wondered what other "files" (not plugins) were intended
to go there.
Post by Steve the Fiddle
Post by Gale Andrews
If in practical terms "~/.audacity-files/plug-ins" is likely to continue
to exist for some time, is there any good reason not to create that
folder group on installation of Audacity?
Planned obsolescence.
OK so I take that as agreement that folder is also non-standard.


Gale
Post by Steve the Fiddle
Deprecation allows us to work toward a simpler and more rational
system while maintaining backward compatibility and minimising
inconvenience to users.
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
On Linux, native VST's are still pretty rare, but as with other
packages, would normally be installed with a package manager. Anyone
building native VST plug-ins from source should know what they are
doing and ensure that the .so file are placed in the VST plug-in path.
Similarly for the more common LADSPA and LV2 plug-ins.
When building from source, installation is often much like it is for
Audacity: configure, make, then sudo make install to copy the binaries
into the correct system locations.
Post by Gale Andrews
.
If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.
As above, I don't think "~/audacity-data/Plug-Ins" is the most
appropriate location for LADSPA or VST plug-ins on Linux, and we
should update those sections of the manual.
The fact is though that we do search there, whether one accepts that
or not (unless you are going to change it).
As far as I'm aware, Nyquist plug-ins can currently be loaded from
literally anywhere if they are registered by the plug-in manager (in
pluginregistry.cfg).
Post by Gale Andrews
On balance I still think "~/.audacity-data/Plug-Ins" should be mentioned
for Nyquist, LADSPA and VST given it's been mentioned in recent
Manuals and is still supported. Of course, if user wants to completely
reset Audacity Preferences they have to take more care over any
custom plugins that are in "~/.audacity-data/Plug-Ins".
But if you are strongly against, I suggest the green divs for LADSPA
and VST should be clarified so that the noted paths outside
LADSPA_PATH and VST_PATH don't read as now that they are a
complete list of such paths (IIRC, they are a complete list).
Perhaps we could compromise; Where we say that plug-ins can also be
found in other locations, we could link that to a paragraph at the
bottom where we say what those locations are (to the best of our
knowledge, as I'm not sure that any of us know 'all' of the possible
locations).
I think that just makes more darting around for the user,
If a new user follows our recommendations, then "other locations" are
irrelevant and potentially confusing clutter for them. I think the
most important thing for us, is to make "best practice" instructions
as clear and easy to follow as possible. Additional information can be
useful, but should not distract from the "best practice"
instructions.
Post by Gale Andrews
and
without saving space because the paths outside VST_PATH
and outside LADSPA_PATH are of course mainly different.
To try and reach a resolution, and be even-handed to those who
might be using ~/.audacity-data/Plug-Ins, I made it look less
certain that the VST and LADSPA paths are complete, and marked
~/.audacity-data/Plug-Ins in those lists as "(deprecated, not created
automatically)."
Similarly for Nyquist I said that this folder is deprecated and
reinforced the message to use the paths listed above that.
Those changes look good.
Steve
Post by Gale Andrews
When we rationalise plug-in paths we can remove the
"deprecated" references and start with a clean and complete
list (hopefully).
I hope (pray) this will do.
Gale
</snip>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-01 22:51:37 UTC
Permalink
Post by Gale Andrews
Post by Steve the Fiddle
<snip>
Post by Gale Andrews
Post by Steve the Fiddle
Yes, I made it Mac and Windows only in commit 1dd6b848c28. I needed to
define where non-shipped Nyquist plug-ins look for help files so I had
to make a decision one way or the other. Adding that empty folder to
the Linux installation did not appear to be deliberate as far as I can
see (unless anyone knows otherwise?)
Not all locations in Audacity's search path are "correct" locations
for plug-ins, so we select which locations to look in, and exclude
others (which can be per-platform). For example,
"_prefix_/share/doc/audacity" (which is in Audacity's search path) is
not correct on any platform, so that is excluded from the list of
locations where the plug-in manager searches.
Currently, and for many years, Audacity has not really known where to
look for plug-ins, so we tell it to search broadly, including many
locations where plug-ins should not be. Leland added a comment 3 years
"// TODO: We REALLY need to figure out the "Audacity" plug-in path(s)"
I agree, we do.
I don't feel strongly about "where" we decide the correct location for
Audacity plug-ins is, but I think we do need to decide. On Linux, I've
been using "~/audacity-files/plug-ins" for years, and it is widely
documented in the manual, the wiki, the forum and other websites, so I
think that currently looks like the best choice.
"~/.audacity-files/plug-ins" seems to me just as non-standard a path
(especially the name) as "~/.audacity-data/Plug-Ins". Some users
could have been using the latter for years as it was equally
documented (and existed).
Do you know what other "files" the ~/.audacity-files folder supports?
LADSPA "/usr/lib/ladspa"
VST "/usr/lib/vst/"
LV2 "/usr/lib/lv2"
(note also that they are all lower case)
Generally, other types of plug-ins should be installed in standard
locations so that they are available to other applications. That's not
the case for Nyquist plug-ins as they are "native" to Audacity and are
only supported by Audacity (mostly they don't even work in stand-alone
Nyquist).
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.
I just wondered what other "files" (not plugins) were intended
to go there.
Post by Steve the Fiddle
Post by Gale Andrews
If in practical terms "~/.audacity-files/plug-ins" is likely to continue
to exist for some time, is there any good reason not to create that
folder group on installation of Audacity?
Planned obsolescence.
OK so I take that as agreement that folder is also non-standard.
Oh, sorry, I misread and thought we were still talking about
"~/audacity-data/Plug-Ins"

For now, there probably isn't a good reason to not create
"~/.audacity-files/plug-ins/".
We just don't currently do that.

However, if we eventually do wish to to just have one "~/.audacity/"
folder, which I think would be the best option on Linux, then yes we
will want to retire "~/.audacity-files/plug-ins/" as well. I also
think that if / when we do that, we should do a proper "migration" and
copy settings, Chains, plug-ins, and so on into the new configuration
folder.

Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Deprecation allows us to work toward a simpler and more rational
system while maintaining backward compatibility and minimising
inconvenience to users.
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
"~/.audacity-data/Plug-Ins" folder. My current view is that Audacity
will see some types of plug-ins in this folder but that it is not the
'correct' location for any types of plug-in on Linux and is therefore
not recommended.
Fedora seem persuaded? But given Audacity built by us does not
appear to create this Plug-Ins folder on Linux, which I thought it
did, I'd agree we "could" ignore this folder. One problem with doing
that is it's inconsistent with mentioning ~/.audacity-data/Plug-Ins for
LADSPA and VST on
http://alphamanual.audacityteam.org/man/Installing_Effect,_Generator_and_Analyzer_plug-ins_on_Linux
On Linux, native VST's are still pretty rare, but as with other
packages, would normally be installed with a package manager. Anyone
building native VST plug-ins from source should know what they are
doing and ensure that the .so file are placed in the VST plug-in path.
Similarly for the more common LADSPA and LV2 plug-ins.
When building from source, installation is often much like it is for
Audacity: configure, make, then sudo make install to copy the binaries
into the correct system locations.
Post by Gale Andrews
.
If we remove ~/.audacity-data/Plug-Ins as a named path for LADSPA
and VST, then the list we give for those plugins is incomplete.
As above, I don't think "~/audacity-data/Plug-Ins" is the most
appropriate location for LADSPA or VST plug-ins on Linux, and we
should update those sections of the manual.
The fact is though that we do search there, whether one accepts that
or not (unless you are going to change it).
As far as I'm aware, Nyquist plug-ins can currently be loaded from
literally anywhere if they are registered by the plug-in manager (in
pluginregistry.cfg).
Post by Gale Andrews
On balance I still think "~/.audacity-data/Plug-Ins" should be mentioned
for Nyquist, LADSPA and VST given it's been mentioned in recent
Manuals and is still supported. Of course, if user wants to completely
reset Audacity Preferences they have to take more care over any
custom plugins that are in "~/.audacity-data/Plug-Ins".
But if you are strongly against, I suggest the green divs for LADSPA
and VST should be clarified so that the noted paths outside
LADSPA_PATH and VST_PATH don't read as now that they are a
complete list of such paths (IIRC, they are a complete list).
Perhaps we could compromise; Where we say that plug-ins can also be
found in other locations, we could link that to a paragraph at the
bottom where we say what those locations are (to the best of our
knowledge, as I'm not sure that any of us know 'all' of the possible
locations).
I think that just makes more darting around for the user,
If a new user follows our recommendations, then "other locations" are
irrelevant and potentially confusing clutter for them. I think the
most important thing for us, is to make "best practice" instructions
as clear and easy to follow as possible. Additional information can be
useful, but should not distract from the "best practice"
instructions.
Post by Gale Andrews
and
without saving space because the paths outside VST_PATH
and outside LADSPA_PATH are of course mainly different.
To try and reach a resolution, and be even-handed to those who
might be using ~/.audacity-data/Plug-Ins, I made it look less
certain that the VST and LADSPA paths are complete, and marked
~/.audacity-data/Plug-Ins in those lists as "(deprecated, not created
automatically)."
Similarly for Nyquist I said that this folder is deprecated and
reinforced the message to use the paths listed above that.
Those changes look good.
Steve
Post by Gale Andrews
When we rationalise plug-in paths we can remove the
"deprecated" references and start with a clean and complete
list (hopefully).
I hope (pray) this will do.
Gale
</snip>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-02 11:33:57 UTC
Permalink
<snip>
Post by Gale Andrews
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.
I just wondered what other "files" (not plugins) were intended
to go there.
According to the manual, "~/.audacity-files/" may also be used for Modules:
http://alphamanual.audacityteam.org/man/Scripting

As I said, I'm more interested in rationalizing where we put things
rather than specifically getting rid of the ~/.audacity-data/Plug-Ins"
folder. We just seem to have too many optional / alternative locations
for no real benefit.
I'm very open to considering alternatives.

I'd not noticed that "~/,audacity-data/Plug-ins" has been documented
for "a long time", as I've used "~/.audacity-files/plug-ins".
Leland told me that this was how to install Nyquist plug-ins with
standard user permissions, and I've used that method ever since.

What I'm now considering is that perhaps it would be better to
deprecate the "~/.audacity-files/" directory and consistently use
"~/.audacity-data/" instead.

On Linux it would be a bit more conventional to call the plug-ins
sub-directory "plug-ins" rather than capitalized "Plug-Ins", but we do
also have "AutoSave" and "Chains", and it's not unheard of to
capitalize in this context. IF we retain "~/.audacity-data/Plug-Ins"
and deprecate "~/.audacity-files/", then I think it's reasonable to
retain the (consistent) capitalization.

Perhaps this is less of a change for users?

What do people think?

Steve
Gale Andrews
2017-06-03 02:25:14 UTC
Permalink
I buy the argument that "~/.audacity-data/Plug-Ins" is not so
convenient if you need to do a quick reset of preferences.

If we are going to shunt paths around it may be best to do it once
in a larger rationalisation that sets up ~/.audacity/.

Rather than rediscuss, I would be happy enough until then to
leave things as they are (~/.audacity-files/plug-ins has also been
documented a long time). But perhaps do create that folder path
at install and launch if you now see no reason against.


Gale
Post by Steve the Fiddle
<snip>
Post by Gale Andrews
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.
I just wondered what other "files" (not plugins) were intended
to go there.
http://alphamanual.audacityteam.org/man/Scripting
As I said, I'm more interested in rationalizing where we put things
rather than specifically getting rid of the ~/.audacity-data/Plug-Ins"
folder. We just seem to have too many optional / alternative locations
for no real benefit.
I'm very open to considering alternatives.
I'd not noticed that "~/,audacity-data/Plug-ins" has been documented
for "a long time", as I've used "~/.audacity-files/plug-ins".
Leland told me that this was how to install Nyquist plug-ins with
standard user permissions, and I've used that method ever since.
What I'm now considering is that perhaps it would be better to
deprecate the "~/.audacity-files/" directory and consistently use
"~/.audacity-data/" instead.
On Linux it would be a bit more conventional to call the plug-ins
sub-directory "plug-ins" rather than capitalized "Plug-Ins", but we do
also have "AutoSave" and "Chains", and it's not unheard of to
capitalize in this context. IF we retain "~/.audacity-data/Plug-Ins"
and deprecate "~/.audacity-files/", then I think it's reasonable to
retain the (consistent) capitalization.
Perhaps this is less of a change for users?
What do people think?
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-03 18:10:42 UTC
Permalink
Post by Gale Andrews
I buy the argument that "~/.audacity-data/Plug-Ins" is not so
convenient if you need to do a quick reset of preferences.
Do you mean, because if you _don't_ use ~/.audacity-data/Plug-Ins",
then you can delete the entire ~/.audacity-data/ directory to reset
preferences?

If so, would that be an argument for putting /Chains/ in the
~/.audacity-files/ folder?

Steve
Post by Gale Andrews
If we are going to shunt paths around it may be best to do it once
in a larger rationalisation that sets up ~/.audacity/.
Rather than rediscuss, I would be happy enough until then to
leave things as they are (~/.audacity-files/plug-ins has also been
documented a long time). But perhaps do create that folder path
at install and launch if you now see no reason against.
Gale
Post by Steve the Fiddle
<snip>
Post by Gale Andrews
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.
I just wondered what other "files" (not plugins) were intended
to go there.
http://alphamanual.audacityteam.org/man/Scripting
As I said, I'm more interested in rationalizing where we put things
rather than specifically getting rid of the ~/.audacity-data/Plug-Ins"
folder. We just seem to have too many optional / alternative locations
for no real benefit.
I'm very open to considering alternatives.
I'd not noticed that "~/,audacity-data/Plug-ins" has been documented
for "a long time", as I've used "~/.audacity-files/plug-ins".
Leland told me that this was how to install Nyquist plug-ins with
standard user permissions, and I've used that method ever since.
What I'm now considering is that perhaps it would be better to
deprecate the "~/.audacity-files/" directory and consistently use
"~/.audacity-data/" instead.
On Linux it would be a bit more conventional to call the plug-ins
sub-directory "plug-ins" rather than capitalized "Plug-Ins", but we do
also have "AutoSave" and "Chains", and it's not unheard of to
capitalize in this context. IF we retain "~/.audacity-data/Plug-Ins"
and deprecate "~/.audacity-files/", then I think it's reasonable to
retain the (consistent) capitalization.
Perhaps this is less of a change for users?
What do people think?
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-04 17:12:18 UTC
Permalink
Post by Gale Andrews
I buy the argument that "~/.audacity-data/Plug-Ins" is not so
convenient if you need to do a quick reset of preferences.
If we are going to shunt paths around it may be best to do it once
in a larger rationalisation that sets up ~/.audacity/.
Rather than rediscuss, I would be happy enough until then to
leave things as they are (~/.audacity-files/plug-ins has also been
documented a long time). But perhaps do create that folder path
at install and launch if you now see no reason against.
OK, I've reverted the change so the plug-in paths are the same as in 2.1.3.
I've updated the Nyquist "*system-dir* plug-ins" property to include
previously missing FileNames::PlugInDir().

This really does need to be sorted out at some point.

Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
<snip>
Post by Gale Andrews
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.
I just wondered what other "files" (not plugins) were intended
to go there.
http://alphamanual.audacityteam.org/man/Scripting
As I said, I'm more interested in rationalizing where we put things
rather than specifically getting rid of the ~/.audacity-data/Plug-Ins"
folder. We just seem to have too many optional / alternative locations
for no real benefit.
I'm very open to considering alternatives.
I'd not noticed that "~/,audacity-data/Plug-ins" has been documented
for "a long time", as I've used "~/.audacity-files/plug-ins".
Leland told me that this was how to install Nyquist plug-ins with
standard user permissions, and I've used that method ever since.
What I'm now considering is that perhaps it would be better to
deprecate the "~/.audacity-files/" directory and consistently use
"~/.audacity-data/" instead.
On Linux it would be a bit more conventional to call the plug-ins
sub-directory "plug-ins" rather than capitalized "Plug-Ins", but we do
also have "AutoSave" and "Chains", and it's not unheard of to
capitalize in this context. IF we retain "~/.audacity-data/Plug-Ins"
and deprecate "~/.audacity-files/", then I think it's reasonable to
retain the (consistent) capitalization.
Perhaps this is less of a change for users?
What do people think?
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
2017-06-05 02:08:07 UTC
Permalink
Post by Steve the Fiddle
Post by Gale Andrews
I buy the argument that "~/.audacity-data/Plug-Ins" is not so
convenient if you need to do a quick reset of preferences.
If we are going to shunt paths around it may be best to do it once
in a larger rationalisation that sets up ~/.audacity/.
Rather than rediscuss, I would be happy enough until then to
leave things as they are (~/.audacity-files/plug-ins has also been
documented a long time). But perhaps do create that folder path
at install and launch if you now see no reason against.
OK, I've reverted the change so the plug-in paths are the same as in 2.1.3.
I've updated the Nyquist "*system-dir* plug-ins" property to include
previously missing FileNames::PlugInDir().
This really does need to be sorted out at some point.
Hmm I as above I was assuming you would leave ~/.audacity-data/Plug-Ins
deprecated and create ~/.audacity-files/plug-ins automatically.

I can confirm on Ubuntu 14.04 that ~/.audacity-data/Plug-Ins does get
created on installation and is recreated if it gets deleted.

I adjusted the Manual again to remove the statement that
~/.audacity-data/Plug-Ins is not created automatically. I also
mentioned ~/.audacity-data/Plug-Ins as deprecated but still
working on
http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install .


Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
<snip>
Post by Gale Andrews
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.
I just wondered what other "files" (not plugins) were intended
to go there.
http://alphamanual.audacityteam.org/man/Scripting
As I said, I'm more interested in rationalizing where we put things
rather than specifically getting rid of the ~/.audacity-data/Plug-Ins"
folder. We just seem to have too many optional / alternative locations
for no real benefit.
I'm very open to considering alternatives.
I'd not noticed that "~/,audacity-data/Plug-ins" has been documented
for "a long time", as I've used "~/.audacity-files/plug-ins".
Leland told me that this was how to install Nyquist plug-ins with
standard user permissions, and I've used that method ever since.
What I'm now considering is that perhaps it would be better to
deprecate the "~/.audacity-files/" directory and consistently use
"~/.audacity-data/" instead.
On Linux it would be a bit more conventional to call the plug-ins
sub-directory "plug-ins" rather than capitalized "Plug-Ins", but we do
also have "AutoSave" and "Chains", and it's not unheard of to
capitalize in this context. IF we retain "~/.audacity-data/Plug-Ins"
and deprecate "~/.audacity-files/", then I think it's reasonable to
retain the (consistent) capitalization.
Perhaps this is less of a change for users?
What do people think?
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-05 08:40:31 UTC
Permalink
Post by Gale Andrews
Post by Steve the Fiddle
Post by Gale Andrews
I buy the argument that "~/.audacity-data/Plug-Ins" is not so
convenient if you need to do a quick reset of preferences.
If we are going to shunt paths around it may be best to do it once
in a larger rationalisation that sets up ~/.audacity/.
Rather than rediscuss, I would be happy enough until then to
leave things as they are (~/.audacity-files/plug-ins has also been
documented a long time). But perhaps do create that folder path
at install and launch if you now see no reason against.
OK, I've reverted the change so the plug-in paths are the same as in 2.1.3.
I've updated the Nyquist "*system-dir* plug-ins" property to include
previously missing FileNames::PlugInDir().
This really does need to be sorted out at some point.
Hmm I as above I was assuming you would leave ~/.audacity-data/Plug-Ins
deprecated and create ~/.audacity-files/plug-ins automatically.
In the end I thought that while we don't yet have a clear plan, the
safest thing would be to leave it as is, then at least it is no worse
than 2.1.3. This isn't as good an outcome as I had been hoping for,
but until we have time to resolve it properly, it's sucking too much
time and energy for very little tangible return. Our "rule" is "no
worse than before", so I'll stick with that for this release.
Post by Gale Andrews
I can confirm on Ubuntu 14.04 that ~/.audacity-data/Plug-Ins does get
created on installation and is recreated if it gets deleted.
I adjusted the Manual again to remove the statement that
~/.audacity-data/Plug-Ins is not created automatically. I also
mentioned ~/.audacity-data/Plug-Ins as deprecated but still
working on
http://wiki.audacityteam.org/wiki/Download_Nyquist_Plug-ins#install .
Thanks Gale, I'll cross that off my to do list.

Steve
Post by Gale Andrews
Gale
Post by Steve the Fiddle
Post by Gale Andrews
Post by Steve the Fiddle
<snip>
Post by Gale Andrews
I have tested in the past and I seemed to find that only Nyquist
plugins are supported in "~/.audacity-files/plug-ins". Hence the
Manual only mentions Nyquist plugins for that folder.
I just wondered what other "files" (not plugins) were intended
to go there.
http://alphamanual.audacityteam.org/man/Scripting
As I said, I'm more interested in rationalizing where we put things
rather than specifically getting rid of the ~/.audacity-data/Plug-Ins"
folder. We just seem to have too many optional / alternative locations
for no real benefit.
I'm very open to considering alternatives.
I'd not noticed that "~/,audacity-data/Plug-ins" has been documented
for "a long time", as I've used "~/.audacity-files/plug-ins".
Leland told me that this was how to install Nyquist plug-ins with
standard user permissions, and I've used that method ever since.
What I'm now considering is that perhaps it would be better to
deprecate the "~/.audacity-files/" directory and consistently use
"~/.audacity-data/" instead.
On Linux it would be a bit more conventional to call the plug-ins
sub-directory "plug-ins" rather than capitalized "Plug-Ins", but we do
also have "AutoSave" and "Chains", and it's not unheard of to
capitalize in this context. IF we retain "~/.audacity-data/Plug-Ins"
and deprecate "~/.audacity-files/", then I think it's reasonable to
retain the (consistent) capitalization.
Perhaps this is less of a change for users?
What do people think?
Steve
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Loading...