Skip to main content

Resample and remix an audio signal

Project description

Test status code coverage audresample's documentation audresamples's supported Python versions audresample's MIT license

audresample remixes or resamples your signals.

Resampling is supported for signals in single precision floating-point format, and based on the soxr implementation as provided by audresamplelib.

Have a look at the installation and usage instructions.

>>> import numpy as np
>>> import audresample
>>> signal = np.zeros((2, 8000), dtype='float32')
>>> signal.shape
(2, 8000)
>>> audresample.remix(signal, mixdown=True).shape
(1, 8000)
>>> audresample.remix(signal, channels=[0, 0, 1, 1]).shape
(4, 8000)
>>> audresample.resample(signal, 8000, 16000).shape
(2, 16000)

Project details


Download files

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

Source Distribution

audresample-1.3.3.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

audresample-1.3.3-py3-none-win_amd64.whl (186.4 kB view details)

Uploaded Python 3 Windows x86-64

audresample-1.3.3-py3-none-manylinux_2_17_x86_64.whl (138.4 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

audresample-1.3.3-py3-none-manylinux_2_17_armv7l.whl (101.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

audresample-1.3.3-py3-none-manylinux_2_17_aarch64.whl (120.3 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

audresample-1.3.3-py3-none-macosx_11_0_arm64.whl (84.2 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

audresample-1.3.3-py3-none-macosx_10_4_x86_64.whl (128.0 kB view details)

Uploaded Python 3 macOS 10.4+ x86-64

File details

Details for the file audresample-1.3.3.tar.gz.

File metadata

  • Download URL: audresample-1.3.3.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for audresample-1.3.3.tar.gz
Algorithm Hash digest
SHA256 c06d99ec094d68e06920416cc37c366ad3a9517a508a2b2446f68a95644ff3c2
MD5 1d64e66a96b8e66606df0c2103b6f1cc
BLAKE2b-256 8a7c303106a8578ca62c5cb134bff5ecddee0b72338db6a0986312b36678c044

See more details on using hashes here.

File details

Details for the file audresample-1.3.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for audresample-1.3.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 35d2fea2c3a1de6b2b21a61512df44c1f4ac259bdf2fdcafad6670715bfa0e73
MD5 c58e2d63e194949b621bf9aad1c72539
BLAKE2b-256 99c630f91a3169e32ab244e19008bf1fc35f6cbdf20a0bbf7c73ce7f5b6ab87c

See more details on using hashes here.

File details

Details for the file audresample-1.3.3-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for audresample-1.3.3-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 728a6d79eccbc9966ad0d8f5a9992e857eda771bbd0ab1a25d52a2cef504f2f1
MD5 6e8e531deb93667fe9d8ad26e48973ec
BLAKE2b-256 b5e7f077611b41c7740ba72725aeb30e458de0ac3b99167b86ca88acdb45435b

See more details on using hashes here.

File details

Details for the file audresample-1.3.3-py3-none-manylinux_2_17_armv7l.whl.

File metadata

File hashes

Hashes for audresample-1.3.3-py3-none-manylinux_2_17_armv7l.whl
Algorithm Hash digest
SHA256 fa6aec2d37baae73a3de0519c27ea0e8231135c0fb3313fdb9d41958961f9ee1
MD5 843b1eb0694b070a004b93b7eef901a0
BLAKE2b-256 ae4b6c521a86e44f0b340b6f3ef8628590bceb5fc92e6c24891183e083ff7efb

See more details on using hashes here.

File details

Details for the file audresample-1.3.3-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for audresample-1.3.3-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 0b9d79bbe4f75a3f9bc0cd95a96bc81e592df64e247063d897de66ed6a03f121
MD5 fdd8d51fcc60b278d334b0b0104d9503
BLAKE2b-256 4117017afbdd49511c5a6102373d298a6106d1deaaf94c3781c32736176af52b

See more details on using hashes here.

File details

Details for the file audresample-1.3.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for audresample-1.3.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a7f5662f9426ac697610abc57cd8b866ee05bc5c3babdd18a40a32b18b9875d
MD5 f7989a0148ca6107cd890631029583c2
BLAKE2b-256 f66bfdb9418650a1e85b9e2d58de13ec06a3d5feef4ba45b874d02a548cfaa60

See more details on using hashes here.

File details

Details for the file audresample-1.3.3-py3-none-macosx_10_4_x86_64.whl.

File metadata

File hashes

Hashes for audresample-1.3.3-py3-none-macosx_10_4_x86_64.whl
Algorithm Hash digest
SHA256 6817aafd12ba19a164d57ff94e1bc74bc51c1d534c2780bc5f0cd5cdb2f778da
MD5 a3e847a5caf793a6f34046c6e23aede6
BLAKE2b-256 0619d7e365cc5d41fffdd38678c45d0ee91ef56b85e004f79028c7a18c3eb318

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page