<div style="color:black;font: 10pt Arial, Helvetica, sans-serif;">
<div> <font size="2">it seems like this would also depend on automatically saving the parent at loadtime or closetime though</font><br>
</div>

<div> <br>
</div>

<div style="font-family:arial,helvetica;font-size:10pt;color:black"><font size="2">-----Original Message-----<br>
From: Sebastian Shader <sebfumaster@aol.com><br>
To: pd-list@lists.iem.at <pd-list@lists.iem.at><br>
Sent: Sun, Dec 11, 2022 2:34 pm<br>
Subject: Re: [PD] [random] and seed value<br>
<br>

<div id="yiv2290560922">
<div>
<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 clear="none">
</font></div>



<div><br clear="none">
 </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 clear="none">
</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 clear="none">
</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 clear="none">
</font> </div>



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



<div><br clear="none">
</div>



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



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



<div id="yiv2290560922yqtfd65491" class="yiv2290560922yqt9869766273">
<div style="font-family:arial, helvetica;font-size:10pt;color:black;"><font size="2">-----Original Message-----<br clear="none">
From: Peter P. <peterparker@fastmail.com><br clear="none">
To: pd-list@lists.iem.at<br clear="none">
Sent: Sun, Dec 11, 2022 2:22 pm<br clear="none">
Subject: Re: [PD] [random] and seed value<br clear="none">
<br clear="none">
Hi Thomas,<br clear="none"><br clear="none">* Thomas Mayer <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:thomas@residuum.org" target="_blank" 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?
</font>
<div id="yiv2290560922yqtfd44224" class="yiv2290560922yqt6838196968"><br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none"><a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:Pd-list@lists.iem.at" target="_blank" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div>

</div>

</div>
</div>

<div id="yiv2290560922yqtfd71679" class="yiv2290560922yqt9869766273">
</div>
</div>
</div>
</font></div>
</div>