Provides functions to resample and remix a signal
Project description
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)
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Version 1.3.0 (2023-05-30)
Added: support for Raspberry Pi 64-bit (aarch64) and 32-bit (armv7l)
Added: code example to README that highlights the functionality of the package
Changed: replace universal wheel of Python package by dedicated platform wheels for macosx_12_0_arm64, macosx_12_0_x86_64, manylinux_2_17_aarch64, manylinux_2_17_armv7l, manylinux_2_17_x86_64, win_amd64
Version 1.2.1 (2023-01-27)
Fixed: require sphinx-audeering-theme>=1.2.1 to ensure the correct theme is used for the public documentation
Version 1.2.0 (2023-01-27)
Added: support for MacOS M1 architecture
Version 1.1.1 (2022-12-23)
Added: support for Python 3.11
Added: support for Python 3.10
Changed: split API documentation into sub-pages for each function
Fixed: missing __init__.py file for audresample.define
Version 1.1.0 (2022-02-03)
Added: support for non single precision floating-point formats in audresample.remix()
Changed: raise a RuntimeError in audresample.resample() when a non single precision floating-point input signal is given instead of converting it silently
Version 1.0.0 (2022-01-04)
Added: Python 3.9 support
Removed: Python 3.6 support
Version 0.1.6 (2021-06-17)
Added: Windows support
Version 0.1.5 (2021-05-10)
Added: macOS support
Version 0.1.4 (2021-03-26)
Fixed: “Edit on Github” link in the docs
Version 0.1.3 (2021-03-25)
Changed: move to Github and release as open source
Version 0.1.2 (2021-03-18)
Added: upmix argument to remix()
Version 0.1.1 (2021-01-15)
Fixed: Updating binaries to RELEASE versions (execution time greatly reduced!)
Version 0.1.0 (2020-02-12)
Added: Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for audresample-1.3.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4cc385128639c35dbf961f9e004180e483d291d4ab53559f81ae965973dfd10 |
|
MD5 | 84df67c3210c0a25fa2eab1d513ced66 |
|
BLAKE2b-256 | f76d5d7c2918beff011381be91bace8b2e28537a4d6f49cab4644b0883e794fb |
Hashes for audresample-1.3.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef0b13ebfe3abcee8b382d6d3c266c552111dd88baacd0d6000e158f47fc7a02 |
|
MD5 | 26f5b9260e5aef3f61db6b2317646821 |
|
BLAKE2b-256 | fa73b80392aab44351f4529af30546e398bfc069d92bc42e335556397f74cb91 |
Hashes for audresample-1.3.0-py3-none-manylinux_2_17_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63d381caef4626f0961bf7300ef676b14fb9fa75490447dc1e4202d467a3223d |
|
MD5 | 90ac3d360c059e8f0c4681fad43d8639 |
|
BLAKE2b-256 | c2517d4dbe26ebb81908038a8b020dd3a95b2828fdfb4ff7884b7c5522892f7f |
Hashes for audresample-1.3.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32bccbecc26967d9d6a27e73ae2a8ee57ee25968a47da7184da1722a6ba47d21 |
|
MD5 | 00d9859477133b8a7b8e13e0dd4d41b7 |
|
BLAKE2b-256 | 00b6d4736f5cc3b1d67e7dafed909b89097919cfd742fe026184b83d2a139642 |
Hashes for audresample-1.3.0-py3-none-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c94d661cda43d0d7eb2ae983557ef008b9182c92ed9212a2fc7b978c85cb2f3 |
|
MD5 | 4f48e664ff5d17f00a11b71963fef367 |
|
BLAKE2b-256 | 9c35b57bf224cd02d41875088d2e915ddd852aa1d4e271b79cb384e9661c0f0e |
Hashes for audresample-1.3.0-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5271b595327a7b8877e274bd943dd25d5e5d092f182a4c0a4393478662535d2b |
|
MD5 | a1f1d20be40ef056c78adaaae0bc96e8 |
|
BLAKE2b-256 | b2a7e6b1cef3ee8b6b5dd69c176c998292d4376e5b58ad55c670bc5ec2dca596 |