Skip to content

Commit

Permalink
fix modulator clamping
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Sep 17, 2023
1 parent 914ddc1 commit c01aa3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsfx/Steps Modulator.jsfx
Expand Up @@ -73,8 +73,8 @@ rev == 2 ? slider13 = CtVar[beatpos] / 100 * amount; //rev off

slider51 = val + slider12; // Modulator
slider_automate(slider51);
slider51 < 0 ? slider1 = 0;
slider51 > 100 ? slider1 = 100;
slider51 < 0 ? slider51 = 0;
slider51 > 100 ? slider51 = 100;

@sample

Expand Down

0 comments on commit c01aa3a

Please sign in to comment.