Skip to content

Commit

Permalink
Fix maxVol and binNum
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Aug 13, 2023
1 parent f0cc7f0 commit 0672d1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions usermods/audioreactive/audio_reactive.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0672d1c

Please sign in to comment.