Re:Aubio, a C library for analyzing songs
by gavinray on Tuesday September 21, 2021 @03:01PM
(#28608552)
You might try "librosa" for tempo/beat detection:
https://github.com/librosa/librosa/blob/main/librosa/beat.py
Track beats using time series input
>>> y, sr = librosa.load(librosa.ex('choice'), duration=10)
>>> tempo, beats = librosa.beat.beat_track(y=y, sr=sr)
>>> tempo
135.99917763157896
Also see Essentia:
Re:Aubio, a C library for analyzing songs
by kyrofa on Tuesday September 21, 2021 @02:39PM
(#28608239)
Not beat detection, but other real-time patterns. See my other reply here: https://news.ycombinator.com/item?id=28607374 .
Does anybody have experience, using some of this code for realtime detection?