$npx skillfedfor your agent

soxr

High quality, one-dimensional sample-rate conversion library

Worth itPyPI Scientific/EngineeringReleased May 202611.2M downloads / moLGPL-2.1-or-laterPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — soxr-1.1.0-cp310-cp310-macosx_10_14_x86_64.whl · soxr-1.1.0-cp310-cp310-macosx_11_0_arm64.whl · soxr-1.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
v1.1.0 · released 2026-05-03 · Python >=3.9 · 1 runtime deps: numpy

Yes. soxr is production-stable, actively maintained, and offers superior resampling quality and speed compared to common alternatives. Medium install friction is manageable via pre-built wheels. LGPL-2.1-or-later licensing is suitable for open-source projects but requires review for proprietary use. Install if you need high-quality audio resampling; avoid only if copyleft licensing is incompatible with your project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires numpy; input must be numpy.ndarray or convertible to float32, float64, int16, or int32.
  • Medium install friction due to compiled wheels; pre-built binaries available for Python 3.9+ across macOS (Intel and ARM), Linux, and Windows.
  • Repository is actively maintained with recent commits.

License · maintenance · safety

LGPL-2.1-or-later (copyleft) — Licensed under LGPL-2.1-or-later (copyleft); derivative works and distributions must comply with copyleft obligations. Suitable for open-source projects; proprietary use requires careful license review.

last release 2026-05-03 (103 days) · last repo commit 2026-07-24 · 110 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,225,603 downloads/mo, #1,407 on PyPI

Verify before relying

import soxr
import numpy as np

# One-shot resampling
y = soxr.resample(x, 48000, 16000)  # x is numpy array, returns resampled array

# Streaming resampling
rs = soxr.ResampleStream(44100, 16000, 1, dtype='float32')
y_chunk = rs.resample_chunk(x, last=False)
  • Whether the package supports real-time latency constraints or is suitable for live audio applications.
  • Memory overhead and performance characteristics for very long signals or high channel counts.
  • Availability and stability of conda-forge builds relative to PyPI wheels.
Same gist for agents: .md · .json

What it is and what it does

soxr is a Python wrapper around libsoxr, a high-quality audio resampling library. It converts audio signals from one sample rate to another while maintaining audio fidelity. The package supports both simple one-shot resampling via a single function call and streaming resampling for real-time or very long signals via a ResampleStream class. Input and output are numpy arrays; the library handles mono and multi-channel audio and preserves the input data type (float32, float64, int16, or int32).

The package is actively maintained, supports Python 3.9 and later, and offers pre-built wheels for common platforms (macOS, Linux, Windows) and architectures (x86_64, ARM). It is copyleft-licensed under LGPL-2.1-or-later, following libsoxr's license. According to the project's benchmarks, soxr is among the fastest Python resamplers available, outperforming scipy.signal.resample, resampy, and other alternatives on CPU time for typical audio workloads.

Use it for

  • Downsampling or upsampling audio files to match target sample rates in audio processing pipelines.
  • Real-time audio streaming applications that need to convert between different input and output sample rates.
  • Digital signal processing workflows requiring high-quality resampling with minimal artifacts.
  • Audio feature extraction or machine learning preprocessing where sample rate normalization is needed.
  • Building audio codecs or transcoding tools that must resample between incompatible formats.

Worth the install?

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

Worth it

Yes.

soxr is production-stable, actively maintained, and offers superior resampling quality and speed compared to common alternatives. Medium install friction is manageable via pre-built wheels. LGPL-2.1-or-later licensing is suitable for open-source projects but requires review for proprietary use. Install if you need high-quality audio resampling; avoid only if copyleft licensing is incompatible with your project.

Install

soxr on PyPI

Before you install

Medium install friction due to compiled wheels; pre-built binaries available for Python 3.9+ across macOS (Intel and ARM), Linux, and Windows. Repository is actively maintained with recent commits.

Requires numpy; input must be numpy.ndarray or convertible to float32, float64, int16, or int32.

License in practice

Licensed under LGPL-2.1-or-later (copyleft); derivative works and distributions must comply with copyleft obligations. Suitable for open-source projects; proprietary use requires careful license review.

Quickstart

import soxr
import numpy as np

# One-shot resampling
y = soxr.resample(x, 48000, 16000)  # x is numpy array, returns resampled array

# Streaming resampling
rs = soxr.ResampleStream(44100, 16000, 1, dtype='float32')
y_chunk = rs.resample_chunk(x, last=False)

Verify before relying

  • Whether the package supports real-time latency constraints or is suitable for live audio applications.
  • Memory overhead and performance characteristics for very long signals or high channel counts.
  • Availability and stability of conda-forge builds relative to PyPI wheels.

Package facts

LicenseLGPL-2.1-or-later copyleft
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 103 days since the last release
Last repo commit
First released
Downloads11,225,603 / month, #1,407 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchIntended Audience :: Telecommunications IndustryProgramming Language :: CProgramming Language :: C++Programming Language :: Python :: 3Programming Language :: Python :: Free Threading :: 2 - BetaTopic :: Multimedia :: Sound/Audio :: AnalysisTopic :: Multimedia :: Sound/Audio :: ConversionTopic :: Scientific/Engineering

Evidence: soxr-1.1.0-cp310-cp310-macosx_10_14_x86_64.whl; soxr-1.1.0-cp310-cp310-macosx_11_0_arm64.whl; soxr-1.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; soxr-1.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; soxr-1.1.0-cp310-cp310-win_amd64.whl; soxr-1.1.0-cp311-cp311-macosx_10_14_x86_64.whl; soxr-1.1.0-cp311-cp311-macosx_11_0_arm64.whl; soxr-1.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; soxr-1.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; soxr-1.1.0-cp311-cp311-win_amd64.whl; soxr-1.1.0-cp312-abi3-macosx_10_14_x86_64.whl; soxr-1.1.0-cp312-abi3-macosx_11_0_arm64.whl; soxr-1.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; soxr-1.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; soxr-1.1.0-cp312-abi3-win_amd64.whl; soxr-1.1.0-cp314-cp314t-macosx_10_15_x86_64.whl; soxr-1.1.0-cp314-cp314t-macosx_11_0_arm64.whl; soxr-1.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; soxr-1.1.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; soxr-1.1.0-cp314-cp314t-win_amd64.whl

Tags

Capabilities
audio resamplingsample rate conversionresample audio pythonhigh quality audio resamplerDSP signal processingaudio SRC librarystreaming audio resample
Topics
audio-dspresamplingsignal-processing
PyPI keywords
audio resamplingsamplerate conversionSRCsignal processingresampler

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 › “audio resampling”

  • soxrPerforms high-quality sample-rate conversion (resampling) for audio…
  • samplerateWraps libsamplerate (Secret Rabbit Code) to perform high-quality…
  • juliusJulius provides differentiable, GPU-accelerated digital signal…

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 samplerate · sox · doppler-dsp · audiofile · python-stretch · audiolab · julius · soundfile · stftpitchshift