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

Uploaded Source

Built Distributions

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

audresample-1.3.5-py3-none-win_amd64.whl (185.8 kB view details)

Uploaded Python 3Windows x86-64

audresample-1.3.5-py3-none-manylinux_2_17_x86_64.whl (137.8 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

audresample-1.3.5-py3-none-manylinux_2_17_armv7l.whl (100.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

audresample-1.3.5-py3-none-manylinux_2_17_aarch64.whl (119.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

audresample-1.3.5-py3-none-macosx_11_0_arm64.whl (83.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

audresample-1.3.5-py3-none-macosx_10_4_x86_64.whl (127.4 kB view details)

Uploaded Python 3macOS 10.4+ x86-64

File details

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

File metadata

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

File hashes

Hashes for audresample-1.3.5.tar.gz
Algorithm Hash digest
SHA256 84107da76359347ac55e410008d1734dcf61d10257d913827615484d4c615aad
MD5 6affa4229b764e1f796e797f796304f4
BLAKE2b-256 883d826901f87f3a0c657f6dbe47d44cf6c6e808b1a724c20da511fe0b3d6bff

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.5.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.5-py3-none-win_amd64.whl.

File metadata

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

File hashes

Hashes for audresample-1.3.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5d78cf1e625bdd1bf1f2f5f0a716bc5b270b0038b56af3b2f8a0484ad3e25997
MD5 03ab139e6f9f581a202883d02d47128d
BLAKE2b-256 b2fa9bfe6fd78796cedf6fc281fcaa22e1d41cda51bea8948132125220ad3d26

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.5-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.5-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for audresample-1.3.5-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1811b36ec0e488f42891e046f4f02ca43a9a89236592b3ae1ea54698ca002598
MD5 54aa691e2178caa08c384bff7f6ed75a
BLAKE2b-256 aa42fb09aca344fa3e51b14f642a8ccc21b07fda4d3d00e3c3868e0ec0aa7e99

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.5-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.5-py3-none-manylinux_2_17_armv7l.whl.

File metadata

File hashes

Hashes for audresample-1.3.5-py3-none-manylinux_2_17_armv7l.whl
Algorithm Hash digest
SHA256 2e279d5400ce8b0d4445c94607cb5fadd7876e25729a791fdee4c49b4aff8149
MD5 bd131e59b87fe8a8435bdb1635f694ba
BLAKE2b-256 3a1e1437a7abb7e80d63e1c38b74c67c8e72fb396e623c74c13c25740c416b3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.5-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.5-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for audresample-1.3.5-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 8c9738ffa75b03e5ba50e4e05dc5d0a9bb3cc4d9f5e8295a1fdeba741982c8a6
MD5 369c277ad2c7c32f6efe45fd0ff1e9a9
BLAKE2b-256 ff5980d764bb4b0c1785a05d8a9bab35ad90f0c85b6d02b12656e6e80e6a39cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.5-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.5-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for audresample-1.3.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e2cd1e111dcad60d843bf6ed59de661b5e01f38df53c5b614de04e95d7b87650
MD5 971ed9a366fa03c02f0ef4c34c29b6fc
BLAKE2b-256 48fe819a37e5f4d65936669e80e80e30d4bd89a4272e4d375e69b8722954f7f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.5-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.5-py3-none-macosx_10_4_x86_64.whl.

File metadata

File hashes

Hashes for audresample-1.3.5-py3-none-macosx_10_4_x86_64.whl
Algorithm Hash digest
SHA256 95058d4dd0f943989093ba4b056d6ab87b9088494bb79bf70dc9007e06f80e6a
MD5 e1209361f5fc204c476b74cc28d820ec
BLAKE2b-256 db8ba8248f1f077cc4d105db2556a4bb3f7346bf5f94dc297857000dd3c07296

See more details on using hashes here.

Provenance

The following attestation bundles were made for audresample-1.3.5-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page