Forums > MaxMSP

Toggle one number to trigger two different messages. Please HELP!!!

Feb 08 2011 | 2:36 pm

I am using a wii remote for a project using samples. I would like to start and stop the sample with one button. This button outputs 256 and 0 so i have used select to eliminate the 0 as 256 is the number that will toggle each message. I’m not sure if it’s my brain turning to mush but can someone please help me figure out a way to do this?

It sounds simple enough, the first time i press the button ‘startloop’ will get a bang, the second time i press the button ‘stop’ will get a bang instead.

Here is a mini patch i’ve had a go at but as you can see it’s almost there but I still need some help. My main patch is at the bottom is you think looking at it can help.



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

Main Patch:

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

Feb 08 2011 | 3:34 pm

you can probably figure this out on your own, but your minipatch makes it look like you’re just getting more confused so to get back on track, there ya go:

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

*Never fear, Noob4Life was never here!*

Feb 15 2011 | 2:35 pm

thanks for the reply. I didn’t know about togedge object so i was trying to use what i knew to make it. Thanks for the reply this has been a great help.

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

Forums > MaxMSP