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
Readability over efficiency. This is a python library for development and understanding of audio signal processing.
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.
Design for non real-time processing. Functionality to do real-time processing can be added if it does not break rule 1.
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.