Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skempin/audio-peak-detection
Python script utilising Librosa to log the timings of audio peaks in an MP3 file
https://github.com/skempin/audio-peak-detection
audio-analysis audio-applications librosa mp3 python python-2 wav
Last synced: 1 day ago
JSON representation
Python script utilising Librosa to log the timings of audio peaks in an MP3 file
- Host: GitHub
- URL: https://github.com/skempin/audio-peak-detection
- Owner: SKempin
- Created: 2019-01-08T16:13:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T20:19:15.000Z (over 5 years ago)
- Last Synced: 2024-09-28T16:23:05.889Z (5 days ago)
- Topics: audio-analysis, audio-applications, librosa, mp3, python, python-2, wav
- Language: Python
- Size: 5.86 KB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Audio signal peaks to list / CSV
A Python script utilising [Librosa](https://librosa.github.io/) to log the timing (in milliseconds) of audio peaks in an MP3 file.
This was originally intended to detect peaks in an audio signal that is not is constant time, and therefore doesn't have a consistant BPM.
Peak timings are output to both the console and a CSV file.
## Getting started
Ensure you have input the path to your audio file in `peaks-detection.py` line `10`.
```
$ pip install -r requirements.txt
$ python peaks-detection.py
```## Utils
Utils contains useful additional scripts that utilise [Pydub](http://pydub.com/), [Scipy](https://www.scipy.org/) and [Matplotlib](https://matplotlib.org/) for WAV to MP3 conversion and graph plotting.