[PD] [random] and seed value
Peter P.
peterparker at fastmail.com
Sun Dec 11 23:22:19 CET 2022
Hi Thomas,
* Thomas Mayer <thomas at residuum.org> [2022-12-11 21:20]:
[...]
> My guess is, that most users probably expect at least different seed values
> every time.
>
> Maybe the help file should explicitely state the behaviour or a different
> way for deriving the initial seed should be used, e.g. taking the local
> time. Or a better PRNG could be used as well.
>
> If we take the solution to initialize [random] with a different seed each
> time, an explanation on how to revert to the old behaviour of a seed value
> of 1489853723 should be mentioned in the help.
I think the main thing to worry about is if any of the patches written
in the last 20+ years will stop working in the way intended by a such a
modification.
I loosely remember that someone somewhen showed how to get a different
seed every time using an abstraction. If such a solution exists in
vanilla Pd, it could be added as a solution to the docs perhaps?
More information about the Pd-list
mailing list