<div style="color:black;font: 10pt Arial, Helvetica, sans-serif;">
<div>well it used to be <font size="2">the case that it was difficult to save per-abstraction parameters. with the addition of [savestate]</font></div>

<div><font size="2">I don't think that's as much of a factor anymore.<br>
</font></div>

<div><br>
 </div>

<div><font size="2">In the past you could have a simple abstraction that could increment a value held in a message box to supply a different seed every</font></div>

<div><font size="2">time a patch was loaded.<br>
</font></div>

<div><font size="2">But now you could do basically the same with [savestate] I think. (and don't have to store save state outside the abstraction yourself)</font></div>

<div><font size="2"><br>
</font></div>

<div><font size="2">of course the most common suggestion is to use [date] and [time] from zexy. maybe the better solution is to put those objects into vanilla..<br>
</font> </div>

<div><font size="2">because such an abstraction would be very simple also.</font><br>
</div>

<div><br>
</div>

<div><font size="2">-seb</font></div>

<div><font size="2"><br>
</font></div>

<div style="font-family:arial,helvetica;font-size:10pt;color:black"><font size="2">-----Original Message-----<br>
From: Peter P. <peterparker@fastmail.com><br>
To: pd-list@lists.iem.at<br>
Sent: Sun, Dec 11, 2022 2:22 pm<br>
Subject: Re: [PD] [random] and seed value<br>
<br>
Hi Thomas,<br clear="none"><br clear="none">* Thomas Mayer <<a shape="rect" ymailto="mailto:thomas@residuum.org" href="mailto:thomas@residuum.org">thomas@residuum.org</a>> [2022-12-11 21:20]:<br clear="none">[...]<br clear="none">> My guess is, that most users probably expect at least different seed values<br clear="none">> every time.<br clear="none">> <br clear="none">> Maybe the help file should explicitely state the behaviour or a different<br clear="none">> way for deriving the initial seed should be used, e.g. taking the local<br clear="none">> time. Or a better PRNG could be used as well.<br clear="none">> <br clear="none">> If we take the solution to initialize [random] with a different seed each<br clear="none">> time, an explanation on how to revert to the old behaviour of a seed value<br clear="none">> of 1489853723 should be mentioned in the help.<br clear="none">I think the main thing to worry about is if any of the patches written<br clear="none">in the last 20+ years will stop working in the way intended by a such a<br clear="none">modification.<br clear="none"><br clear="none">I loosely remember that someone somewhen showed how to get a different<br clear="none">seed every time using an abstraction. If such a solution exists in<br clear="none">vanilla Pd, it could be added as a solution to the docs perhaps?
<div class="yqt6838196968" id="yqtfd44224"><br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div>
</font></div>
</div>