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