From 691ad17b042df845eb4e9bb86170b8c07ee05b5f Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 20 Mar 2023 22:33:10 +0100 Subject: [PATCH] Small oops --- usermods/audioreactive/audio_reactive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usermods/audioreactive/audio_reactive.h b/usermods/audioreactive/audio_reactive.h index 8d1576e8..3071d3fa 100644 --- a/usermods/audioreactive/audio_reactive.h +++ b/usermods/audioreactive/audio_reactive.h @@ -124,8 +124,8 @@ static volatile bool disableSoundProcessing = false; // if true, sound proc static bool useBandPassFilter = false; // if true, enables a bandpass filter 80Hz-16Khz to remove noise. Applies before FFT. //WLEDMM add experimental settings -static uint8_t micLevelMethod = 1; // 0=old "floating" miclev, 1=new "freeze" mode -#if defined(CONFIG_IDF_TARGET_ESP32S2) || !defined(CONFIG_IDF_TARGET_ESP32C3) +static uint8_t micLevelMethod = 1; // 0=old "floating" miclev, 1=new "freeze" mode, 2=fast freeze mode +#if defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3) static uint8_t averageByRMS = false; // false: use mean value, true: use RMS (root mean squared). use simpler method on slower MCUs. #else static uint8_t averageByRMS = true; // false: use mean value, true: use RMS (root mean squared). use better method on fast MCUs.