what :
Home > Objects > D > drunk > author : Cycling74

drunk

Output random numbers in a moving range


Drunk takes two optional arguments. The first argument is a range specification, the second is a step size. Drunk does a random walk, constrained between zero and the range (here 128) and step of up to one less than the maximum step size. The maximum step size can be changed via the inlet with an int and int output is produced by inputting a bang in the inlet. The default range is 128, the default current value is 64, and the default step size is 2 (steps of 0 and 1 are allowed). A negative step size is the same as a positive one, except that steps of size 0 are never made.
from the libraries :
Max / Random Objects
Format : External
Environment : max
commercial
Max 4.x



http://www.timara.oberlin.edu/~gnelson/maxdownloads/downloadmax.htm

4842 objects and 135 libraries within the database Last entries : December 3rd, 2019 Last comments : 0 0 visitor and 10028902 members connected RSS
Site under GNU Free Documentation License