Weighted Random #maxmsp

Today’s patch is very useful when trying to keep your music interesting and ever-changing while still maintaining control. The tables in this patch control the likelihood of a given outcome. The Y location of an index determines how many times that number is thrown into the random pool. The random number generator determines the index of the entire list selected. I included two iterations of the same patch: one is on a smaller scale in order to make the mechanics clear. 

Enjoy!

 

Aaron

Link:

https://www.dropbox.com/s/qguzy104ubo43qd/WeightedRandom.maxpat

Image

Leave a comment