gate~ bug (5.0.7, etc.)

dalinnen's icon

when receiving a signal, the leftmost inlet of gate~ (the control inlet) does not clip it's input based on the number of outlets you have requested. the documentation reads...

"If the signal in the left inlet is greater than the number of outlets, the rightmost outlet is used."

this function has not been implemented with signals. it does work fine, however, with integers. the easiest way to prove this is to create a gate~ object (no arguments). you will note that signals in the left inlet open the gate~ once you reach 1, but close the gate~ at and after 2. if you create a "gate~ 2", controls signals >= 3 produce no output anywhere, etc. see patch below.

max 5.0.7, mac 10.5.6.

--dave linnenbank

Max Patch
Copy patch and select New From Clipboard in Max.

Ben Bracken's icon

Hi Dave,

Thanks for this, I can repro here and will see if the ref is wrong or if this is a bug.

-Ben

dalinnen's icon

hey, ben.

for my money, the ref's described behavior sounds appropriate.

thanks much for all the fine work.

dave linnenbank

Ben Bracken's icon

Dave,

Indeed, your money is good here. This should be fixed for the next update.

All the best,
-Ben