Python implementation of the most common spectral based onset detection algorithms.
onset_program.py input.wav
processes the audio file and writes the detected onsets to a file named input.onsets.txt.
This file is suitable for evaluation with the onset_evaluation.py
scripts which expects pairs of files with the extensions .onsets.txt
and the corresponding ground-truth annotations ending with .onsets
.
Please see the -h
option to get a more detailed description.
- Python 2.7 or 2.6 with argparse module
- Numpy
- Scipy