Video & Audio
Audacity CLI
Audio editing, noise reduction and format conversion
✓ 161 tests passed
Install
$ pip install cli-anything-audacity
About
Process audio files: cut, mix, denoise, equalize, normalize and convert formats (MP3, WAV, FLAC, OGG). Uses Python wave and sox for processing without a GUI.
Requirements
sox (recommended), Python wave
Command Reference
| Command | Arguments | Description |
|---|---|---|
detect |
Check audio processing backend | |
info |
AUDIO_FILE |
Get audio metadata |
convert |
INPUT --format mp3|wav|flac|ogg --output OUT |
Convert audio format |
trim |
INPUT --start S --end E --output OUT |
Trim audio clip |
normalize |
INPUT --output OUT |
Normalize audio levels |
merge |
FILE1 FILE2 --output OUT |
Merge audio files |
denoise |
INPUT --output OUT |
Apply noise reduction |
Usage Examples
# Install
$ pip install cli-anything-audacity
# Health check
$ audacity-cli detect
# Get capabilities schema (Agent-ready, no token needed)
$ audacity-cli schema
# Run with JSON output (for AI Agent integration)
$ audacity-cli --json detect
# Example JSON response:
{"duration":120.5,"channels":2,"sample_rate":44100,"format":"mp3","bitrate":"320k"}
Agent Integration
# Python — call from AI Agent
import subprocess, json
result = subprocess.run(
["audacity-cli", "--json", "detect"],
capture_output=True, text=True
)
data = json.loads(result.stdout)
print(data)
# Discover all commands without credentials:
schema = subprocess.run(
["audacity-cli", "schema"],
capture_output=True, text=True
)
capabilities = json.loads(schema.stdout)