Chance
- PStochasticPattern: The superclass of all chance-based patterns.
 
- PWhite: White noise between 
min and max. 
- PBrown: Brownian noise.
 
- PCoin: Coin toss, returning either 0 or 1 given some 
probability. 
- PRandomWalk: Random walk around list.
 
- PChoice: Pick a random element from 
values, weighted by optional weights. 
- PSample: Pick multiple random elements from 
values, weighted by optional weights, 
- PShuffle: Shuffled list.
 
- PShuffleInput: Every 
n steps, take n values from pattern and reorder. 
- PSkip: Skip events with some probability, 1 - 
play. 
- PFlipFlop: Flip a binary bit with some probability.
 
- PSwitchOne: Capture 
length input values; loop, repeatedly switching two adjacent values. 
- PRandomExponential: Random uniform on exponential curve between 
min and max, 
- PRandomImpulseSequence: Random sequence of impulses with probability 
probability.