sox
CLISwiss Army knife of audio manipulation.
Convert, trim, mix, and apply effects to audio files
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
Convert audio format
sox input.wav output.mp3Common failures (1)
- sox FAIL formats: no handler for file extension 'mp3'Install sox with mp3 support: brew install sox
Trim audio to first 30 seconds
sox input.wav output.wav trim 0 30Normalize volume
sox --norm input.wav output.wavInstall
Homebrew
brew install soxapt
sudo apt install soxAgent notes
- When to use
- Audio format conversion, trimming silence, normalizing volume
- Quick examples
sox input.wav output.mp3sox input.wav output.wav trim 0 30 # first 30 secondssox input.wav output.wav norm # normalize volume
Use from an agent
curl -s https://clihub.com/api/tools/sox | jq '.agentHints.provenRecipes[] | {task, command, verified}'Or call get_tool with slug sox on the MCP server at https://clihub.com/mcp.