Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

audio_resampler-0.1.0a2-cp311-abi3-win_amd64.whl (124.5 kB view details)

Uploaded CPython 3.11+Windows x86-64

audio_resampler-0.1.0a2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (236.8 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

audio_resampler-0.1.0a2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (236.7 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

audio_resampler-0.1.0a2-cp311-abi3-macosx_11_0_arm64.whl (216.7 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

audio_resampler-0.1.0a2-cp311-abi3-macosx_10_12_x86_64.whl (223.2 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

Details for the file audio_resampler-0.1.0a2-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for audio_resampler-0.1.0a2-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 91a00515f4911d0e8b53d561aef769869a452c7fc7a75c7f58d7e5e30fb11756
MD5 2c18119809001746428869e851c9c98d
BLAKE2b-256 017283b9cf8b12fe42d5d68d62f36ba65b186525b6ae132a5c30114673c370b3

See more details on using hashes here.

File details

Details for the file audio_resampler-0.1.0a2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for audio_resampler-0.1.0a2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b110d2b79a8f1d22a08a5fa3ee5c881e1347681c620b1a35a18cef1639702230
MD5 5e16850a523c5054e26364a10778de97
BLAKE2b-256 ea0e867e9aaae6f7433ac61fc250664092aeb506091c33201b9fc8e593898288

See more details on using hashes here.

File details

Details for the file audio_resampler-0.1.0a2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for audio_resampler-0.1.0a2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 366a29edfb80b5230924b7ac35a79b56e7fe0c971bdd32c3fe8f618a5e300c27
MD5 672ff6de16c5402430e1b575b6e33821
BLAKE2b-256 d8ab6e7c4ffb3968d13a9b5b2a9dfd8d4120f47d2ee8436ff0c19ef5990d4235

See more details on using hashes here.

File details

Details for the file audio_resampler-0.1.0a2-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for audio_resampler-0.1.0a2-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ed057c5faaf327f09e169416772b4059b02342ec28f2197760dff1025a3e9b0
MD5 9969a4a47c6a2e1c17828371a76175c7
BLAKE2b-256 930bf7b6b9b7aa5811b798798c94552e673bdb4928c9abce77849894f1ba7003

See more details on using hashes here.

File details

Details for the file audio_resampler-0.1.0a2-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for audio_resampler-0.1.0a2-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cd1d1dd67b78060bac801a18435833e8aecf71906981c093f29416a0ecd88bc6
MD5 f697ebd53667f44d772ade89f1d7151c
BLAKE2b-256 bba6b691985a8571cdbe5938d2493566e55f8dec4abf70946fc69328f9ac5dd8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.0

5 files

This release

0.1.0a2 This release

5 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page