[PD] Random number generation quest
jbturgid at hotmail.com
Wed Nov 14 18:30:00 CET 2012
Is the [time] object in pd-vanilla? If so you could use the milliseconds output as your seed...
[loadbang] |[time] | (milliseconds) [random]
> Date: Wed, 14 Nov 2012 14:53:44 +0000
> From: enrique at netpd.org
> To: pd-list at iem.at
> Subject: [PD] Random number generation quest
> Hi List!
> Can a random number form 0 to 100 be generated with the following requirements:
> - No externals / Vanilla Pd only
> - DSP must be off
> - The patch is loaded with Pd through command line interface i.e.
> `pd -noprefs -nogui givemerandom.pd`
> - The output should not always be the same number
> Thanks for looking into it
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list