CLI harness for GarageBand - macOS audio project editing via Python. Requires: macOS
Project description
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 导出)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_anything_garageband-1.0.0.tar.gz.
File metadata
- Download URL: cli_anything_garageband-1.0.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0f00a7758e678fd7fe7a0102242cdfa33577675a4b91a05783d6a473a76457f
|
|
| MD5 |
1683091ffd94d4861f2d1a13dc85d77f
|
|
| BLAKE2b-256 |
2d84d99af2bc9a01f17f06805c4534cb31d9af88e69de54fa3791d7178c25ba5
|
File details
Details for the file cli_anything_garageband-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cli_anything_garageband-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19a92be1a393ee4317b595501b8664c4edde1ed92e00bb9082e693fcb054ca8e
|
|
| MD5 |
b7dead0b487dcde71eaa33c6fa2515c7
|
|
| BLAKE2b-256 |
836d0f65febf3edce64e1c7f40fcf7ca6c5d378365a148320fdcab1b10912349
|