Why Does the gate Object Still Pass Data When Closed?
Hi guys,
I try t o understand the behavior of the gate object in max, and it's driving me crazy. I’ve set up a patch, but I can’t figure out why it’s not behaving as expected.
Here’s the setup:
I have a bang button connected to a
trigger b b
.The first output of the trigger goes to a
delay 10
, which is connected to the left inlet of the gate.The second output of the trigger goes to a message (
0
), which is connected to the right inlet of the gate.The output of the gate is connected to a print object.
My understanding is that when I press the bang button, the message 0
should immediately go to the right inlet of the gate and close it. Then, the delayed bang from the first output of the trigger will arrive at the left inlet of the gate. Since the gate is closed, I expect nothing to pass through to the print object.
But every time I press the bang button, I see 0 printed. This made me believe that the delayed bang is still passing through the gate, even though I thought the gate was closed.
Am I misunderstanding how the gate works? Or is there something wrong with this setup? I’ve attached the patch code below for reference.

the left inlet closes and open then gate !
interesting
bang left inlet of closed gate and get 0
really good kill switch
