Skip to main content

Audio signal processing library

Project description

This is a python audio signal processing library.

Basic example

import zignal

x = zignal.Sinetone(fs=44100, f0=997, duration=0.01, gaindb=-20)
print(x)
x.plot()

See the examples folder for more examples.

Requirements

This library relies on numpy, scipy and matplotlib. At the moment it is recommended to install these using the systems default package manager. On debian/ubuntu, do a

sudo apt-get install python-numpy python-scipy python-matplotlib python-pyaudio

to install the requirements. Once the basic requirements are installed, use pip to install zignal in for example a virtualenv.

pip install zignal

Design goals

  1. Readability over efficiency. This is a python library for development and understanding of audio signal processing.

  2. The initial goal is to write the functionality in pure python, with the use of numpy, scipy and matplotlib. See rule 1. If efficiency becomes an issue a c/c++ library might be implemented but the pure python code must remain the default choice.

  3. Design for non real-time processing. Functionality to do real-time processing can be added if it does not break rule 1.

  4. Self documentation. The code should aim to be well documented, in the source code itself.

Project details


Download files

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

Source Distribution

zignal-0.1.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zignal-0.1.0-py2-none-any.whl (37.0 kB view details)

Uploaded Python 2

File details

Details for the file zignal-0.1.0.tar.gz.

File metadata

  • Download URL: zignal-0.1.0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zignal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b7757e9fbc5e36dab4de63ab1b49730014c876d27deb8642c3f64c268a2c0215
MD5 2c4c69581aec0ff58c9b3b2b216c35ca
BLAKE2b-256 6794b27f6d26c48bbed96386408d693a38f334f8aefd1be359c3f4ba9ed1e711

See more details on using hashes here.

File details

Details for the file zignal-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for zignal-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 e2836338201da96b09685eb4aa4c027a4d74d78549146dd025217db17979ee77
MD5 958590ee6ec7d29142f5440e0e5c5927
BLAKE2b-256 a77420d3b2e0ad22fd59adaa42205f9eb8e0691805658b19710469f062e9b9c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page