Holds input signal value when triggered. Latch will output 0 until it receives its first trigger.
The input signal.
Trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive.
The above is just meant as example. LFNoise0 is a faster way to generate random steps: