libsamplerate

Install command:
brew install libsamplerate

Library for sample rate conversion of audio data

https://github.com/libsndfile/libsamplerate

License: BSD-2-Clause

Development: Pull requests

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

Formula code: libsamplerate.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 ✅ 0.2.2

Patches:

https://github.com/libsndfile/libsamplerate/commit/e4a0ab46887029e0f65f145ba3987cc592f18200
https://github.com/libsndfile/libsamplerate/commit/1abc639420b2df8b9ff2e0bdcc28cf6613c7c0d0

Depends on when building from source:

cmake 4.4.5 Cross-platform make
pkgconf 3.0.10 Package compiler and linker metadata toolkit

GitHub Packages downloads:

Last 30 days167,330
Downloads12,953,543
Analytics install events (30 days)4,681
Downloads / install events (30 days)35.8×

Source: GitHub Packages, fetched 2026-11-11T00:52:00Z. Analytics dates: 2026-10-12 to 2026-11-11. 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
Installs4,68111,37583,847
Installs (--HEAD)003
Installs on Request1133341,872
Installs on Request (--HEAD)002
Build Errors0