sox

CLI

Swiss Army knife of audio manipulation.

Convert, trim, mix, and apply effects to audio files

3 curated recipes · not yet executed by the harness#audio#convert#effects#sound

Recipes

Curated from documentation and usage. Percentages are estimates, not measurements.

Convert audio format

~94% est.
sox input.wav output.mp3
Common 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

~98% est.
sox input.wav output.wav trim 0 30

Normalize volume

~97% est.
sox --norm input.wav output.wav

Install

Homebrewbrew install sox
aptsudo apt install sox

Agent notes

When to use
Audio format conversion, trimming silence, normalizing volume
Quick examples
  • sox input.wav output.mp3
  • sox input.wav output.wav trim 0 30 # first 30 seconds
  • sox 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.

Homepage ↗GPL-2.00 views