$npx skillfedfor your agent

samplerate

Monolithic python wrapper for libsamplerate based on pybind11 and NumPy

With conditionsPyPI Scientific/EngineeringReleased Mar 2026289.1K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — samplerate-0.2.4-cp310-cp310-macosx_10_9_universal2.whl · samplerate-0.2.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl · samplerate-0.2.4-cp310-cp310-win_amd64.whl
v0.2.4 · released 2026-03-22 · Python >=3.7 · 1 runtime deps: numpy

Yes, if you need high-quality audio resampling. The package is actively maintained, has no known vulnerabilities, uses permissive licenses, and provides convenient access to a well-established C library. Medium install friction is acceptable given the availability of pre-built wheels for common platforms. Not necessary if you only need basic resampling or are on an unsupported architecture without a C++ compiler.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires C++14 compiler if building from source on platforms without pre-built wheels; binary wheels available for common platforms.
  • Medium install friction due to compiled C++ bindings, but pre-built wheels cover macOS (x86_64, arm64), Linux (x86_64, aarch64), and Windows (x86_64).
  • Last release 145 days ago; maintenance status is active.

License · maintenance · safety

MIT (permissive) — MIT license (permissive); the bundled libsamplerate is licensed under 2-clause BSD as of version 0.1.9, both permissive and compatible with most projects.

last release 2026-03-22 (145 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 289,126 downloads/mo, #8,006 on PyPI

Verify before relying

import numpy as np
import samplerate

input_data = np.sin(2 * np.pi * 5 * np.arange(1000) / 1000.)
output_data = samplerate.resample(input_data, ratio=1.5, converter='sinc_best')
  • Whether the package is suitable for real-time audio processing or only batch resampling.
  • Performance characteristics and quality trade-offs between the three converter options (sinc_best, sinc_fastest, etc.).
  • Typical use cases for sample rate conversion (e.g., converting between specific audio formats or standards).
Same gist for agents: .md · .json

What it is and what it does

samplerate is a Python wrapper around libsamplerate (Secret Rabbit Code), a high-quality audio sample rate conversion library. It exposes three APIs for resampling: a Simple API for one-shot conversion of large chunks, a Full API for processing successive chunks of data, and a Callback API where input is provided by a callback function. The library bundles libsamplerate statically using pybind11 and requires numpy as its only runtime dependency.

The package is designed for developers and researchers working with audio signal processing who need to convert audio between different sample rates while maintaining high fidelity. It supports modern Python versions (3.7+) and provides pre-built wheels for common platforms (macOS, Linux, Windows on x86_64 and aarch64 architectures), though building from source on other platforms requires a C++14 compiler.

Use it for

  • Convert audio recordings between different sample rates for compatibility with target systems or workflows.
  • Resample streaming audio chunks in processing pipelines using the Full or Callback API.
  • Perform high-quality audio format conversion in scientific audio analysis or music processing workflows.
  • Implement sample rate adaptation in audio applications that need to handle multiple input sample rates.
  • Process audio signals in signal processing research where libsamplerate's quality algorithms are required.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need high-quality audio resampling.

The package is actively maintained, has no known vulnerabilities, uses permissive licenses, and provides convenient access to a well-established C library. Medium install friction is acceptable given the availability of pre-built wheels for common platforms. Not necessary if you only need basic resampling or are on an unsupported architecture without a C++ compiler.

Install

samplerate on PyPI

Before you install

Medium install friction due to compiled C++ bindings, but pre-built wheels cover macOS (x86_64, arm64), Linux (x86_64, aarch64), and Windows (x86_64). Last release 145 days ago; maintenance status is active.

Requires C++14 compiler if building from source on platforms without pre-built wheels; binary wheels available for common platforms.

License in practice

MIT license (permissive); the bundled libsamplerate is licensed under 2-clause BSD as of version 0.1.9, both permissive and compatible with most projects.

Quickstart

import numpy as np
import samplerate

input_data = np.sin(2 * np.pi * 5 * np.arange(1000) / 1000.)
output_data = samplerate.resample(input_data, ratio=1.5, converter='sinc_best')

Verify before relying

  • Whether the package is suitable for real-time audio processing or only batch resampling.
  • Performance characteristics and quality trade-offs between the three converter options (sinc_best, sinc_fastest, etc.).
  • Typical use cases for sample rate conversion (e.g., converting between specific audio formats or standards).

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 145 days since the last release
First released
Downloads289,126 / month, #8,006 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Multimedia :: Sound/AudioTopic :: Scientific/Engineering

Evidence: samplerate-0.2.4-cp310-cp310-macosx_10_9_universal2.whl; samplerate-0.2.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; samplerate-0.2.4-cp310-cp310-win_amd64.whl; samplerate-0.2.4-cp311-cp311-macosx_10_9_universal2.whl; samplerate-0.2.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; samplerate-0.2.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; samplerate-0.2.4-cp311-cp311-win_amd64.whl; samplerate-0.2.4-cp312-cp312-macosx_10_13_universal2.whl; samplerate-0.2.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; samplerate-0.2.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; samplerate-0.2.4-cp312-cp312-win_amd64.whl; samplerate-0.2.4-cp313-cp313-macosx_10_13_universal2.whl; samplerate-0.2.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; samplerate-0.2.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; samplerate-0.2.4-cp313-cp313-win_amd64.whl; samplerate-0.2.4-cp314-cp314-macosx_10_15_universal2.whl; samplerate-0.2.4-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; samplerate-0.2.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; samplerate-0.2.4-cp314-cp314-win_amd64.whl; samplerate-0.2.4-cp39-cp39-macosx_10_9_universal2.whl

Tags

Capabilities
audio resamplingsample rate conversionhigh-quality audio resamplelibsamplerate wrappersignal resampling pythonaudio format conversionsinc resampling
Topics
audio-processingsignal-processingbindings
PyPI keywords
samplerateconvertersignal processingaudio

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sample rate conversion”

  • samplerateWraps libsamplerate (Secret Rabbit Code) to perform high-quality…
  • soxrPerforms high-quality sample-rate conversion (resampling) for audio…
  • miniaudioMiniaudio provides Python bindings for cross-platform audio playback,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also soxr · audiolab · pyloudnorm · julius · audiomentations · soundfile · pyworld · sox · descript-audio-codec