Random values on bang

hi all,

what’s the best practice to get random values on bang? or don’t you mind keeping your random generators running? looks a bit complicated with an if loop and s+h.

Unbenannt

In VL you could configure an exposed function of an object to run if the input pin was true? some kind ob build in if loop. still here or something else?

thx

that’s not a problem, so only the S+H is fine… if you want to avoid evaluating the random, you can use a cache region:

image

both is fine.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.