2 ms·
You might try "librosa" for tempo/beat detection: https://github.com/librosa/librosa/blob/main/librosa/beat.py https://github.com/librosa/librosa/blob/main/lib
by gavinray 5y ago
You 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/