Hello, I have this network that someone kindly provided for me which increases/decreases a speed CHOP by pressing custom keys(in this case 2 and 4). I’m trying to have the speed chop not go below 0 when decreasing it but I can’t seem to make it happen
Here is my tox
dont-go-below-zero-2.tox (1.2 KB)
How could I solve this? Thank you in advance
There’s a Limit Type
parameter in the Speed CHOP
:
However, if there is no maximum value that you want to clamp to, you can use the expression float('inf')
in the Maximum
parameter, or use a different approach, like feeding the CHOP you want to clamp to a Math CHOP
along with a zero-valued Constant CHOP
with Combine CHOPs
set to Maximum
:
1 Like
Nice! Thank you so much!
1 Like