cli-anything-garageband
GarageBand CLI — macOS 音频项目的状态化命令行接口。
功能
- 项目管理(新建、打开、保存、BPM设置)
- 音轨管理(添加、删除、音量、声像、静音、独奏)
- 片段管理(添加音频、裁剪、移动、删除)
- 效果链(EQ、压缩、混响、延迟等11种效果)
- 音频导出(WAV/MP3/M4A/AIFF)
- 撤销/重做
- 交互式 REPL
- JSON 输出模式(AI Agent 友好)
安装
pip install cli-anything-garageband
快速开始
# 创建项目
cli-anything-garageband project new --name "My Song" --bpm 140
# 添加音轨
cli-anything-garageband track add --name "Vocals" --instrument "Vocals"
cli-anything-garageband track add --name "Guitar" --instrument "Acoustic Guitar"
# 添加音频
cli-anything-garageband clip add 0 vocal.wav --position 0
cli-anything-garageband clip add 1 guitar.wav --position 0
# 添加效果
cli-anything-garageband effect add 0 reverb
cli-anything-garageband effect add 0 compressor
# 混音
cli-anything-garageband track volume 0 -3
cli-anything-garageband track pan 1 30
# 导出
cli-anything-garageband export render output.wav
cli-anything-garageband export render output.m4a --format m4a
# JSON 模式
cli-anything-garageband --json track list
# 交互式 REPL
cli-anything-garageband repl
依赖
- macOS(导出 M4A/AIFF 使用 afconvert)
- 可选:lame(MP3 导出)
Release files for cli-anything-garageband 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cli_anything_garageband-1.0.0.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cli_anything_garageband-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.8 kB
Release files / cli_anything_garageband-1.0.0.tar.gz
| Download URL | cli_anything_garageband-1.0.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0f00a7758e678fd7fe7a0102242cdfa33577675a4b91a05783d6a473a76457f
|
|
BLAKE2b-256 checksum How to use checksums |
2d84d99af2bc9a01f17f06805c4534cb31d9af88e69de54fa3791d7178c25ba5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / cli_anything_garageband-1.0.0-py3-none-any.whl
| Download URL | cli_anything_garageband-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19a92be1a393ee4317b595501b8664c4edde1ed92e00bb9082e693fcb054ca8e
|
|
BLAKE2b-256 checksum How to use checksums |
836d0f65febf3edce64e1c7f40fcf7ca6c5d378365a148320fdcab1b10912349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|