<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>How about [threshold~ 0.5 10 0.5 10]? The right outlet will
      output a bang whenever [phasor~] resets its phase. Not sure if its
      arguments need more fine tuning.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 16/3/22 16:34, Jeppi Jeppi wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:PAXP194MB1312725E84D73CEE18F32507B2119@PAXP194MB1312.EURP194.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Hi there,</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I assume this has been discussed many times before but...what
        could be simplest and most concise way to detect a phase reset
        of a phasor~ with only plain vanilla objects?</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I only need one bang when it goes back to 0.</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        It seems I should need snapshot~ and fexpr~ which is not that
        elegant...</div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </body>
</html>