[PD-dev] RNG
Krzysztof Czaja
czaja at chopin.edu.pl
Tue Aug 27 16:33:11 CEST 2002
hi Miller and others,
as I have resumed cyclone hacking today (after a long break),
I would like to finish coding the 'random' family first.
Not being even close to an expert on random number generators,
I have borrowed the two used in the 'random' and 'noise~'
builtins. Today, just in order to have a quick try, I have used
them to produce an input for the 'diehard' set of tests. Now
I have three questions:
1. Before I start learning how to correctly interpret all the
results -- have been such, or similar, or any kind of tests,
performed for the Pd rngs?
2. Seeing that the one used in noise~ (d_osc.c) has suboptimal
period length (2^{30}), I wonder if this does matter for the
`whiteness' of the output, or does not? (The multiplier
a = 435898247 fails the property of b = a - 1 being a multiple
of 4 -- this is in Knuth 3.2.1.2, at least in a Polish
translation:)
3. Waiting for a return of our mac used for checking things in
max/msp, I am not able yet to check what kind of output max/msp
rng produces. Any hint?
thanks,
Krzysztof
More information about the Pd-dev
mailing list