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.2 (2023-05-30)
Fixed: wrong version in deployed MacOS wheels in the publish Action on Github
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.2-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed39339cf41c5b0ec05e86e8b250296e29be0754531fe6b2489fcdbb62d1d5d4 |
|
MD5 | 279ab0d570622ff1b41e4edc0e54e584 |
|
BLAKE2b-256 | 133b961941655f1113157c5402a3240cb2abb9eb46e7273b58c09bf93444d585 |
Hashes for audresample-1.3.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf16f562fa6ddefaf481dd8d4d2d2380fe79b289c284c170bcd37296cc400e5 |
|
MD5 | 37d379d4b6cb9e22e0cb31da29269cb0 |
|
BLAKE2b-256 | bffebdcd88a97360638bab9296174197298e27d1adfcd4456a25891e799186c6 |
Hashes for audresample-1.3.2-py3-none-manylinux_2_17_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100d7363f382992cc4de50db22f6d2c68f927cf2e745c773406c31c2b283c87a |
|
MD5 | a17f29a8f1ea34cc7439187594448b68 |
|
BLAKE2b-256 | 276494ef772d0d02188ccd4fad2b3bdf4c098c9808dc5fd561a474443c541c7d |
Hashes for audresample-1.3.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4907dff1da3b5a76a9d50c5d539b2037f301a8a1bfa3cb02a224f7ff1b26d0fe |
|
MD5 | 5d47ad013271ae07726707513e13f64f |
|
BLAKE2b-256 | ebd41d89b45c06bcdf7f54cec98bb28fb975d2100af45e20d7530f5ab3653c25 |
Hashes for audresample-1.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5e681424b64b965f150ac5cca2ed0e551a057b1ddff248ceffffc2cc317dd5e |
|
MD5 | 793c77abec93716f4b017000d376d03c |
|
BLAKE2b-256 | 3d7fc4028058413eace56c536864402327a146e60e6150294805d56cbec2ad87 |
Hashes for audresample-1.3.2-py3-none-macosx_10_4_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f24d60f2ecaa63e60b4e0e6b354c72cf8ffe4269bcabd0bf53a4bcd112725dc |
|
MD5 | 5c442ba152bc01cc405bde1f5cffe0bf |
|
BLAKE2b-256 | 9366b6a528518fdab982bb111d80b09c76b6505b2e0696b1d8b9303220acef2d |