Add real-time chord detection and visualization mode

Implemented chroma-based major/minor chord detection in AudioAnalyzer and exposed results in AudioFeatures. Updated HUD to display detected chord names. Added a new "CHORDS" fractal preset that visualizes the current chord with large pixel text, modulated by confidence and beat. Extended pixel font for chord display. Ensured graceful handling when no chord is detected. These changes enhance both analysis and visual feedback for harmonic content.
This commit is contained in:
Michal Vrba
2026-02-13 20:52:02 +01:00
parent 6a1bdfb935
commit 2d535addd0
4 changed files with 188 additions and 7 deletions
@@ -11,6 +11,9 @@ public struct AudioFeatures
public float DominantFrequencyHz;
public int DetectedNoteIndex;
public float DetectedNoteStrength;
public int DetectedChordRootIndex;
public int DetectedChordType;
public float DetectedChordConfidence;
public float[] Spectrum;
public float TimeSeconds;