21 lines
419 B
C#
21 lines
419 B
C#
namespace FractalVisualizer.Models;
|
|
|
|
public struct AudioFeatures
|
|
{
|
|
public float Level;
|
|
public float Bass;
|
|
public float Mid;
|
|
public float High;
|
|
public float Beat;
|
|
public float[] Spectrum;
|
|
public float TimeSeconds;
|
|
|
|
public static AudioFeatures CreateEmpty(int spectrumBins)
|
|
{
|
|
return new AudioFeatures
|
|
{
|
|
Spectrum = new float[spectrumBins]
|
|
};
|
|
}
|
|
}
|