[PD] Random

Marco Matteo Markidis mm.markidis at gmail.com
Wed May 30 19:29:15 CEST 2018


usually in random number generators one wants to have control on the seed
because this allows to have the same numeric streams every time one wants.
so, IMHO the best practice is to generate a time-valued seed in some way
(e.g. [realtime]) and use it as argument for |seed< method.

ciao

2018-05-30 19:09 GMT+02:00 Alexandre Torres Porres <porres at gmail.com>:

>
>
> 2018-05-30 11:45 GMT-03:00 Martin Peach <chakekatzil at gmail.com>:
>>
>>
>> This patch uses [time] to seed the random sequence.
>>
>
> I guess this is sort of like how the initial seed is done in Max. Not sure
> exactly, but it uses some time period since the computer started or
> something.
>
> I think it is a good idea to include something like that in [random] so it
> is updated to automatically have a different starting seed every time.
>
> cheers
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180530/e4b80265/attachment-0001.html>


More information about the Pd-list mailing list