incrementing gate

Sep 1, 2013 at 9:43am

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?

  1. Screen-Shot-2013-09-01-at-12.33.54-PM
Sep 1, 2013 at 10:57am

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.

Sep 1, 2013 at 1:26pm

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

Sep 1, 2013 at 1:32pm

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.

Sep 1, 2013 at 6:23pm

[if (($i1+$i2)>1) then Single else out2 Double]



You must be logged in to reply to this topic.