rekordbox-scripts 项目教程
1. 项目的目录结构及介绍
rekordbox-scripts 项目的目录结构如下:
rekordbox-scripts/
├── .gitignore
├── LICENSE
├── README.md
├── ableton-to-cues.py
├── hotcues-to-memory-cues.py
├── memory-cues-to-hotcues.py
├── show-dups.py
├── show-low-bitrate.py
├── show-non-mp3.py
└── ...
目录结构介绍
.gitignore
: 用于指定 Git 版本控制系统忽略的文件和目录。LICENSE
: 项目的开源许可证文件,本项目使用 MIT 许可证。README.md
: 项目的说明文档,包含项目的概述、使用方法和相关信息。ableton-to-cues.py
: 用于将 Ableton 中的 warp markers 转换为 Rekordbox 中的 cue points 的脚本。hotcues-to-memory-cues.py
: 用于将 Rekordbox 中的 hot cues 复制为 memory cues 的脚本。memory-cues-to-hotcues.py
: 用于将 Rekordbox 中的 memory cues 复制为 hot cues 的脚本。show-dups.py
: 用于显示具有相同标题的曲目的脚本。show-low-bitrate.py
: 用于显示比特率低于指定值的曲目的脚本。show-non-mp3.py
: 用于显示非 MP3 格式的曲目的脚本。
2. 项目的启动文件介绍
项目的启动文件是 ableton-to-cues.py
。该脚本的主要功能是将 Ableton 中的 warp markers 转换为 Rekordbox 中的 cue points。
使用方法
python3 ableton-to-cues.py <Ableton文件路径> <Rekordbox导出的XML文件路径>
例如:
python3 ableton-to-cues.py myset.als ~/Rekordbox.xml
参数说明
<Ableton文件路径>
: Ableton 项目文件的路径。<Rekordbox导出的XML文件路径>
: Rekordbox 导出的 XML 文件路径。
3. 项目的配置文件介绍
rekordbox-scripts 项目没有专门的配置文件,但可以通过命令行参数进行配置。例如,show-low-bitrate.py
脚本可以通过命令行参数设置比特率阈值:
python3 show-low-bitrate.py input.xml 256
配置项
show-low-bitrate.py
: 可以通过命令行参数设置比特率阈值,默认值为 320 kbps。ableton-to-cues.py
: 可以通过--reverse true
选项将 Rekordbox 中的 cue points 转换为 Ableton 中的 warp markers。
通过以上配置,用户可以根据自己的需求灵活使用 rekordbox-scripts 项目中的各个脚本。