3 ms·
Funny, I stumbled upon this just today when I was looking for good realtime beat detection code. Does anybody have experience, using some of this code for real
by hummo56 5y ago
Funny, I stumbled upon this just today when I was looking for good realtime beat detection code.
Does anybody have experience, using some of this code for realtime detection?
- kyrofa 5y agoNot beat detection, but other real-time patterns. See my other reply here: https://news.ycombinator.com/item?id=28607374 https://news.ycombinator.com/item?id=28607374 .
- gavinray 5y agoYou might try "librosa" for tempo/beat detection: https://github.com/librosa/librosa/blob/main/librosa/beat.py 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: https://essentia.upf.edu/ https://essentia.upf.edu/