audio-resampler
Polyphase audio resampler as a Python extension. Downmix, resample and dtype conversion happen in a single pass over the buffer.
pip install audio-resampler
from audio_resampler import Converter, prewarm
conv = Converter(in_rate=48000, in_channels=2, out_rate=16000, out_channels=1, out_dtype="i16")
mono_16k = conv.process(stereo_48k_bytes)
# Optional: build coefficient tables up front instead of on first use.
prewarm([(48000, 16000)])
Wheels are abi3 and cover CPython 3.11+ on Linux, macOS and Windows.
Development
pip install maturin
maturin develop --release
Metadata
Release files for audio-resampler 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| audio_resampler-0.1.0-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for audio_resampler-0.1.0-cp311-abi3-win_amd64.whl |
| audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ x86-64 | Details for audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ ARM64 | Details for audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| audio_resampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for audio_resampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl |
| audio_resampler-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details for audio_resampler-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl |
Total release size: 1.0 MB
Release files / audio_resampler-0.1.0-cp311-abi3-win_amd64.whl
| Download URL | audio_resampler-0.1.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 124.5 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5a300d522c59d299c9272ec79cf92dd4e5d50518ae00c119d63f2ca9896b4828
|
|
BLAKE2b-256 checksum How to use checksums |
54579c7664eb7ac8ad224f1362d027bdc3f76a593077b01083f17747ace8e759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 236.8 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
882e27ec0787054194b75eeb5d6b792c6d1ccd40dec79b89e21c3ea326791578
|
|
BLAKE2b-256 checksum How to use checksums |
f74a9cdbca3f505d0616c6e191d86f0d1a1c2f63eeb63d75301bcbd4f0244ebe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 236.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
f251ca2a7751b3a79d88078454abbcee78b90838eb4b889e5e5d944c3b7bac66
|
|
BLAKE2b-256 checksum How to use checksums |
e7e452beca8d82bfd8f550b7356b018f195c62a18742826adc3caee69f8c8962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / audio_resampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | audio_resampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 216.7 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2e75e92251460f37ed86c55e661f0168b4e8fed1439eb10536308cb53b89aaa3
|
|
BLAKE2b-256 checksum How to use checksums |
64a475c1d191e3666fd49785c5d432c2c458cf86a1e586ec66abc2f9a7514735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / audio_resampler-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | audio_resampler-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 223.1 kB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
f40157214d4d765b5f67c6aa15e174d738a991ef9d6d0245e48b6c4e60d16896
|
|
BLAKE2b-256 checksum How to use checksums |
c778bdba90e26ad5040ff885a82650550d3db0f5a308080bd0a83e3a60d89b1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logSecurity for audio-resampler 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 5 files in this release have been uploaded with provenance metadata.
Attestation for audio_resampler-0.1.0-cp311-abi3-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.