]> Shamusworld >> Repos - ardour-manual/blob - include/files-and-directories-ardour-knows-about.html
b3537d25876f13d1a610ed4a40566876c52b93cd
[ardour-manual] / include / files-and-directories-ardour-knows-about.html
1
2 <h2>Configuration Directory</h2>
3 <p>
4   Ardour stores configuration files in two places. The system configuration
5   directory and the user configuration directory. The system configuration
6   directory is used for stock configuration files at install time.
7   The user configuration directory is used by Ardour to store
8   configuration changes made in the GUI as well as being a place the user
9   can add control surface device files, scripts etc.
10 </p>
11
12 <p>
13   Ardour tries to use standard places for these directories for the platform
14   it is running on.
15 </p>
16 <h3>Linux</h3>
17 <p>
18   The user configuration directory will be somewhere inside the user's
19   home directory. The home directory on a linux system is normally
20   <code>/home/$USER/</code>, but should also be returned by <code>$HOME</code>
21   or <code>~</code>.
22   A normal place to find this is <code>$HOME/.config/ardour*/</code> where
23   <code>*</code> is the major version. However this can be set by the system with the
24   <code>$XDG_CONFIG_HOME</code> environment variable to something else. If you cannot
25   find <code>$HOME/.config/</code> on your system try <code>echo ${XDG_CONFIG_HOME}</code>
26   to see if your distro is using something else. In any case Ardour
27   appends the <code>ardour*</code>
28   directory to the result where <code>*</code> is the major version number.
29   For example, <code>ardour5</code> where the Ardour version is 5.6.
30 </p>
31 <p class="note">
32   In Linux, all path names are lower case and case matters.
33 </p>
34
35 <h3>macOS</h3>
36
37 <p>
38   The user configuration directory on macOS is
39   <code>$HOME/Library/Preferences/Ardour*/</code> where <code>*</code>
40   is the major version number.
41   For example, <code>Ardour5</code> where the Ardour version is 5.6.
42 </p>
43 <h3>Windows</h3>
44 <p>
45   Windows users are not expected to hand edit configuration files at all.
46   It is expected configuration options are changed with some sort of GUI
47   tool. For the most part all of Ardour's configuration is taken care of
48   by the GUI in preferences. However, there are devices that may need a
49   custom file and that would be in the users configuration directory.
50 </p>
51 <p>
52   Ardour asks the system for this directory and then appends
53   <code>Ardour*</code>
54   to the path where <code>*</code> is the major version number.
55   For example, <code>Ardour5</code> where the Ardour version is 5.6.
56   The official path would look like:
57   <code>%localappdata%\Ardour5\</code> Windows expands
58   <code>%localappdata%</code> to
59   a real path.
60 </p>
61 <p>
62   An example of a configuration path in Window (from xp) would be:
63   <code>C:\Documents and Settings\&lt;User&gt;\Application Data\Local Settings\Ardour5\</code>
64   The user in the path would be the user's account name.
65 </p>
66 <p class="note">
67   The above is only an example and may not even be true for all installations
68   of Windows XP.
69 </p>
70
71 <h2>Plugins</h2>
72 <p>
73   Plugins will be installed in various places, some by standard and some
74   by developer whim. Some are installed incorrectly by distro policy.
75 </p>
76
77 <h3>Linux</h3>
78 <p>
79   In linux there are 3 kinds of plugins Ardour can use. LADSPA, LV2 (LADSPA version 2)
80   or lxvst (VSTs compiled as native linux binaries). While it is possible
81   with some strange magic to run <a href="/working-with-plugins/windows-vst-support/">Windows VSTs</a>
82   on linux, their whereabouts would follow the Windows info below.
83 </p>
84
85 <h4>LADSPA</h4>
86 <p>
87   LADSPA plugins should be found in  <code>/usr/lib/ladspa/</code>,
88   <code>/usr/local/lib/ladspa/</code>
89   or in a directory mentioned in your LADSPA_PATH environment variable.
90   The most common mistake made by distro packagers, is to use a path
91   like <code>/usr/lib/$ARCH/ladspa/</code> and find that Ardour will not find that by
92   default. The user can either add a link from this actual directory to
93   the standard directory or add this path to LADSPA_PATH.
94 </p>
95
96 <h4>LV2</h4>
97 <p>
98   LADSPA plugins should be found in  <code>/usr/lib/lv2/</code>,
99   <code>/usr/local/lib/lv2/</code>
100   or in a directory mentioned in your LV2_PATH environment variable.
101   The most common mistake made by distro packagers, is to use a path
102   like <code>/usr/lib/$ARCH/lv2/</code> and find that Ardour will not find that by
103   default. The user can either add a link from this actual directory to
104   the standard directory or add this path to LV2_PATH.
105 </p>
106
107 <h4>Linux VST or lxvst</h4>
108 <p>
109  They are typically installed in <code>/usr/lib/lxvst</code>,
110  <code>/usr/local/lib/lxvst</code> or
111  a directory mentioned in your LXVST_PATH environment variable. However,
112  this is not a standard and the VST plugin developer may install the plugin
113  just about anywhere. Therefore Ardour allows the user to set extra VST
114  paths in the preferences GUI under Plugins&gt;VST.
115 </p>
116
117 <h3>macOS</h3>
118 <p>
119   On the Mac, plugins are expected to be installed correctly Ardour uses
120   the system tool to scan for AU style plugins and LV2s should be in the right
121   place. LV2 should be in <code>$HOME/Library/Audio/Plug-Ins/LV2/</code>
122   <code>/Library/Audio/Plug-Ins/LV2/</code>
123   <code>/usr/local/lib/lv2/</code>
124   <code>/usr/lib/lv2/</code>
125   If an AU or LV2 plugin does not show up on a Mac it is probably
126   a development fault with the plugin and the plugin will not work with anything.
127   Ardour in Ardour 5.6 has support for native VST plugins. That is VST
128   plugins built for OSX. I am not sure if these have a standard place to
129   be, but as with other VSTs the search path can be edited at  Plugins&gt;VST.
130 </p>
131
132 <h3>Windows</h3>
133 <p>
134  The most common plugins on Windows are VSTs. However, LADSPA and LV2
135  plugins are available for windows as well. In fact Ardours built in
136  plugins are LV2s. The biggest advanatage of LV2 plugins is that they are
137  the most likely to be cross platform and therefore allow the same Ardour
138  project to be worked on in Windows, OSX and Linux.
139 </p>
140
141 <h4>VST</h4>
142 <p>
143   As with other platforms, VSTs on Windows do not have a standard place
144   to reside. Ardour Preferences&gt;Plugins&gt;VST allows setting the VST path
145   from the GUI.
146 </p>
147 <h4>LV2</h4>
148 <p>
149   The LV2 standard for Windows is <code>%APPDATA%/LV2/</code> or
150   <code>%COMMONPROGRAMFILES%/LV2/</code>
151 </p>
152
153 <h2>Project Directory</h2>
154 <p>
155   Ardour places a project directory where the user tells it to. This
156   directory is chosen when creating a project. In most cases the user
157   does not need to know about the files inside of the project directory.
158   However there are a few subdirectories worth noting.
159 </p>
160 <h3>export</h3>
161 <p>
162   This is the subdirectory where exported files end up.
163 </p>