[PD] Really random random from date and time

IOhannes m zmoelnig zmoelnig at iem.at
Tue Jan 25 08:56:59 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-01-25 01:58, Ed Kelly wrote:
> Hi list,
> 
> I'd like my patch to create a different random each time it's loaded.
> 
> 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.
> 
> Is there an object that will give me the current date and/or time, so that I can 
> use that as a seed to the random and urn objects???

zexy's [time] and [date]


fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0+gksACgkQkX2Xpv6ydvT+BACgpEAs3TvT+xrECvM7lIG7t6ql
yhMAnjaY5R/qapCWpapvNPFU5mCGvo3i
=CB+1
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110125/647f5442/attachment.bin>


More information about the Pd-list mailing list