Forums > MaxMSP

How can i toggle between umenu presets using only 1 button?

Dec 10 2011 | 12:53 am

I’m new to Max and this is probably really simple, but i want to use 1 button on my wiimote to move through three different samples in umenu, and then start from the beginning again. Been staring at the screen for ages. Help!

Dec 10 2011 | 1:56 am

Try using a counter object? You could use the button to trigger a bang and that way the counter object will wrap around from the end back to the beginning. Set the maximum as 2, that way it will output 0 then 1 then 2 then 0 then 1 then… you get idea.

Dec 10 2011 | 2:18 am

Thanks, that worked a treat. I thought it would be simple but i’m a total beginner at this..

Dec 10 2011 | 2:51 am

No worries! It’s the simplest problems that I get the most stuck on often. Can’t see the forest for the trees!

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

Forums > MaxMSP