incrementing gate
Hi - I'm trying to understand gate, and use a couple of conditions to trigger different states. I've attached a screenshot, but basically all I want to do is, if N occurs, increment the integer so that at the very least gate 1 is open. But if P is also detected, increment the integer so that gate 2 is open.
I set this up, but I can't get my messages to print out. Anyone know what I'm doing wrong?
check out the helpfile for [gate] - it'll show you that you're probably opening the gate in the correct way, but you're not feeding anything through - the right inlet.
Yeah, the left inlet is the door knob, the right inlet is the doorway. One opens the door, the other is the opening. Just be sure to get your order of operations right.. open the door first, then pass through.
Also, given your language ("at the very least", "also detected") I suspect you may want more than one gate open at a time? If so, you can't do that with gate, but you can do that with [router].
Ah - I'm embarassed to admit this but I had been opening help by option clicking, whih opens the patchers for a specified tag. Didn't realize there was another, more descriptive help file accessible through the help menu. Thanks guys.
[if (($i1+$i2)>1) then Single else out2 Double]
;)