Skip to main content

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.0-cp311-abi3-win_amd64.whl (124.5 kB view details)

Uploaded CPython 3.11+Windows x86-64

audio_resampler-0.1.0-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.0-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.0-cp311-abi3-macosx_11_0_arm64.whl (216.7 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

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

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for audio_resampler-0.1.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5a300d522c59d299c9272ec79cf92dd4e5d50518ae00c119d63f2ca9896b4828
MD5 98cdcf33f67c6a979f162877afc3f472
BLAKE2b-256 54579c7664eb7ac8ad224f1362d027bdc3f76a593077b01083f17747ace8e759

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_resampler-0.1.0-cp311-abi3-win_amd64.whl:

Publisher: release.yml on videosdk-live/audio_resampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 882e27ec0787054194b75eeb5d6b792c6d1ccd40dec79b89e21c3ea326791578
MD5 ac3603230c578df359b08868f363b081
BLAKE2b-256 f74a9cdbca3f505d0616c6e191d86f0d1a1c2f63eeb63d75301bcbd4f0244ebe

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on videosdk-live/audio_resampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f251ca2a7751b3a79d88078454abbcee78b90838eb4b889e5e5d944c3b7bac66
MD5 70d9934d9272aca74bb51fbb88f87c44
BLAKE2b-256 e7e452beca8d82bfd8f550b7356b018f195c62a18742826adc3caee69f8c8962

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_resampler-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on videosdk-live/audio_resampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for audio_resampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e75e92251460f37ed86c55e661f0168b4e8fed1439eb10536308cb53b89aaa3
MD5 be1cc87910f31ec81cda67aceeaf9d79
BLAKE2b-256 64a475c1d191e3666fd49785c5d432c2c458cf86a1e586ec66abc2f9a7514735

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_resampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on videosdk-live/audio_resampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for audio_resampler-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f40157214d4d765b5f67c6aa15e174d738a991ef9d6d0245e48b6c4e60d16896
MD5 b7f9be26c62c10bb056713d3ce950031
BLAKE2b-256 c778bdba90e26ad5040ff885a82650550d3db0f5a308080bd0a83e3a60d89b1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_resampler-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on videosdk-live/audio_resampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 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