sox

Install command:
brew install sox

SOund eXchange: universal sound sample translator

https://sox.sourceforge.net/

License: GPL-2.0-or-later AND LGPL-2.1-or-later

Development: Pull requests

Formula JSON API: /api/formula/sox.json

Formula code: sox.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 14.4.2

Revision: 6

Patches:

https://github.com/Homebrew/homebrew-core/blob/main/Patches/libtool/configure-pre-0.4.2.418-big_sur.diff
https://github.com/Homebrew/homebrew-core/blob/main/Patches/sox/coreaudio-device-name.patch

Depends on:

flac 1.5.0 Free lossless audio codec
lame 4.0 High quality MPEG Audio Layer III (MP3) encoder
libogg 1.3.6 Ogg Bitstream Library
libpng 1.6.59 Library for manipulating PNG images
libsndfile 1.2.2 C library for files containing sampled sound
libvorbis 1.3.7 Vorbis general audio compression codec
mad 0.16.5 MPEG audio decoder
opusfile 0.12 API for decoding and seeking in .opus files

Depends on when building from source:

pkgconf 3.0.11 Package compiler and linker metadata toolkit

Conflicts with: sox_ng (because both install `play`, `rec`, `sox`, `soxi` binaries)

Binaries: play, rec, sox, soxi

GitHub Packages downloads:

Last 30 days24,636
Downloads660,664
Analytics install events (30 days)1,734
Downloads / install events (30 days)14.2×

Source: GitHub Packages, fetched 2026-11-20T00:57:05Z. Analytics dates: 2026-10-21 to 2026-11-20. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs1,7284,45829,205
Installs (--HEAD)6951
Installs on Request1,6764,33928,097
Installs on Request (--HEAD)6951
Build Errors2