Forums > MaxMSP

Really simple question – stuck with gate

Mar 06 2011 | 8:19 pm

HI I’m running a metro so that a gate runs through its outputs, and i find this strange, but i can’t use the last output to reset the count and so it starts again sending the message through the first output [then second, etc.].

I find it strange because while there is a loop in the patch I can’t see why the patch is just junk.
It’s a very simple patch.

Thank you for any help etc..

Mar 06 2011 | 8:27 pm

could be a problem of the execution order. try to check it step by step with the debugger.

Mar 06 2011 | 8:35 pm

Hi, here is the start of the patch…

Thank you!

Mar 06 2011 | 8:36 pm

Oh sorry I get what you mean now ^_^

SIlly me.

Mar 07 2011 | 12:43 am

deferlow is your friend.

-- Pasted Max Patch, click to expand. --

Mar 07 2011 | 12:56 am

Although perhaps useful as an example of deferlow, the patch itself is fairly pointless as you can much more easily use counter…

-- Pasted Max Patch, click to expand. --

Mar 07 2011 | 1:14 am

Mar 07 2011 | 9:19 am

I’m well aware of the counter object. I was just trying to illustrate the solution to this sort of stack overflow problem, which can arise in many ways.

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

Forums > MaxMSP