From d104a6080e6d29ea870a37ba09edccd02e02bd34 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 2 Jan 2023 09:16:14 -0500 Subject: [PATCH] Audio 2: Only turn on red "0 dB" lights when clipping. --- src/core/Audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Audio.cpp b/src/core/Audio.cpp index 6a051d2e..adfe1ee6 100644 --- a/src/core/Audio.cpp +++ b/src/core/Audio.cpp @@ -338,7 +338,7 @@ struct Audio : Module { // Audio-2: VU meter if (NUM_AUDIO_INPUTS == 2) { for (int i = 0; i < NUM_AUDIO_INPUTS; i++) { - lights[VU_LIGHTS + i * 6 + 0].setBrightness(vuMeter[i].getBrightness(-3, 0)); + lights[VU_LIGHTS + i * 6 + 0].setBrightness(vuMeter[i].getBrightness(0, 0)); lights[VU_LIGHTS + i * 6 + 1].setBrightness(vuMeter[i].getBrightness(-6, -3)); lights[VU_LIGHTS + i * 6 + 2].setBrightness(vuMeter[i].getBrightness(-12, -6)); lights[VU_LIGHTS + i * 6 + 3].setBrightness(vuMeter[i].getBrightness(-24, -12));