[PD] Random number generation quest

Jack jack at rybn.org
Wed Nov 14 19:25:29 CET 2012


Le 14/11/2012 18:30, Andrew Faraday a écrit :
> Hi
>
> 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
> >
> > eni
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Yep, but the first requirement for Enrique was :
- No externals / Vanilla Pd only

So it doesn't work with zexy [time] (this not in Pd Vanilla ;).
++

Jack


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121114/94359ddd/attachment.htm>


More information about the Pd-list mailing list