ok, got it. thank you very much.
On Wed, 15 Nov 2006 17:03:06 +0100, c.m.bryan <...........> wrote:
> On 15/11/06, carlos katastrofsky <carlos.katastrofsky(a)gmx.net> wrote:
>> thanks for the reply, but i guess i didn't describe my problem
>> correctly:
>>
>> - the patch should receive unregular bangs and
>> - only send one bang x seconds after the LAST bang
>>
>> .... so: if it doesn't receive a bang for more than x seconds it will
>> send
>> a bang.
>>
>> hope this becomes clearer now.
>
>
> Sven's patch does exactly that! The first bang represents your
> "irregular" input, triggered by whatever. The reason this works is
> because every input to delay resets delay's timer, so if you send 3
> bangs quickly, it will send out one bang 1000 ms (or whatever) after
> the *last* of the 3.
>
>> > try this:
>> >
>> > [bng]
>> > |
>> > [delay 1000] <- your x seconds*1000 in here
>> > |
>> > [bng]
>> >
>> >
>> > sven.
>