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.
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.
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.
I’d probably do this with table. If you bang table, it acts as a weighted probability distribution.
C74 RSS Feed | © Copyright Cycling '74