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.5.0 Cross-platform make
pkgconf 3.0.10 Package compiler and linker metadata toolkit

GitHub Packages downloads:

Last 30 days171,864
Downloads12,969,193
Analytics install events (30 days)4,792
Downloads / install events (30 days)35.9×

Source: GitHub Packages, fetched 2026-11-13T00:52:51Z. Analytics dates: 2026-10-14 to 2026-11-13. 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,79211,47782,928
Installs (--HEAD)003
Installs on Request1163361,871
Installs on Request (--HEAD)002
Build Errors0