[PD] Really random random from date and time

Mathieu Bouchard matju at artengine.ca
Tue Jan 25 04:43:10 CET 2011


On Tue, 25 Jan 2011, Ed Kelly wrote:

> I'm using [urn] so I tried feeding a [random 500] -> [seed $1( into the 
> [urn], but every time it's the same result. According to the 
> documentation "if you don't give it a seed then each instance of random 
> gets its own seed" but every time I initiate the patch the result is the 
> same.

BTW there is also [# rand] which uses libc's random() (actually 
random()%n), and also, merely loading gridflow will call srandom() to seed 
it with the system time.

  _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC


More information about the Pd-list mailing list