gate/switch confusion

Feb 16, 2012 at 6:53pm

gate/switch confusion

i’m totally confused by the gate object right now. if i have a gate object with 4 outlets, but i send a number greater than 4 into the left inlet, i still get output out of gates 4th outlet. surely if a number greater than 4 is sent into gate it shouldn’t output anything. please help.

#61831
Feb 16, 2012 at 7:15pm

This is just how gate works:

“If it is greater than the number of existing outlets, messages are sent out the rightmost outlet.”

I would recommend just creating an extra outlet, which you don’t have to hook up to anything.

-Ben

#223237
Feb 16, 2012 at 7:50pm

good call. thanks for that.

#223238
Feb 16, 2012 at 8:24pm

another solution might be to clip the range of numbers going to the gate

#223239

You must be logged in to reply to this topic.