Random

Picks a new random value between a minimum and a maximum each time it is triggered.

Parameters

NameTypeDescription
ValueoutputFloatThe value picked at the last trigger.
TriggerTriggerPicks a new value.
MinFloatThe lowest value that can be picked.
MaxFloatThe highest value that can be picked.

Random rolls a die. Every trigger picks a fresh value somewhere between the minimum and the maximum, with every value in between equally likely. The output then holds that value until the next trigger. Before the first trigger it is 0.

The picks are different every time the graph runs, so there is no way to replay the same sequence. For random values that change smoothly instead of jumping, use Noise.

Triggered by a Beat it gives a new value every beat, which is a quick way to put something in a new place in time with the music.

Keywords: dice, chance, roll, pick, shuffle, unpredictable