libsndfile

Install command:
brew install libsndfile

C library for files containing sampled sound

https://libsndfile.github.io/libsndfile/

License: LGPL-2.1-or-later

Development: Pull requests

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

Formula code: libsndfile.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 1.2.2

Revision: 1

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
libvorbis 1.3.7 Vorbis general audio compression codec
mpg123 1.33.7 MP3 player for Linux and UNIX
opus 1.6.1 Audio codec

Depends on when building from source:

cmake 4.5.0 Cross-platform make

Uses from macOS: python (build)

Binaries: sndfile-cmp, sndfile-concat, sndfile-convert, sndfile-deinterleave, sndfile-info, sndfile-interleave, sndfile-metadata-get, sndfile-metadata-set, sndfile-play, sndfile-salvage

GitHub Packages downloads:

Last 30 days317,037
Downloads17,317,344
Analytics install events (30 days)14,194
Downloads / install events (30 days)22.3×

Source: GitHub Packages, fetched 2026-11-18T00:58:35Z. Analytics dates: 2026-10-19 to 2026-11-18. 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
Installs14,19437,264227,093
Installs (--HEAD)01725
Installs on Request4044,5659,112
Installs on Request (--HEAD)01725
Build Errors0