Forums > MaxMSP

Avoiding two successive and fast impulses

January 18, 2013 | 12:43 am

Dear forum,

I receive impulses from a metronome (similar to click~, a short 1 and then 0).
For synchronization issues I need to reset my metronome from time to time. When I do so, my metronome outputs two impulses that are very near.
How do I do to avoid two successive impulses that are nearer than a certain amount of time?

I tried in Max with clocker, past and gate, but it sounds like the impulses are to fast for this, and it should be done in signal:

– Pasted Max Patch, click to expand. –

Is there a way to do this totally in signal?
Thanks.


January 18, 2013 | 3:08 am

If you were in the Max domain, delay would do nicely. I’ll have to think about the signal domain.



ak
January 18, 2013 | 3:46 am

like this?

– Pasted Max Patch, click to expand. –

January 18, 2013 | 9:25 am

another example, and 2 gen~ examples with different behaviors.

– Pasted Max Patch, click to expand. –

January 18, 2013 | 8:34 pm

Thank you so much guys!
I need to work more in the signal domain, I always have Max domain reflexes.
And thanks Emmanuel for the gen~ examples, still a new and unknown world for me.
kindest regards


Viewing 5 posts - 1 through 5 (of 5 total)