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

marcus's icon

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.

Thanks

Max Patch
Copy patch and select New From Clipboard in Max.

Marcus

Max Patch
Copy patch and select New From Clipboard in Max.

Main Patch:

Noob4Life's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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:

________________________________
*Never fear, Noob4Life was never here!*

marcus's icon

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.