From 557532265df3300aaf9a0200b217f473a336d8b2 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Fri, 18 Nov 2022 12:26:21 +0000 Subject: [PATCH] Add second audio responsive palette --- wled00/util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/util.cpp b/wled00/util.cpp index 2547e3b7..54436d33 100644 --- a/wled00/util.cpp +++ b/wled00/util.cpp @@ -531,8 +531,8 @@ CRGB getCRGBForBand(int x, uint8_t *fftResult, int pal) { } } else if(pal == 72) { - int b = map(x, 0, 255, 0, 16); // convert palette position to freq band - hsv = CHSV(fftResult[b], 255, map(fftResult[b], 0, 255, 50, 255)); // pick hue + int b = map(x, 0, 255, 0, 8); // convert palette position to lower half of freq band + hsv = CHSV(fftResult[b], 255, map(fftResult[b], 0, 255, 30, 255)); // pick hue hsv2rgb_rainbow(hsv, value); // convert to R,G,B } return value;