Forums > MaxMSP

Combine two bangs to output one bang

June 23, 2010 | 8:33 am

Okay so im trying to send a single bang out when two numbers are received.

This is what I have so far but its not quite right…
The buddy object is not correct.

– Pasted Max Patch, click to expand. –

I need a single bang to happen when x is 70 and y is 20.

Any help would be goood Thanks


June 23, 2010 | 9:17 am

perfect!!! Thanks a lot!


June 23, 2010 | 9:17 am

You could use expr, or many other techniques…

– Pasted Max Patch, click to expand. –

p


June 23, 2010 | 9:19 am

Oooopps, raja I didn’t see your solution.

I think you should replace the pack with a pak.

p


June 23, 2010 | 9:48 am

You’re right raja, I just forgot therewas a pictslider … So my t b i is also useless. :-)

p


June 23, 2010 | 10:12 am

That’s correct. pictslider always outputs the x and y coordinates (from right to left).


June 23, 2010 | 12:05 pm

[onebang] will do . Or use if. Use these bang to trigger two message boxes (such as 1).. If $i1 == 1 && $i2 == 1 then bang else out2


Viewing 7 posts - 1 through 7 (of 7 total)