Forums > MaxMSP

Attempt at a multi-function button…


ASW
October 8, 2012 | 7:23 pm

I searched the forum looking for anything that might pertain here, but I’m not sure how to phrase this, so here goes…
I am trying to make a multi-function button on my launchpad. I’ve attached what I have come up with so far. This patch works save one issue. The first time you press one of the assigned buttons after the patch loads the counter does not increment. Am I totally on the wrong track here or am I just missing something small? Any help would be appreciated. Thanks.

– Pasted Max Patch, click to expand. –

October 8, 2012 | 8:11 pm

counter will count over the range that it is set to count. In your case, it is 0-2, so the first count would be 0, the second count 1, and the third count 2.

If you want the first count to be 1, you can either change your range to 1-3 or set the next count to be 1 on load:

– Pasted Max Patch, click to expand. –


ASW
October 8, 2012 | 9:48 pm

Thanks for the help Chris. I’m still trying to wrap my head around weather using the counter object is my best bet, but I now have a handle on how it works, thanks!


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