Mar 11, 2008 at 2:07pm
Here is my problem: I want the < object to compare two random numbers as they are coming in and perform a certain operation if < outputs 1. My problem is that < is storing the number so that the first number is being compared with the last (stored) second number. Where am I going wrong?
#P button 195 290 15 0;
Mar 11, 2008 at 4:01pm
First off, I’d suggest learning about the [trigger] object. You can
Hope this helps!
On Mar 11, 2008, at 8:07 AM, Jay Bodley wrote:
Home < http://pubweb.csf.edu/~smill>
Mar 11, 2008 at 4:02pm
Quote: laotze wrote on Tue, 11 March 2008 07:07
This is exactly how the < object is supposed to work. What you need to do is make sure the second number arrives in <'s right inlet just before the first number arrives in the left inlet. To do that, you should definitely use the trigger object. Trigger is extremely important for these kinds of issues, so learn it well.
For this case, hook up your metro to a [trigger b b] object. The right (first) bang from trigger should go to the random object that will end up at the < right inlets first.
Mar 11, 2008 at 4:30pm
I usually use [if] for comparison, because it allows more flexibility than just output 1 or 0.
When I discovered [t b i], I used it everywhere.
Max patches speak more than words.
#P window setfont “Sans Serif” 9.;
Mar 16, 2008 at 6:12am
Jay Bodley schrieb:
As nobody pointed to some other “Where am I going wrong” of your patch
How to find out how the order is?
You must be logged in to reply to this topic.