Forums > MaxMSP

how to compute 3 values with 2 bangs???

December 17, 2010 | 5:07 pm

Hi all,

i want to get 3 different values from the behavior pattern of 2 bangs. Example:

bang1 only = 1
bang2 only = 2
bang1 and bang2 at same time = 3

Would be great if someone knows how to write an expression on or knows an object that can do it. Any ideas?


December 17, 2010 | 5:24 pm

Hello philizki,

bang1 and bang2 at same time …

what do you mean by same time ? less than 10 ms ? less than 1 second ? 1 hour ?

– Pasted Max Patch, click to expand. –

December 17, 2010 | 5:35 pm

the 2 bangs will be triggered by the same midi cc signal. in this case they will trigger at the exactly same time. Your patch is exactly what i need. This was fast help! : D Thank you very much.

Best

Phil


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