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.1 (2023-05-30)
Fixed: documentation building in deploy step of publish Action on Github
Changed: switch versions of MacOS wheel to macosx_11_0_arm64, macosx_10_4_x86_64
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.1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b498a7697c542445dfd40815e66e68b88f0fe26d8a2d85c81b90ecde7509857 |
|
MD5 | 67c6eb558128cdf21904d142cf531013 |
|
BLAKE2b-256 | 5961fc87217ca03485511cb4d8b909cdd1f523a1845ff680a0d950941603c640 |
Hashes for audresample-1.3.1-py3-none-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e426a3f4181c533c74d070406df7fc788dac01463e8e8a98b708636b382ca66 |
|
MD5 | 3859f3ac4f8c59045513f77af62ebf83 |
|
BLAKE2b-256 | a5722b3bffb4ae1fe5ab2e2b262658cf90bcef8c5b47c66a7f7c230e4c9d8909 |
Hashes for audresample-1.3.1-py3-none-manylinux_2_17_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6ea522dcdf776182eff00fff39c6464758ccd3831b5685bfd1a3f4b0bf7ab30 |
|
MD5 | 586ef3724ed984d0e530cc7e6fecfa9e |
|
BLAKE2b-256 | 01b18b96b22ff28db9fd81be5906861c558a3782db35d26577329bc6a486dd01 |
Hashes for audresample-1.3.1-py3-none-manylinux_2_17_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8babc3bd7a1f808ceed2f6877c6c47fa0b425990d83ca48cbeb5d1c7fe5522f5 |
|
MD5 | 0f4d52ddff43c20f8c7e5e56c02ad652 |
|
BLAKE2b-256 | 3e0ead490c273d8a3b633b9c3e5570a719b3e94f726ac73176382173b73609e7 |
Hashes for audresample-1.3.1-py3-none-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eefb529721a5971e4b8fcd39f7e69abaeeb11508ed3ba41b568778503168284 |
|
MD5 | 895a8799e2d7ed7a852efa25ab1ca350 |
|
BLAKE2b-256 | 2ad5e3772a239a65fe7b39ea53fe90aba272f62d24e54dd8ee4e30a3b2431d82 |
Hashes for audresample-1.3.1-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66cbb829dc5463e860cd4ccc335495cf9109763c0b6d1f377afc4c19e63a103a |
|
MD5 | 02c6928e8ec74128a68569ab851c1708 |
|
BLAKE2b-256 | b6583cc9ca0199f5ce73cd25fae0124dff154e3aac472218095f2cc524e30728 |