Skip to content

Commit ad81e44

Browse files
committed
Cascade: fix loop switches
1 parent 3f08f60 commit ad81e44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/funcgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ struct Funcgen : Module {
206206
cm_envelope[i].set_fall(fall_time);
207207
}
208208

209-
bool loop = params[LOOP_PARAM + i].getValue() < 0.5f;
209+
bool loop = params[LOOP_PARAM + i].getValue() > 0.5f;
210210
envelope[i].set_loop(loop);
211211

212212
if (loop_trigger[i].process(params[LOOP_PARAM + i].getValue())) {

0 commit comments

Comments
 (0)