Pretty new to Pd, so I'm guessing this is a simple solution. The && operator seems to be acting funny, and I'm assuming that it has to do with the order of triggers or something, but I'm not sure how to make it behave "properly". When the input switches from one number to another, it sometimes takes an additional click for the && to output the correct value.
-
&& operator trigger question
-
@taylorrandall Welcome to Pd!
Yes, this is a very common area of confusion for new users. Your [&&] object needs to receive the new value from [!= 25] in its right inlet before it gets the value from [!= 24] in its left (hot) inlet, which is what outputs the final result at the bottom. Use the [trigger] object to control the execution order:
Takes a minute to get the hang of this, but you'll need to use triggers all the time to ensure that object boxes receive values in the correct order. Check out 2.3.3. hot and cold inlets and right to left outlet order (scroll about 25% down the page)
-
Thanks so much!