Definition at line 329 of file advanced.h.
329 {
332
333
336
337 for (
int x = 0;
x < rmsWidth;
x++) {
339 uint8_t colorIndex = fl::map_range<int, uint8_t>(
x, 0,
WIDTH, 0, 255);
341 if (ledIndex >= 0 && ledIndex <
NUM_LEDS) {
343 }
344 }
345 }
346
347
350
352 int ledIndex =
xyMap(peakX,
y);
353 if (ledIndex >= 0 && ledIndex <
NUM_LEDS) {
355 }
356 }
357
358
361 int ledIndex1 =
xyMap(
x, 0);
365 }
366 }
367}
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().