Friday, July 24, 2009

drunk object in Maxmsp


Drunk takes a random walk. Seems like it deals with the audio input and output of the Maxmsp.

Below is the explain from the help file in Maxmsp.

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.

No comments:

Post a Comment