/Sodpy

Simple Onset Detection in Python

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Simple Onset Detection in Python (Sodpy)

Sodpy is a simple onset detection library written in pure python. Hopefully this is useful for learning about onset detection algorithms, parameter tuning with supporting visualisation and batch processing audio files.

You will need to install version 2.7.* of python and the following modules: ipython, numpy, scipy, matplotlib, and pysoundfile

For scientific python in Ubuntu you can do:

$ sudo apt-get install python-dev ipython python-numpy python-matplotlib python-scipy

PySoundFile is necessary for reading and writing audio files:

$ git clone https://github.com/bastibe/PySoundFile.git

The basic GUI lives in the directory interface/; just type:

$ python onsetGUI

Acknowledgments

GUI and STFT support: https://github.com/MTG/sms-tools

Implementation support: https://github.com/johnglover/modal

Implementation support: https://github.com/MTG/essentia