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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user