From d9434e41c97ead49a58a54799a8c69d8a72401de Mon Sep 17 00:00:00 2001 From: Jim Tupper Date: Tue, 2 Oct 2018 00:51:11 +0100 Subject: [PATCH] Sending input CV to the correct segments --- src/Stages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stages.cpp b/src/Stages.cpp index e653fbc..71910c2 100644 --- a/src/Stages.cpp +++ b/src/Stages.cpp @@ -167,7 +167,7 @@ struct Stages : Module { float primaries[NUM_CHANNELS]; float secondaries[NUM_CHANNELS]; for (int i = 0; i < NUM_CHANNELS; i++) { - primaries[i] = clamp(params[LEVEL_PARAMS + i].value + inputs[LEVEL_INPUTS].value / 8.f, 0.f, 1.f); + primaries[i] = clamp(params[LEVEL_PARAMS + i].value + inputs[LEVEL_INPUTS + i].value / 8.f, 0.f, 1.f); secondaries[i] = params[SHAPE_PARAMS + i].value; }