<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">While we're talking about ways to limit output of message delays (etc.), check out also the [debounce] abstraction in extended.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Alexandre's attached idiom is quite common in other areas, too, like protecting a [readsf~] from all input until it has finished playing, or halting all input to a synth abstraction while it is generating an event. One strategy I like even more is finding a way to route all the incoming information intended for the object in question back out for further processing (perhaps another delay or readsf~ or synth abstraction is open and can accept the event).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 11:42 PM, Liam Goodacre <span dir="ltr"><<a href="mailto:liamg_uw@hotmail.com" target="_blank">liamg_uw@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">If you'll allow more than one object, then a combination of [onebang] or [once] with [delay] should do what you're looking for. You'll need to reset them each time, but it should still be simpler than using spigots.<br><br>Incidentally, from you title I was hoping that you were asking for a [delay] object that would schedule a bang n milliseconds <i>before </i>it was triggered. Now that would be something!<span class=""><br><br><br><br>> howdy, [delay] ignores multiple input bangs and considers only the "last"<br><div>> <br>> from the help file:<br>> "sending a "bang" to a [delay] which is already set will reschedule its<br>> output, cancelling the old one."<br>> <br>> What if I wanted the opposite, like, further bangs will be ignored and not<br>> reschedule the output. The output would then be rescheduled only after it<br>> did output something and then received a new bang. Is there an object that<br>> does that?<br>> <br>> I made a patch that does it, with [spigot], seems to handle the job. Find<br>> it attached.<br>> <br>> cheers<br></div>                                         </span></div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>