Forums > MaxMSP

finding the incdec object not very useful

October 20, 2009 | 3:56 pm

Hi,

I’m trying to use incdec for a simple function in which I want to cycle through numbers 1 through 8. I want to be able to climb up in such a fashion: …, 7, 8, 1, 2… and down: …, 2, 1, 8, 7… not at any regular interval but when I manually trigger it.

This seems like the kind of thing incdec was made for but I’m having an extremely hard time getting it to do just this (though come close using %). Am I trying to use incdec for something other than its intended purpose? Is there a better way to do what I want?

Help!


October 20, 2009 | 5:50 pm

thanks for this thread, you inadvertently solved a problem i was having!


October 20, 2009 | 7:58 pm

Thanks! Exactly what I needed.


March 3, 2014 | 7:03 pm

just bumped at this same problem.

this is the workaround to get wrap mode working I came up with.

<code>

– Pasted Max Patch, click to expand. –

</code>

it’s an old thread, but, maybe its useful for someone still…


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