randomize help
-
Im trying to randomize the wet control of a fx but twith this code it goes either all the way down or all way up. the min/max for the control is 0, 1
KnobWET.setValue(Math.randInt(0, 2))
and this works but I dont want the knob to go past .5 which I cant control with this code.
KnobWET.setValue(Math.random());
-
const rand = 0.5 * Math.random();