From 7279f7391dbdb7eb7bffc16c8b0d66d20ca2dbee Mon Sep 17 00:00:00 2001 From: Jim Tupper Date: Tue, 2 Oct 2018 23:07:41 +0100 Subject: [PATCH] Fixing up alternate light flashing lights Was abusing legacy match from when using a triangle oscillator for the light levels --- src/Stages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stages.cpp b/src/Stages.cpp index a1545a6..d30751e 100644 --- a/src/Stages.cpp +++ b/src/Stages.cpp @@ -351,7 +351,7 @@ struct Stages : Module { } else if (configurations[i].loop && loopcount == 1) { flashlevel = abs(oscillator[i].step(0.f)); } else { - flashlevel = 1 - abs(oscillator[i].step(0.0625f)); + flashlevel = abs(oscillator[i].step(0.25f)); } lights[TYPE_LIGHTS + i*2 + 0].setBrightness((configurations[i].type == 0 || configurations[i].type == 1) * flashlevel);