[PD] Random

hans w. koch hansw.koch at gmail.com
Thu May 31 19:56:21 CEST 2018


wouldn´t it be more interesting/useful to incorporate a [date] object into vanilla pd, from which it would be trivial to generate unique seeds, but which also could be used in (many) other contexts?

hans


> Am 31.05.2018 um 19:21 schrieb Dan Wilcox <danomatika at gmail.com>:
> 
> It would relatively easy to add a right outlet to [random]. Another option might be an explicit [seed] object which could give you further control or perhaps some creation flags for [random] as well.
> 
>>> you still have control on the seed... just seed it
>> 
>> no because you need to add an extra outlet to [random] and prints out the
>> seed value.
>> 
>>> or even seed it with the system time on creation?
>> 
>> if one adds now this behaviour one need to put a flag for backward
>> compatibility.
>> 
>>> what if [seed( without argument would take the current system time?
>> 
>> this could be an idea but one need the second outlet.
>> 
>> ciao
>> -Marco Matteo Markidis
> 
> --------
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list