Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.11.1 instead.
Reason given by maintainers: Large unnecessary deployment files

docs/logo/logo.png
Documentation Status License Python version PyPI version

Readme

This is a toolbox in form of a python package that contains algorithms to be used in dsp (digital signal processing) research projects.

This is kind of a “sandbox” project with many different experimental implementations across a variety of DSP-related topics. Some parts are more thoroughly tested and validated than others, so “caution” is advised. Please feel free to reach out in case you find bugs or want to talk about certain functionality.

It is under active development and it will take some time until it reaches a certain level of maturity. Beware that backwards compatibility is not an actual concern and significant changes to the API might come in the future. If you find some implementations interesting or useful, please feel free to use it for your projects and expand or change functionalities.

Getting Started

Refer to the documentation for the complete description of classes and functions.

import dsptoolbox as dsp

signal = dsp.Signal.from_file("recording.wav")
signal = signal.set_spectrum_parameters(method=dsp.SpectrumMethod.FFT)
frequencies_hz, spectrum = signal.get_spectrum()

lowpass = dsp.Filter.iir_filter(
    order=8,
    frequency_hz=2000.0,
    type_of_pass=dsp.FilterPassType.Lowpass,
    sampling_rate_hz=signal.sampling_rate_hz,
)
filtered = lowpass.filter_signal(signal)
filtered.plot_magnitude()
dsp.plots.show()

Installation

Use pip to install dsptoolbox

$ pip install dsptoolbox

# Or this for activating numba parallelization
$ pip install "dsptoolbox[use-numba]"

(Requires Python 3.11 or higher)

On Linux, install the native audio libraries used by the audio dependencies manually. sounddevice uses PortAudio for live audio input and output, while soundfile uses libsndfile for reading and writing audio files. Install them with the following command:

$ sudo apt-get install libasound2 libportaudio2 libsndfile1

If this does not work properly for some reason, refer to the documentation for sounddevice, soundfile, or PortAudio.

Release files for dsptoolbox 0.11.0

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

Source distribution (sdist)

Source distribution for dsptoolbox 0.11.0
File Size Uploaded
dsptoolbox-0.11.0.tar.gz 3.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for dsptoolbox 0.11.0
File
dsptoolbox-0.11.0-cp314-cp314-win_arm64.whl CPython 3.14 CPython 3.14 Windows ARM64 Details
dsptoolbox-0.11.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
dsptoolbox-0.11.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
dsptoolbox-0.11.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
dsptoolbox-0.11.0-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details
dsptoolbox-0.11.0-cp313-cp313-win_arm64.whl CPython 3.13 CPython 3.13 Windows ARM64 Details
dsptoolbox-0.11.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
dsptoolbox-0.11.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
dsptoolbox-0.11.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
dsptoolbox-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
dsptoolbox-0.11.0-cp312-cp312-win_arm64.whl CPython 3.12 CPython 3.12 Windows ARM64 Details
dsptoolbox-0.11.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
dsptoolbox-0.11.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
dsptoolbox-0.11.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
dsptoolbox-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
dsptoolbox-0.11.0-cp311-cp311-win_arm64.whl CPython 3.11 CPython 3.11 Windows ARM64 Details
dsptoolbox-0.11.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
dsptoolbox-0.11.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
dsptoolbox-0.11.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
dsptoolbox-0.11.0-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details

Total release size: 15.2 MB

Release files / dsptoolbox-0.11.0.tar.gz

Download URL dsptoolbox-0.11.0.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
db8e73f0f1a5e32d569cbb9f61384a6054f84f078c3db589798a68835af78f42
BLAKE2b-256 checksum
How to use checksums
d465e0e2dccede355f37e18747928d6417a8ba01a563d81acce904907437a245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp314-cp314-win_arm64.whl

Download URL dsptoolbox-0.11.0-cp314-cp314-win_arm64.whl
Size 502.2 kB
Tags CPython 3.14 Windows ARM64
SHA-256 checksum
How to use checksums
a0f462cbd16c877489ef28fc151c893ef80d2c4fd218201db10ff6350c3ae760
BLAKE2b-256 checksum
How to use checksums
4c5e3568ee55845df7d0bb58e141ae1f3ad46d75b68c2fdd201c9ff065c753f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp314-cp314-win_amd64.whl

Download URL dsptoolbox-0.11.0-cp314-cp314-win_amd64.whl
Size 513.4 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
88bc8531a750e54a1efb4f8c6378aa0718451d109d9fd92c8817c2115f61e7cd
BLAKE2b-256 checksum
How to use checksums
0843e57eef85aaa9d84c9bb174367264ecdd1160ec0cff262120eb6e95a9ea75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL dsptoolbox-0.11.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 647.4 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
23b100f665e548ba87f20648134553e00870d9a663b1a01e36ab4c7ab5475ae1
BLAKE2b-256 checksum
How to use checksums
209f9509c2ce5b859b166893e8e82b3e40e2a39dece8ea9c465ed1bbd4c1777e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL dsptoolbox-0.11.0-cp314-cp314-macosx_11_0_arm64.whl
Size 598.6 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
67cc84ab697c9adea648d1957e1745e0aa1a947399ccdb0c5003a1c3b511e939
BLAKE2b-256 checksum
How to use checksums
bebd6164dbc6703240a457e3184326706ee68240964925b68b1bc98befb87f3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp314-cp314-macosx_10_15_x86_64.whl

Download URL dsptoolbox-0.11.0-cp314-cp314-macosx_10_15_x86_64.whl
Size 610.0 kB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
c8d548cc43c983d27a6a138eb9433c2eba0e7f0b41b60f73bbb0f7b0bf74f1ae
BLAKE2b-256 checksum
How to use checksums
d90a21d7f37dba93e5f9c059d94a62a16b400b8e88ee51acbc1128753e4c3fd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp313-cp313-win_arm64.whl

Download URL dsptoolbox-0.11.0-cp313-cp313-win_arm64.whl
Size 501.0 kB
Tags CPython 3.13 Windows ARM64
SHA-256 checksum
How to use checksums
dc0fc46d08b71add8adc04286f1b9d9007e8db6e14ccdfb68ac99f4b99e9042a
BLAKE2b-256 checksum
How to use checksums
fd1a58a51e2b0441a865fed34ea131c9b071e10d4ad040b0ccb9183f1e36b11e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp313-cp313-win_amd64.whl

Download URL dsptoolbox-0.11.0-cp313-cp313-win_amd64.whl
Size 512.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
3b486928764e69cf711a0982aaa5e95c755eba9fc4ec2ec8ac980f7e1879ce3b
BLAKE2b-256 checksum
How to use checksums
dfedfcc33df3bd369749ff7ca708c3041a51817678ce25bb2fa169ead70ff9ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL dsptoolbox-0.11.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 647.2 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ed3c4384698476db3d2e85495099703a8378829fd2fa6080d184fcf13e12003a
BLAKE2b-256 checksum
How to use checksums
434faddd652759e5120e04464bd12fede1c30a293439c4ceca5b150932addc94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL dsptoolbox-0.11.0-cp313-cp313-macosx_11_0_arm64.whl
Size 597.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
da86526e1465f63bc9146641b4ecef14e30f0360b5c774c44b67beacfe831dbf
BLAKE2b-256 checksum
How to use checksums
005b910709ed5e4e890342f1e6b1c078c39e2323eb2d7774bcafcd516b12cda4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL dsptoolbox-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 608.6 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
b0dd7fdadab13ea0538e04b020f4a1d767d37dcb64345917b76770aa8f088da6
BLAKE2b-256 checksum
How to use checksums
73ba3a0a88f974e8d7c75ae5cb7364c335978bf8178b9123741a8797daa62b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp312-cp312-win_arm64.whl

Download URL dsptoolbox-0.11.0-cp312-cp312-win_arm64.whl
Size 501.8 kB
Tags CPython 3.12 Windows ARM64
SHA-256 checksum
How to use checksums
fce04de62edec048da1c0a31d6e955a39bc83d2af71b27d702ad2db46690a2ad
BLAKE2b-256 checksum
How to use checksums
47730d1f72809bcc2af276a17f8331b582e606627136a01c30922efd582072c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp312-cp312-win_amd64.whl

Download URL dsptoolbox-0.11.0-cp312-cp312-win_amd64.whl
Size 512.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
bee7e93eb50ccd28e58f2133205fbad6ae89b5137b7344c7e0074150132add20
BLAKE2b-256 checksum
How to use checksums
f618af81c8badd9fabc4e211c6877f54ee5c2d5ba36a375027a20834a0023ad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL dsptoolbox-0.11.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 647.5 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a5921af8dda6359b13d5d52c876ff4c5e4a2ed81fe27a8022899a0940171ab6c
BLAKE2b-256 checksum
How to use checksums
e74de29bc27fca81b893a70c57c2c9444fc55eb07dff726ca781573eaa558bf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL dsptoolbox-0.11.0-cp312-cp312-macosx_11_0_arm64.whl
Size 598.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
096548502bbda4369d443de7450fce35cc185c27d7eba1da95a555bf10f637d5
BLAKE2b-256 checksum
How to use checksums
b1940119a9f633f752be723626e52cb366dd1afa8903b9cf5f936ab06f944f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL dsptoolbox-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 609.5 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
4c94624cd53fba8d3a8b0db8e9ca8f32f5b27341f93e557d22165a740e01d5ef
BLAKE2b-256 checksum
How to use checksums
4a35ec2aa03f3c7e156a0fea77860984259e9691d1ba2c9bc951abdabea4a406
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp311-cp311-win_arm64.whl

Download URL dsptoolbox-0.11.0-cp311-cp311-win_arm64.whl
Size 504.7 kB
Tags CPython 3.11 Windows ARM64
SHA-256 checksum
How to use checksums
51dc0027f139c28cb607f9f045cf828c49792e73f3e733f2c82e61d26515f739
BLAKE2b-256 checksum
How to use checksums
99dd87c39dcdfb1122f6548a4110ad1daedc6161a64f46b50153d185b7727d8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp311-cp311-win_amd64.whl

Download URL dsptoolbox-0.11.0-cp311-cp311-win_amd64.whl
Size 514.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f0a004bcd97fd09d286603e6c05e32330e36d3426f94b091685b663d4966622c
BLAKE2b-256 checksum
How to use checksums
f5ba4ec698003f56107295894246502df3f04e4238bf2a3385206e927787cb3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL dsptoolbox-0.11.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 650.7 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
aaca2756902eba3de63dd00a8bae6abc1d7169efe9b86701aac2aec302df80e6
BLAKE2b-256 checksum
How to use checksums
04505ed16539af2b8c0b3034979ef3feb907ba776af4485da2398db99d2770e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL dsptoolbox-0.11.0-cp311-cp311-macosx_11_0_arm64.whl
Size 602.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2e3d8b30eee25db068e942f5cd4e238104e429679d5ff329e2224270e6df728e
BLAKE2b-256 checksum
How to use checksums
3adc2cc977b2f3e8f24575e7e76f648788627ba24bbfd0191e52f7d2aa9f58e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / dsptoolbox-0.11.0-cp311-cp311-macosx_10_12_x86_64.whl

Download URL dsptoolbox-0.11.0-cp311-cp311-macosx_10_12_x86_64.whl
Size 607.8 kB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4a3ec273f3339f796a4baf5d658c9eb2834a88f90090c58374d7870cb585270f
BLAKE2b-256 checksum
How to use checksums
821198f0b509b313156f6b6a469b9d3f938447ee70c14e61331755a43127ef33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.11.0 This release

21 release files

0.10

2 release files

0.9

2 release files

0.8

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

1 release file

0.7

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.12

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 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