[PD] Random numbers

Roman Haefeli reduzierer at yahoo.de
Fri Mar 17 16:57:54 CET 2006


hi

"B. Bogart" <ben at ekran.org> wrote:

> After a few tests it seems [random] always outputs the same values on load
> which does make sense in terms of pseudorandom numbers.

afaik, in some programming languages the problem of identical sequences at 
load time is solved by using the system time to set a start point for the 
sequence. maybe you can do something similar in pd with [time]. you could 
sum up all outputs of [time] and add this value to your random number. after 
all a [mod <desired range>] will keep the random numbers in the desired 
range.

roman





	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





More information about the Pd-list mailing list