🍺 BREW Explorer

← all formulae

libsamplerate

brew install libsamplerate v0.2.2 BSD-2-Clause

C shared library for high-quality audio sample rate conversion (resampling).

Why you might care

Essential dependency for audio applications that need to resample PCM data between different sample rates while preserving quality. Provides multiple resampling algorithms (best/medium/fastest quality) via a simple C API. Used by audio tools, DAWs, and media processing pipelines as a drop-in standard for this specific task.

Categories

Alternatives

SoX FFmpeg libswresample
4.3k
30-day installs · #676
14.7k
90-day · #659
160.1k
365-day · #321
735
★ GitHub stars · updated 9mo ago

Build dependencies

GitHub topics

c cmake libsamplerate resample-audio-files

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "SoX",
    "FFmpeg",
    "libswresample"
  ],
  "build_dependencies": [
    "cmake",
    "pkgconf"
  ],
  "categories": [
    "library",
    "audio-tool"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Library for sample rate conversion of audio data",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:01+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "libsamplerate",
  "github_default_branch": "master",
  "github_last_commit_at": "2025-09-07T06:03:41Z",
  "github_readme_excerpt": "![Logo](docs/SRC.png)\n\nThis is libsamplerate, `0.2.2`.\n\nlibsamplerate (also known as Secret Rabbit Code) is a library for performing sample rate conversion of audio data.\n\n* The [`src/`](https://github.com/libsndfile/libsamplerate/tree/master/src) directory contains the source code for library itself.\n* The [`docs/`](https://github.com/libsndfile/libsamplerate/tree/master/docs) directory contains the libsamplerate documentation.\n* The [`examples/`](https://github.com/libsndfile/libsamplerate/tree/master/examples) directory contains examples of how to write code using libsamplerate.\n* The [`tests/`](https://github.com/libsndfile/libsamplerate/tree/master/tests) directory contains programs which link against libsamplerate and test its functionality.\n* The [`Win32/`](https://github.com/libsndfile/libsamplerate/tree/master/Win32) directory contains files to allow libsamplerate to compile under Win32 with the Microsoft Visual C++ compiler.\n\nAdditional references:\n\n* [Official website](http://libsndfile.github.io/libsamplerate//)\n* [GitHub](https://github.com/libsndfile/libsamplerate)\n\n---\n\n## Build Status\n\n| Branch         | Status                                                                                                            |\n|----------------|-------------------------------------------------------------------------------------------------------------------|\n| `master`       | ![Build](https://github.com/libsndfile/libsamplerate/workflows/Build/badge.svg)       |\n\nBranches [actively built](https://github.com/libsndfile/libsamplerate/actions) by GitHub Actions.\n\n---\n\n## Win32\n\nThere are detailed instructions for building libsamplerate on Win32 in the file [`docs/win32.md`](https://github.com/libsndfile/libsamplerate/tree/master/docs/win32.md).\n\n## macOS\n\nBuilding on macOS should be the same as building it on any other Unix platform.\n\n## Other Platforms\n\nTo compile libsamplerate on platforms which have a Bourne compatible shell, an ANSI C compiler and a make u",
  "github_repo": "libsndfile/libsamplerate",
  "github_stars": 735,
  "github_topics": [
    "c",
    "cmake",
    "libsamplerate",
    "resample-audio-files"
  ],
  "homepage": "https://github.com/libsndfile/libsamplerate",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 4253,
  "installs_365d": 160069,
  "installs_90d": 14693,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": "2026-06-20T23:46:20+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "libsamplerate",
  "oldnames": [],
  "one_liner": "C shared library for high-quality audio sample rate conversion (resampling).",
  "optional_dependencies": [],
  "rank_30d": 676,
  "rank_365d": 321,
  "rank_90d": 659,
  "raw_hash": "6759842feadcd52e",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/lib/libsamplerate.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.2.2",
  "versioned_formulae": [],
  "why_use_this": "Essential dependency for audio applications that need to resample PCM data between different sample rates while preserving quality. Provides multiple resampling algorithms (best/medium/fastest quality) via a simple C API. Used by audio tools, DAWs, and media processing pipelines as a drop-in standard for this specific task."
}