https://github.com/rzumer/beatfinder
Audio analysis for onset detection.
https://github.com/rzumer/beatfinder
Last synced: 3 months ago
JSON representation
Audio analysis for onset detection.
- Host: GitHub
- URL: https://github.com/rzumer/beatfinder
- Owner: rzumer
- License: mit
- Created: 2017-09-24T17:28:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T04:31:39.000Z (over 7 years ago)
- Last Synced: 2025-03-25T10:51:12.989Z (3 months ago)
- Language: C++
- Homepage:
- Size: 2.22 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BeatFinder
A C++ library implementation of two audio signal reduction methods for analysis and beat detection.The exposed method `FindBeats` takes a file path as input and transcodes it using `ffmpeg` 3.4.1 before processing audio data.
Analysis is performed using a 1024-point non-overlapping STFT, with the Hamming window function applied to the samples beforehand. Transcoding is performed frame by frame, such that reduction is possible in real time (currently not supported).
The output struct contains the spectral flux representation of the audio stream, its peaks (with non-peak windows set to 0), as well as the amplitude envelope follower proposed in "A Tutorial on Onset Detection in Music Signals" (Bello et al., 2005).