Thanks,Mike.

]]>pa

]]>Much appreciated. MIke.

]]>You may want to take a look at the Litter Power package. It has implementations of every random number distribution known to mankind(*), possibly more than you want to know about.

The Litter Starter Pack (free) contains Bernoulli, Linear and Gaussian (normal) distributions, as well as a “flat” random number generator that is more reliable than the standard [random] object. It also has a nifty I Ching implementation.

The Litter Pro Bundle adds Poisson, Arc-sine & Beta, Chi-square, Cauchy, Exponential, Gamma, log-normal, Weibull and Pareto distributions as well as a family of high-quality correlated noise generators (pink, brown, black, etc.) And much, much more.

If you are serious about random numbers and noise, you ought to take a look at Litter Power.

You will probably find that a linear distribution from the Starter Pack (scaled to the range 1-100) will do what you want quite nicely. You can get finer control with the ‘Pro’ Beta-distribution.

Please note that the free Litter Starter Pack is much more friendly in a Max-4 world. The objects actually do work with Max 5, but there are a large number of cosmetic warnings and some issues with the help files. The Pro Bundle is fully Max 5-compatible.

Hope this helps,

Peter

PS: (*) In interest of full disclosure, Wikipedia actually lists a few highly exotic distributions that are not directly implemented in Litter Power. Wikipedia is bigger than mankind.-)

]]>