<div dir="ltr">check [pd [fexpr~] Examples] in the help file of expr~ :)<div><br></div><div><br><div><br></div><div><img src="cid:ii_161595b7c3e5085a" alt="Imagem inline 1" width="473" height="180"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-02 13:59 GMT-02:00 Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fre, 2018-02-02 at 16:30 +0100, tim vets wrote:<br>
> is this any good?<br>
> [ fexpr~ if($x1[0]>$y1[-1], $x1[0], $y1[-1]) ]<br>
<br>
</span>This will never return from the highest value ever experienced. I<br>
really need the output to return after N samples.<br>
<span class=""><br>
> not sure how to reset it though...<br>
<br>
</span>Exactly.<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman</font></span><br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>