Add real-time BPM detection and display to HUD and title

Implement real-time BPM (beats per minute) estimation in AudioAnalyzer by tracking beat intervals and smoothing the result. Display the current BPM in both the window title and the on-screen HUD. Update AudioFeatures to include a Bpm field. Adjust HUD layout to accommodate the new BPM information.
This commit is contained in:
Michal Vrba
2026-02-13 20:38:50 +01:00
parent 2926f739ee
commit 8bf3978354
3 changed files with 63 additions and 6 deletions
@@ -7,6 +7,7 @@ public struct AudioFeatures
public float Mid;
public float High;
public float Beat;
public float Bpm;
public float[] Spectrum;
public float TimeSeconds;