[PD] Weighted Randomness

B. Bogart bbogart at goto10.org
Fri Oct 12 19:51:34 CEST 2007


Hey all,

Does someone have a very simple implementation of a weighted randomness
patch where the distribution of the numbers is read from a table? I see
Miller's moses example, but I would like more graphic control of density.

Something like:


--------------

Gives an even chance to all values

   /
  /
 /
/

The bigger the number, the more likely it is.

So X is the number, and Y is the probability.

100 increments from 0-1 is what I'll be using.

Thanks all,
B.




More information about the Pd-list mailing list