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.4.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.4+ x86-64

File details

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

File metadata

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

File hashes

Hashes for audresample-1.3.4.tar.gz
Algorithm Hash digest
SHA256 50801bd3d8d1713cd84e99105f1690976498b9c88c3fd34b97bba634f3919484
MD5 99ca69fd266e4be68797c2011d8df717
BLAKE2b-256 c30d569f96fc18d21a5ee02dbc194ad8c6f6b5eb9f0cf1291eaa6fd03a1f9b7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.4.tar.gz:

Publisher: publish.yml on audeering/audresample

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

File details

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

File metadata

  • Download URL: audresample-1.3.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 186.4 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for audresample-1.3.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 078f1fe029f218240bc203e1334b58d140cd523194215951376a859a1f6aee5e
MD5 ae950122f03bb0e1a63467ab551d8fe8
BLAKE2b-256 b71b72fce5c5f9a7a27f6f1e4822374cef36257dd1ce9f81273505d4675d8106

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.4-py3-none-win_amd64.whl:

Publisher: publish.yml on audeering/audresample

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

File details

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

File metadata

File hashes

Hashes for audresample-1.3.4-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 aafc5e7e2a25e5d7fc513559f02e7d191301661634cf11e7c3e771642671afb6
MD5 ffab839c123b147d5b473709bd75e68a
BLAKE2b-256 9e167c730626f4ec4dae41e5cf0843b588e8722bd9645fd983c173af2c1c5de8

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.4-py3-none-manylinux_2_17_x86_64.whl:

Publisher: publish.yml on audeering/audresample

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

File details

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

File metadata

File hashes

Hashes for audresample-1.3.4-py3-none-manylinux_2_17_armv7l.whl
Algorithm Hash digest
SHA256 d109aa33a28eaa0177d3a8e34dcd36b58a0b24f5dd3aa93cb3cd4bad12e7cbf3
MD5 8fb6a315ca29f686e8776b096e5863d3
BLAKE2b-256 c2288fcd50d69540d293a2c82ef563d8d6b2f552367e2baf1f32797a6b7ebb26

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.4-py3-none-manylinux_2_17_armv7l.whl:

Publisher: publish.yml on audeering/audresample

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

File details

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

File metadata

File hashes

Hashes for audresample-1.3.4-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 f3668ec94ae47adefee21e6fcda9c7caa755a319f6b08551bfe9312314dcc9c0
MD5 8dc3ae969601437cf8b1e9a551148d4d
BLAKE2b-256 059dd7d213956a194145d14f23748ee252ca53cc04f74430c0b25c6d66cd0607

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.4-py3-none-manylinux_2_17_aarch64.whl:

Publisher: publish.yml on audeering/audresample

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

File details

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

File metadata

File hashes

Hashes for audresample-1.3.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c12b97d45633bcaea459fb145b4d03f68819f430ab69daef6c48db1d5ae94018
MD5 c6acbc72de3bd6f0f23efc29c3c9a220
BLAKE2b-256 25a85609a2ae30690eb0c6d322bebb08b59a55b421daf0cf4901990c152bbfb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.4-py3-none-macosx_11_0_arm64.whl:

Publisher: publish.yml on audeering/audresample

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

File details

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

File metadata

File hashes

Hashes for audresample-1.3.4-py3-none-macosx_10_4_x86_64.whl
Algorithm Hash digest
SHA256 96c6ceb461c0fc16d346b84132cfaef5c40b2e379ba88c38a25790aa480125fb
MD5 73ae33d7ae6ba119bacca86a80f94bde
BLAKE2b-256 716accc2181a0883acbc9405ffc004750215d87e1827c4443b8578040788b5bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.4-py3-none-macosx_10_4_x86_64.whl:

Publisher: publish.yml on audeering/audresample

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

Supported by

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