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: [email protected] > > To: [email protected] > > 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 > > > > _______________________________________________ > > [email protected] mailing list > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > _______________________________________________ > [email protected] 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
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
