Skip to main content

resonators (Python)

Python bindings for resonators, a Rust implementation of Alexandre François's Resonate algorithm for low-latency spectral analysis.

See the main repository for details, demos, benchmarks, and attribution.

Install

pip install resonators

Quickstart

import numpy as np
from resonators import ResonatorBank

sample_rate = 44_100.0
freqs = np.array([110, 220, 440, 880], dtype=np.float32)
bank = ResonatorBank(freqs, sample_rate)  # alphas default to a per-frequency heuristic

t = np.arange(sample_rate, dtype=np.float32) / sample_rate
signal = np.sin(2 * np.pi * 440.0 * t).astype(np.float32)
spectrogram = bank.resonate(signal, hop=256)  # shape (n_frames, n_bins), complex64

License

Dual-licensed under MIT or Apache-2.0, at your option.

Release files for resonators 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for resonators 0.1.2
File Size Uploaded
resonators-0.1.2.tar.gz 49.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for resonators 0.1.2
File
resonators-0.1.2-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details
resonators-0.1.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
resonators-0.1.2-cp39-abi3-win32.whl CPython 3.9 abi3 Windows x86-32 Details
resonators-0.1.2-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
resonators-0.1.2-cp39-abi3-musllinux_1_2_i686.whl CPython 3.9 abi3 Linux musl 1.2+ x86-32 Details
resonators-0.1.2-cp39-abi3-musllinux_1_2_armv7l.whl CPython 3.9 abi3 Linux musl 1.2+ ARMv7l Details
resonators-0.1.2-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
resonators-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
resonators-0.1.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.9 abi3 Linux glibc 2.17+ IBM System/390x Details
resonators-0.1.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.9 abi3 Linux glibc 2.17+ PowerPC 64-le Details
resonators-0.1.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.9 abi3 Linux glibc 2.17+ ARMv7l Details
resonators-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
resonators-0.1.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.9 abi3 Linux glibc 2.5+ x86-32 Details
resonators-0.1.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
resonators-0.1.2-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 4.9 MB

Release files / resonators-0.1.2.tar.gz

Download URL resonators-0.1.2.tar.gz
Size 49.4 kB
Tags Source
SHA-256 checksum
How to use checksums
18e2a8f0eccd24c134c63afee4aabea4c85a5eb3e540fd358679027e330320ff
BLAKE2b-256 checksum
How to use checksums
235d2021e43b2e75545e368752b971bb93a7a2cb3e9a67f64bc2bc9172ec0119
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-win_arm64.whl

Download URL resonators-0.1.2-cp39-abi3-win_arm64.whl
Size 159.0 kB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
b1cc6e08b6f0eaecca9d8016a1e1ede82c888675afe25d113301399fb058671e
BLAKE2b-256 checksum
How to use checksums
8c6e2a8f8dd353e6311a79d2593083ae538e8a671a5c4e7486a2008eed2530d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-win_amd64.whl

Download URL resonators-0.1.2-cp39-abi3-win_amd64.whl
Size 167.7 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
bce547e4667028eb2162e2747d8028c8028c2fc4592c533e2457be96f114758d
BLAKE2b-256 checksum
How to use checksums
53fddd876b3ea3206c7f4d141e9b4fc9d65648cc6f723ae82565e7a9698d8e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-win32.whl

Download URL resonators-0.1.2-cp39-abi3-win32.whl
Size 157.7 kB
Tags CPython 3.9 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
453e812d89f7a1fe18afb9827aff661f18670c36677ecf149bca0627287f9398
BLAKE2b-256 checksum
How to use checksums
7b6d12a31ef834c191fe082d462efa2fb5b4fd047ebd146a01382efa493eacb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL resonators-0.1.2-cp39-abi3-musllinux_1_2_x86_64.whl
Size 493.5 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
0120276f6c28afa4f31ba0ca484be25c5b239a7841fd10615f96e05465c78273
BLAKE2b-256 checksum
How to use checksums
ab341195053ac25030e7421ff5cb25b0287904c42330035be6b866357dfb8be7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-musllinux_1_2_i686.whl

Download URL resonators-0.1.2-cp39-abi3-musllinux_1_2_i686.whl
Size 523.4 kB
Tags CPython 3.9 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
16b707628618e2df158a4d0aa6d0b4a59eb6ce6700a4cba3d6b2f32704ceb36e
BLAKE2b-256 checksum
How to use checksums
bd47616d49a3d6e21488f36aa52aab07ce99f503e552c7e439943feb19b71955
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-musllinux_1_2_armv7l.whl

Download URL resonators-0.1.2-cp39-abi3-musllinux_1_2_armv7l.whl
Size 564.3 kB
Tags CPython 3.9 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
45e6048ea8b07ffd38fa9a236d24024aa11cd442d33785a6f36dab142d5517d8
BLAKE2b-256 checksum
How to use checksums
847fd8154d5b4f2f12383069ddd52d1bd7caddf7fc010cb1af8e6a21368b7dc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL resonators-0.1.2-cp39-abi3-musllinux_1_2_aarch64.whl
Size 456.9 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
9e8ff2e4e6b4c7544adec1b3a89a65a85cbc8909eb56139d111b35d8bd4c2ca1
BLAKE2b-256 checksum
How to use checksums
0099254c6bcd9525a9c0f5873ee34bb5a7e52c3efb1333e8c76c1995dbed9621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL resonators-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 281.8 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
7349ccc6a833f9d6ecbcf538c43241ac60dce692d19c08a72036819d7640d9c0
BLAKE2b-256 checksum
How to use checksums
b35c288efe6d5ec9947c71fd659c3189bf31ecdbd4ab91b3699fc5e536690bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL resonators-0.1.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 306.7 kB
Tags CPython 3.9 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
ab57d090a81b6b865ae7ed04faad481ec3aff2ded73dabc04ab96ec72c4663e4
BLAKE2b-256 checksum
How to use checksums
19e869b0694ff767f90af97716a3ce20ebebb47c737d25683304585f93f2fa3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL resonators-0.1.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 310.5 kB
Tags CPython 3.9 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
dddd337ecfed848d55c677ed4f2cc90a9d5514e55f01e94e92c1849eb132eb6a
BLAKE2b-256 checksum
How to use checksums
e84cba33c5337170f3681ef0599fcadbea33d3e6e8b082ea16feee4dd89c0ee8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL resonators-0.1.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 288.8 kB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
48440b269df36d2ff960eca0c41592079572a82891c9377600c719deaa3a9012
BLAKE2b-256 checksum
How to use checksums
eca4168b5826b2af6c7af8168db2d2f63cfcdbf6aa530c39efaad105a41bf5c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL resonators-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 280.6 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
20679f4097ee421aab798e6bfd53fb17d4d6e4169da10173557fe059d2bc5015
BLAKE2b-256 checksum
How to use checksums
d0eb56a7814a8bb43b1eb5c1742ae89d00655af7c952ee0cc4d6394ff26a08b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl

Download URL resonators-0.1.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Size 305.3 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
1b0006fe736a32bca9c9485085261db734ecf90561579756f5cda5b99b289e91
BLAKE2b-256 checksum
How to use checksums
9510b292aa886355780be7294abc7e599a6660555328654e977a20e4f8414100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL resonators-0.1.2-cp39-abi3-macosx_11_0_arm64.whl
Size 258.2 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e133f85046bba08d6a2fdcfa0912f1b61303933ce18cb0969f7a5893f489d161
BLAKE2b-256 checksum
How to use checksums
02e8c3d33f7a98310bf93d13b24a60568aad09ef741ec4107673e9573db82679
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / resonators-0.1.2-cp39-abi3-macosx_10_12_x86_64.whl

Download URL resonators-0.1.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 268.6 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
85a4f7c0fdf82ddd56a81400a19860023e851ac291d624faf949cd324287957d
BLAKE2b-256 checksum
How to use checksums
206870135ded04b3d1a765ca0bc74af4bbb43a9a2fdf09bf68df8d17a4a3576c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.2 This release

16 release files

0.1.1

16 release files

0.1.0

14 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page