High quality, one-dimensional sample-rate conversion library
Project description
Python-SoXR
High quality, one-dimensional sample-rate conversion library for Python
Installation
pip install soxr
If installation fails, upgrade pip with python -m pip install --upgrade pip
and try again.
Basic usage
import soxr
y = soxr.resample(
x, # 1D(mono) or 2D(frames, channels) array input
48000, # input samplerate
16000 # target samplerate
)
Output is 2D numpy.ndarray with shape (frames, channels).
Credits
libsoxr (LGPLv2.1+)
https://sourceforge.net/projects/soxr/
Python-SoXR is a Python wrapper of libsoxr
PFFFT (BSD-like)
https://bitbucket.org/jpommier/pffft/
libsoxr uses PFFFT as FFT
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
soxr-0.2.0.tar.gz
(259.3 kB
view hashes)
Built Distributions
soxr-0.2.0-cp39-cp39-win_amd64.whl
(176.9 kB
view hashes)
soxr-0.2.0-cp39-cp39-win32.whl
(143.7 kB
view hashes)
soxr-0.2.0-cp38-cp38-win_amd64.whl
(177.5 kB
view hashes)
soxr-0.2.0-cp38-cp38-win32.whl
(144.2 kB
view hashes)
soxr-0.2.0-cp37-cp37m-win_amd64.whl
(174.6 kB
view hashes)
soxr-0.2.0-cp37-cp37m-win32.whl
(142.3 kB
view hashes)
soxr-0.2.0-cp36-cp36m-win_amd64.whl
(174.6 kB
view hashes)
soxr-0.2.0-cp36-cp36m-win32.whl
(142.4 kB
view hashes)
Close
Hashes for soxr-0.2.0-pp37-pypy37_pp73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00337238e514f73ea710c792f2da8e92304c8e501d3048745d3ef17e17576e8 |
|
MD5 | c16e3b8cb1ac4bfb71c9c6ec56609bf1 |
|
BLAKE2b-256 | aa27e1d62476310677b44b92438a8021dcbf0205a0ee10d534d664860af9b0b9 |
Close
Hashes for soxr-0.2.0-pp37-pypy37_pp73-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cac13e39d55e4e95565117ab370ff04a2486223ac03f389e77a83ec9e40dce5d |
|
MD5 | fb580ff6d7939ddd50724e402ac96d46 |
|
BLAKE2b-256 | bfb9c88720ac1b16845c4b8c6a8f5331cb5977d2da4ac2c2c479a80d04b962f7 |
Close
Hashes for soxr-0.2.0-pp36-pypy36_pp73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3acf419323fd9cb75f4aeccefe8551295f53fe4f7974046afbed390083725f7 |
|
MD5 | db7004f5da499c7e1ee55fc1fed2bc86 |
|
BLAKE2b-256 | 803af09aca948220dbd50301ffa56f6ca47da27df567ab0f7f4ae87827dbb82b |
Close
Hashes for soxr-0.2.0-pp36-pypy36_pp73-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b0c000e34a998be1e5aa558c65e62729315782ecc1ec0e77974e294121438a9 |
|
MD5 | 9617244340772f5eb62e414787d38fae |
|
BLAKE2b-256 | b6bd8fa31461a37578a2226aebc8bdf132b1320c4c440b9e7a6e6254dc96780a |
Close
Hashes for soxr-0.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66a781b462ff52d97e5d33f9a726e45932a4908d70163dbc76c3cae326b1f4b |
|
MD5 | 05625093269f9e8bb9a11f9b3e76334d |
|
BLAKE2b-256 | 4c04780e304ee5f5a9c9d9b381e1e57891979386111d5c9890baf8e7addd170c |
Close
Hashes for soxr-0.2.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8607e584a7aa6c1132e4bd29ed6b7f7074a3553de9083117ba249ff07baf02a |
|
MD5 | e54d2294697c5de2fc621bc1aa5fd5c1 |
|
BLAKE2b-256 | 834726821798db596449da2af5363d1745012e5eb21e9463d144698f0a4cc4fc |
Close
Hashes for soxr-0.2.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641ebff947f02778dae4dfe24db9a33daca9c9af3aabbd6dbe082e441bc2dfa3 |
|
MD5 | b1849b5013192a78e6d82787fc7d6c29 |
|
BLAKE2b-256 | afaed7eee915d68667f279ea93c2d01e16b01d9ba08ddb08db37745d9cd70dc3 |
Close
Hashes for soxr-0.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb55afb85f06772eda62f1cd5f98191c8c2efe5e6220f3bed0ae005e09eddb0c |
|
MD5 | bce0287b89dd1fa03f8f0d3c16516d9e |
|
BLAKE2b-256 | 4e03e40ae27ef1292b27d2f93c97ede6135dca41075d479edfd1f60b95cfffe4 |
Close
Hashes for soxr-0.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d74f497f303205bf76bf76859c6577ede031611cb7d42df23851a47d180db12 |
|
MD5 | 84e27184c31dc90ff4ef29b4bee80703 |
|
BLAKE2b-256 | e1224d7974c956bcd33a92ca9cb98e39960fb01c89a435874a3b1a8d2e3cee64 |
Close
Hashes for soxr-0.2.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dcfc61b9ea4edd77d5629bc048cf0c7d28bdcedc3f97ee4cb05915cd0eb2470 |
|
MD5 | c257152cfb909f0d00e338d597b781d4 |
|
BLAKE2b-256 | 4c3b5c5c2da32b26c042b10a7835f1ecde96072867744c88e51b79278b7d0f02 |
Close
Hashes for soxr-0.2.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ec6f3e16d7a06f86a4bb80b88abc46bb498825a506a5bb9a48a747ad5dce6e |
|
MD5 | 2a41969340fd7567c3816cafd43c7e6f |
|
BLAKE2b-256 | c979249468cf3e55e88c6429dd2a5257e4f33c90f467feb833095eef2a582b65 |
Close
Hashes for soxr-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98ab4f77f7b426f54acc468577276d722840e49992dde1c808f61edd27da29c2 |
|
MD5 | 224cd56082082b2ff1523c1420a803e1 |
|
BLAKE2b-256 | 660aa49cf082df71e775083acd455f11747c61c0e321a1a319466bef332fab7f |
Close
Hashes for soxr-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 276d16c674e866ebd78c2ab55331c9c847b0b9cd3b8c572aa025d5c9fe3c3830 |
|
MD5 | 7510847560e797bf85d3bc7a23dc2d59 |
|
BLAKE2b-256 | 5cca1c65550226a570133c97168ec5ebdde52731d30b6b2aabcd54bfd54bd82d |
Close
Hashes for soxr-0.2.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ff728087ec5bbed85d22389d91237fd6ffe93b5ffd990550e176fcd8597373 |
|
MD5 | c0e0b7ce07eb8372b0c84b45caca2bdb |
|
BLAKE2b-256 | 26be243ca4d7ef09968aab8b8821dc2d99f7b3d487987f266fc1d188bfee77ed |
Close
Hashes for soxr-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8958fe6b33f36796de670bcc34ba87acf8958fca4373b2cc5b4ed09042218eab |
|
MD5 | be5871b7280d4f47156620efdc890c0e |
|
BLAKE2b-256 | 85a1ce78f4ed81ee241292d098baa6552b80436e0e5d94067c2fb364ad2a8ab8 |
Close
Hashes for soxr-0.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 055ab97a99b5436ee51b9ba4d5a256e92e388c0220e041551f746e49e0defe04 |
|
MD5 | bd18bb6b708fd84bb05887a07cf2b863 |
|
BLAKE2b-256 | 7c6d54b30ad8eb2161d62e39d8b5dc8838a80b1f425a77dd1db3bdb7acdc6556 |
Close
Hashes for soxr-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bfa99014e3a94437af9136f2e6532da87837c99efad359d9caf582287599582 |
|
MD5 | 71199f4778a9f60cf71a89500d1a0c08 |
|
BLAKE2b-256 | da64da2271ea92dcfa3032e87fcf0b585f9273b44f20a070bfe064741ca86c6c |
Close
Hashes for soxr-0.2.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f54ad2839b97939e6071616339718e67503c53416878053694ddf305eb569e0d |
|
MD5 | 90174ff4ad0149ad9511791fb64d8f47 |
|
BLAKE2b-256 | 38b444f0f73ebef7ece53260b571d85954b7b8091d11f9a0c821b60cf3f078dd |
Close
Hashes for soxr-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7159a3b8002b2be28f17299e7e67c1c34faab28e6a13e46328a59bd7b95c376b |
|
MD5 | ffb6728472fcb84115261e2c40dc3082 |
|
BLAKE2b-256 | e707af251a612f5bea36b92ab27fb1cc16de81b736691bce587e0425e6bfb3f3 |
Close
Hashes for soxr-0.2.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79a00b1e6716f10d660763e4fed7b15d88ef52bfae969868e242c9b441bcffda |
|
MD5 | 223e3773c1dc766e3c954be1cc811c90 |
|
BLAKE2b-256 | 14bee538cebef6fa1dfc3eb980168a96e552aacca0812cd1cbfad76117ed8b0f |