Skip to content

Commit d2c94ea

Browse files
committed
Cascade: disable loop and speed randomization
1 parent fb04d9f commit d2c94ea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/funcgen.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,20 @@ struct Funcgen : Module {
116116
configParam(CASCADE_TRIGGER_PARAM, 0.f, 1.f, 0.f, "Cascade Re-Trigger");
117117
configInput(CASCADE_TRIGGER_INPUT, "Cascade Re-Trigger");
118118
configSwitch(CASCADE_LOOP_PARAM, 0.f, 1.f, 1.f, "Cascade Loop", {"Off", "On"});
119+
getParamQuantity(CASCADE_LOOP_PARAM)->randomizeEnabled = false;
119120
configSwitch(CASCADE_SPEED_PARAM, 0.f, 2.f, 1.f, "Cascade Speed", {"Slow", "Normal", "Fast"});
121+
getParamQuantity(CASCADE_SPEED_PARAM)->randomizeEnabled = false;
120122
configOutput(CASCADE_RISING_OUTPUT, "Cascade Rising");
121123
configOutput(CASCADE_FALLING_OUTPUT, "Cascade Falling");
122124
for (int i = 0; i < CHANNEL_COUNT; i++) {
123125
configParam(RISE_PARAM + i, MIN_TIME, MAX_TIME, 1.f, "Rise time", " s");
124126
configParam(FALL_PARAM + i, MIN_TIME, MAX_TIME, 1.f, "Fall time", " s");
125127
configSwitch(LOOP_PARAM + i, 0.f, 1.f, 1.f, "Loop", {"Off", "On"});
128+
getParamQuantity(LOOP_PARAM + i)->randomizeEnabled = false;
126129
configParam(RISE_SHAPE_PARAM + i, -1.f, 1.f, 0.f, "Rise shape");
127130
configParam(FALL_SHAPE_PARAM + i, -1.f, 1.f, 0.f, "Fall shape");
128131
configSwitch(SPEED_PARAM + i, 0.f, 2.f, 1.f, "Speed", {"Slow", "Normal", "Fast"});
132+
getParamQuantity(SPEED_PARAM + i)->randomizeEnabled = false;
129133
configParam(PUSH_PARAM + i, 0.f, 1.f, 0.f, "Push");
130134
configInput(TRIGGER_INPUT + i, "Trigger");
131135
configInput(RISE_CV_INPUT + i, "Rise CV");

0 commit comments

Comments
 (0)