Browse Source

Fixing up alternate light flashing lights

Was abusing legacy match from when using a triangle oscillator for the light levels
tags/v1.0.1
Jim Tupper 6 years ago
parent
commit
7279f7391d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Stages.cpp

+ 1
- 1
src/Stages.cpp View File

@@ -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);


Loading…
Cancel
Save