Forums > MaxMSP

General ? About seed values

Oct 30 2013 | 12:17 pm

I understand seeding a random or drunk will give reproducable results but I was wondering if the size of the seed number (say 9 or 999) have any bearing on how long a sequence random will produce or is the seed just a strting point for an endless sequence?

I suspect the latter but I wasnt sure.

Oct 31 2013 | 2:35 pm

The two things are entirely independent.

The built-in Max random number generator has a fixed cycle length (IMS, 2^31, although it might be a factor of two higher or maybe a few factors smaller… check Numerical Recipes in C). The seed value basically is an (indeterminate) index into the cycle, so you start at a different place. But the length of the cycle remains the same.

For a more industrial-strength RNG, all I can do is point you to the Litter Power Package, which has RNGs with cycles starting at 2^88.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP