From 0672d1c59db61530318152ef13e419a0ab33c6fa Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sun, 13 Aug 2023 17:16:11 +0100 Subject: [PATCH] Fix maxVol and binNum --- usermods/audioreactive/audio_reactive.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/usermods/audioreactive/audio_reactive.h b/usermods/audioreactive/audio_reactive.h index 6a6e2be4..751201ed 100644 --- a/usermods/audioreactive/audio_reactive.h +++ b/usermods/audioreactive/audio_reactive.h @@ -164,8 +164,6 @@ static uint8_t freqDist = 0; // 0=old 1=rightshift //static float my_magnitude =0.0f; // FFT_Magnitude, scaled by multAgc // peak detection -static uint8_t maxVol = 31; // (was 10) Reasonable value for constant volume for 'peak detector', as it won't always trigger (deprecated) -static uint8_t binNum = 8; // Used to select the bin for FFT based beat detection (deprecated) static void detectSamplePeak(void); // peak detection function (needs scaled FFT reasults in vReal[]) static void autoResetPeak(void); // peak auto-reset function