
Description
Here we explore a different type of randomness
inspired by brownian
motion. Max's drunk object
implements a drunk random
walk. Instead of choosing the pitch at random,
we choose the next interval randomly. The two
arguments to the dunk object are pitch range (128) and
max step size (3). That is a random pitch in the range
is chosen as a starting point and the next interval is
chosen at random from -2, -1, 0, +1, or +2. The random
interval is shown at the bottom of the patcher. An expr
object and int object are used to calculate
each random interval using the formula NextPitch
($i1) – CurrentPitch ($i2).
Objects
Further Reading
- Wikipedia, Random Walk
- Wikipedia, Brownian Motion