Skip to content

Commit

Permalink
Cascade: fix loop switches
Browse files Browse the repository at this point in the history
  • Loading branch information
alefnull committed Sep 4, 2022
1 parent 3f08f60 commit ad81e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/funcgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ struct Funcgen : Module {
cm_envelope[i].set_fall(fall_time);
}

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

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

0 comments on commit ad81e44

Please sign in to comment.