Audio DSPy
audio_dspy is a Python package for audio signal processing tools.
Current tools include:
- EQ filter design
- Nonlinear Processors
- Sine Sweep Tools
- Plotting Frequency Responses and Static Curves
- Converting transfer functions to minimum or linear phase
- Prony's method, and Prony's method with frequency warping
- Modal modelling tools
Install using pip:
pip install audio-dspy
Examples
import audio_dspy as adsp
import matplotlib.pyplot as plt
# Plot nonlinear static curves
adsp.plot_static_curve (lambda x : adsp.hard_clipper (x), range=2.5)
adsp.plot_static_curve (lambda x : adsp.soft_clipper (x), range=2.5)
plt.title ('Comparing Nonlinearities')
plt.legend (['Hard Clipper', 'Soft Clipper'])
# Design and plot EQ filters
fs = 44100
b, a = adsp.design_lowshelf (800, 2.0, 2, fs)
adsp.plot_magnitude_response (b, a, fs=fs)
plt.title ('Low Shelf Filter')
# Perform level detection
from scipy.io import wavfile
fs, x = wavfile.read('drums.wav')
x = adsp.normalize(x[:,0]) # only take left channel, normalize
plt.plot(x, label='input')
for mode in ['peak', 'rms', 'analog']:
y = adsp.level_detect(x, fs, mode=mode)
plt.plot(y, label=mode)
plt.title('Level Detection Example')
plt.xlabel('Time [samples]')
plt.legend()
Metadata
Release files for audio-dspy 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| audio_dspy-0.0.4.tar.gz | 20.6 kB | Without provenance | Details for audio_dspy-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| audio_dspy-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for audio_dspy-0.0.4-py3-none-any.whl |
Total release size: 51.2 kB
Release files / audio_dspy-0.0.4.tar.gz
| Download URL | audio_dspy-0.0.4.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebfe50a534ab99ea96f7552280076000cce2e56c0d891500efc8e6e820545a43
|
|
BLAKE2b-256 checksum How to use checksums |
48520eac7456cecb1b31a447ade1ab132e91bfe75bbd679d10ff276ed4456c13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.2
|
Release files / audio_dspy-0.0.4-py3-none-any.whl
| Download URL | audio_dspy-0.0.4-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73f7a0ab35e5e3ab2d325446affe781d5a96ec03c7615ecbd97f044e31a1e504
|
|
BLAKE2b-256 checksum How to use checksums |
dd603c56d72f570878f8206990a4f16cb8e1ff2100b29887946a77d882700308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.2
|
Security for audio-dspy 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.