Real Time BPM Detection

Hi all !

I’m trying to create in TD a real time BPM detector.
On Github, i found this:

But my python skills are way too weak, and at a certain point, my code break, or do not produce anything.

Is anyone have allready tried to implement such a fonctionality in TD ?
Is it really possible ?

Thanks !

The AudioAnalysis in the palette detects beats: kick, snare and rythm outputs. (I find it works better with techno than heavy metal) and you could plug it to the tox in this thread: Advanced tap tempo :) - #2 by mmake