Forums > MaxMSP

simple math problem (add)

March 22, 2010 | 2:46 pm

hi..
i need help on addition
lets say i have a numbox with value 0

i now want to add 12 with a button press so the numbox says 12.. and then when i press the button again it should add 12 to 12 so the numbox says 24 then 36 and so on…

thank you very much


March 22, 2010 | 2:52 pm

You’ll need exactly 1 object, in addition to the button, ‘+’ and number box objects. Hint: its name can be abbreviated to a single letter…

Jeremy


March 22, 2010 | 3:13 pm

i? f?

i still cant get the connection right
i think ill just use a umenu now^^


March 22, 2010 | 3:15 pm

This better not be homework.

Jeremy

– Pasted Max Patch, click to expand. –

March 22, 2010 | 3:15 pm

try this

– Pasted Max Patch, click to expand. –

Brendan


March 22, 2010 | 3:25 pm

thank you guys.

no its not homework^^

it will be a midi octave shifter for my launchpad


March 22, 2010 | 7:37 pm

i dont know what others have suggested, but how about [incdec]


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