Ardour/Appendix/Files-and-directories
来自motewiki
更多操作
Ardour 在几个特定位置存放配置文件与 plugins。
- Configuration Directory
Ardour 使用两个地方存放配置:
- System configuration directory:安装时的默认配置文件
- User configuration directory:GUI 中所做配置更改的存储位置,也是放置 control surface device 文件、scripts 等的地方
各平台路径(`*` 为主版本号,例如版本 5.6 为 `ardour5`):
- Linux:`$HOME/.config/ardour*/`(若找不到 `$HOME/.config/`,用 `echo ${XDG_CONFIG_HOME}` 检查系统实际位置;Ardour 在其结果后追加 `ardour*` 目录。Linux 路径全部小写且区分大小写)
- macOS:`$HOME/Library/Preferences/Ardour*/`
- Windows:系统配置目录后追加 `Ardour*`,典型路径为 `%localappdata%\Ardour*\`(例如 Windows 10 下 `C:\<User>\AppData\Local\Ardour5\`)。Windows 用户通常不需要手工编辑配置文件,均可在 preferences GUI 中更改。
- Plugins
Plugin 的安装位置因平台与开发者而异。
- Linux
Linux 上 Ardour 支持 4 种 plugin:LADSPA、LV2 (LADSPA version 2)、VST2 与 VST3。
- LADSPA:应在 `/usr/lib/ladspa/`、`/usr/local/lib/ladspa/` 或 `LADSPA_PATH` 环境变量指定的目录中。发行版常见错误是装到 `/usr/lib/$ARCH/ladspa/` 这类路径——需手工建链接或加入 `LADSPA_PATH`。
- LV2:应在 `/usr/lib/lv2/`、`/usr/local/lib/lv2/` 或 `LV2_PATH` 指定的目录中;同理 `/usr/lib/$ARCH/lv2`、`/usr/lib64/lv2` 等非常规路径需手工处理。
- Linux VST / lxvst:通常在 `/usr/lib/lxvst`、`/usr/local/lib/lxvst` 或 `LXVST_PATH` 中,但无统一标准——额外 VST 路径可在 Preferences > Plugins > VST 中设置。
- macOS
Ardour 使用系统工具扫描 AU plugins;LV2 应位于 `$HOME/Library/Audio/Plug-Ins/LV2/`、`/Library/Audio/Plug-Ins/LV2/`、`/usr/local/lib/lv2/` 或 `/usr/lib/lv2/`。若 AU 或 LV2 plugin 不显示,通常是 plugin 本身的问题。Ardour 5.6 起支持原生 VST,搜索路径同样可在 Preferences > Plugins > VST 中编辑。
- Windows
Windows 上最常见的 plugin 是 VST,但 LADSPA 与 LV2 也可用——Ardour 内置 plugins 就是 LV2。LV2 的最大优势是跨平台(同一 project 可在 Windows、macOS、Linux 间工作)。
- VST:无标准位置,通过 Preferences > Plugins > VST 设置路径。
- LV2:标准位置为 `%APPDATA%/LV2/` 或 `%COMMONPROGRAMFILES%/LV2/`。
- Project Directory
Ardour 在用户指定位置创建 project directory(创建 project 时选定)。通常无需关心其中的文件,但有值得注意的子目录:
- export/:exported files 存放处