Oct 9, 2011 at 6:30pm


Im coming back to max after a while and still getting back into the swing of things again. I need to make a patch or there might be an object that does it that has a choice of numbers in it lets say 1 to 16 and bangs out one of those numbers every time it gets banged, and then every time a number is chosen the probability of that number being picked again increases.

Oct 9, 2011 at 6:51pm

the array object in Max is called [coll]. If you search the forum for “probability”, you’ll be on your way. A combination of [random] and [rslider] might be in there too.


Oct 9, 2011 at 7:37pm

For a relatively dirty/easy way ou could use a [coll] object filled with the values you want, each with a numbered index. Then use [random] to call items from that array, and whenever you call a value from the array, you use another [random] object to write that value to the [coll] object, so it will be more likely to come up again next time.

Oct 10, 2011 at 3:24pm

I’d probably do this with table. If you bang table, it acts as a weighted probability distribution.



You must be logged in to reply to this topic.