Really simple question - stuck with gate

Cle09's icon

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..

Jan M's icon

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

Cle09's icon

Hi, here is the start of the patch...

Thank you!

1890.exampleoflooperror.maxpat
Max Patch
Cle09's icon

Oh sorry I get what you mean now ^_^

SIlly me.

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

deferlow is your friend.

David Butler's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Duncan Taylor's icon
Chris Muir's icon

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.