You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//static volatile bool disableSoundProcessing = false; // if true, sound processing (FFT, filters, AGC) will be suspended. "volatile" as its shared between tasks.
150
145
staticbool useBandPassFilter = false; // if true, enables a bandpass filter 80Hz-16Khz to remove noise. Applies before FFT.
151
146
152
-
// audioreactive variables shared with FFT task
153
-
// static float micDataReal = 0.0f; // MicIn data with full 24bit resolution - lowest 8bit after decimal point
// static bool samplePeak = false; // Boolean flag for peak - used in effects. Responding routine may reset this flag. Auto-reset after strip.getMinShowDelay()
160
-
// static uint8_t maxVol = 31; // Reasonable value for constant volume for 'peak detector', as it won't always trigger (deprecated)
161
-
// static uint8_t binNum = 8; // Used to select the bin for FFT based beat detection (deprecated)
162
-
// static bool udpSamplePeak = false; // Boolean flag for peak. Set at the same time as samplePeak, but reset by transmitAudioData
163
-
// static unsigned long timeOfPeak = 0; // time of last sample peak detection.
164
-
// static void detectSamplePeak(void); // peak detection function (needs scaled FFT results in vReal[])
165
-
// static void autoResetPeak(void); // peak auto-reset function
0 commit comments