Forums > MaxMSP

How to differenciate the way a number is controlled ?

Apr 01 2011 | 3:40 pm

I would like to block a message when a number is changed with its inlet but let the message go through when it is changed with the mouse.
Is there a way to do this ?
I have tried ubutton and mousestate but it doesn’t really work the way I want.
Would really appreciate if someone has an idea. I’m stuck.
Here is a simple patch :

-- Pasted Max Patch, click to expand. --

Apr 01 2011 | 3:49 pm

You can send the message ‘set x’ to a number box to set its value (to x) without triggering any output.

Apr 01 2011 | 3:58 pm

Thanks for your answer.
The thing is other parts of the patch use the ints sent from this number, so I can’t just display them with the set message.

Apr 01 2011 | 4:17 pm

Thanks a lot.
Actually the set message was my solution, with a parallel set of sends / receives.

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

Forums > MaxMSP