Skip to main content

A package for audio DSP tools

Project description

Audio DSPy

CircleCI codecov CodeFactor Documentation Status

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'])

Pic

# 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')

Pic

Further documentation coming soon...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for audio-dspy, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size audio_dspy-0.0.3.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page