Resample and remix an audio 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)
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
audresample-1.3.3.tar.gz
(1.9 MB
view hashes)
Built Distributions
Close
Hashes for audresample-1.3.3-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35d2fea2c3a1de6b2b21a61512df44c1f4ac259bdf2fdcafad6670715bfa0e73 |
|
MD5 | c58e2d63e194949b621bf9aad1c72539 |
|
BLAKE2b-256 | 99c630f91a3169e32ab244e19008bf1fc35f6cbdf20a0bbf7c73ce7f5b6ab87c |
Close
Hashes for audresample-1.3.3-py3-none-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 728a6d79eccbc9966ad0d8f5a9992e857eda771bbd0ab1a25d52a2cef504f2f1 |
|
MD5 | 6e8e531deb93667fe9d8ad26e48973ec |
|
BLAKE2b-256 | b5e7f077611b41c7740ba72725aeb30e458de0ac3b99167b86ca88acdb45435b |
Close
Hashes for audresample-1.3.3-py3-none-manylinux_2_17_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6aec2d37baae73a3de0519c27ea0e8231135c0fb3313fdb9d41958961f9ee1 |
|
MD5 | 843b1eb0694b070a004b93b7eef901a0 |
|
BLAKE2b-256 | ae4b6c521a86e44f0b340b6f3ef8628590bceb5fc92e6c24891183e083ff7efb |
Close
Hashes for audresample-1.3.3-py3-none-manylinux_2_17_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9d79bbe4f75a3f9bc0cd95a96bc81e592df64e247063d897de66ed6a03f121 |
|
MD5 | fdd8d51fcc60b278d334b0b0104d9503 |
|
BLAKE2b-256 | 4117017afbdd49511c5a6102373d298a6106d1deaaf94c3781c32736176af52b |
Close
Hashes for audresample-1.3.3-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a7f5662f9426ac697610abc57cd8b866ee05bc5c3babdd18a40a32b18b9875d |
|
MD5 | f7989a0148ca6107cd890631029583c2 |
|
BLAKE2b-256 | f66bfdb9418650a1e85b9e2d58de13ec06a3d5feef4ba45b874d02a548cfaa60 |
Close
Hashes for audresample-1.3.3-py3-none-macosx_10_4_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6817aafd12ba19a164d57ff94e1bc74bc51c1d534c2780bc5f0cd5cdb2f778da |
|
MD5 | a3e847a5caf793a6f34046c6e23aede6 |
|
BLAKE2b-256 | 0619d7e365cc5d41fffdd38678c45d0ee91ef56b85e004f79028c7a18c3eb318 |