Definition at line 331 of file advanced.h.
331 {
334
335
338
339 for (
int x = 0;
x < rmsWidth;
x++) {
341 uint8_t colorIndex = fl::map_range<int, uint8_t>(
x, 0,
WIDTH, 0, 255);
343 if (ledIndex >= 0 && ledIndex <
NUM_LEDS) {
345 }
346 }
347 }
348
349
352
354 int ledIndex =
xyMap(peakX,
y);
355 if (ledIndex >= 0 && ledIndex <
NUM_LEDS) {
357 }
358 }
359
360
363 int ledIndex1 =
xyMap(
x, 0);
367 }
368 }
369}
float rms(Slice< const int16_t > data)
UINumberField palette("Palette", 0, 0, 2)
UICheckbox beatFlash("Beat Flash", true)
UISlider audioGain("Audio Gain", 1.0f, 0.1f, 5.0f, 0.1f)
CRGBPalette16 getCurrentPalette()
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>
References audioGain(), autoGainValue, beatFlash(), clearDisplay(), ColorFromPalette(), getCurrentPalette(), HEIGHT, isBeat, leds, MIN, NUM_LEDS, palette(), rms(), CRGB::White, WIDTH, x, xyMap, and y.
Referenced by loop().