diff --git a/wled00/util.cpp b/wled00/util.cpp index cf04aa5d5..b8dea2555 100644 --- a/wled00/util.cpp +++ b/wled00/util.cpp @@ -503,8 +503,8 @@ um_data_t* simulateSound(uint8_t simulationId) } samplePeak = random8() > 250; - FFT_MajorPeak = volumeSmth; - maxVol = 10; // this gets feedback fro UI + FFT_MajorPeak = 21 + (volumeSmth*volumeSmth) / 8.0f; // walk thru full range of 21hz...8200hz + maxVol = 31; // this gets feedback fro UI binNum = 8; // this gets feedback fro UI volumeRaw = volumeSmth; my_magnitude = 10000.0 / 8.0f; //no idea if 10000 is a good value for FFT_Magnitude ???