News for hackers. Stuff that matters.
Re:Aubio, a C library for analyzing songs by hummo56 on Tuesday September 21, 2021 @01:42PM (#28607533)
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?

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:

https://essentia.upf.edu/

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 .