Forums > MaxMSP

Toggle Query

April 12, 2010 | 3:30 pm

was wondering if it is possible that When a toggle is turned on the first time that it can control one thing and then when it is turned on for a second time that it will control something else, the same toggle by the way!!


April 12, 2010 | 3:47 pm

Hello maxer,

[toggle] -> [sel 1] -> [counter] -> [% 2] -> [sel 0 1] ???

HTH.


April 12, 2010 | 3:52 pm

no that turns either both of them on or none at all! could just be me though and i didnt understand properly!!


April 12, 2010 | 3:56 pm

im tryin to get the toggle to turn one thing on and when the toggle is turned off it will turn off whatever was on, then i want the same toggle to turn something else on and off again!


April 12, 2010 | 4:21 pm

Hello maxer,

i don’t have max/MSP on this computer … so i can’t post a patch …

[toggle]
!
[t b]
!
[counter]
!
[% 4]
!
[sel 0 1 2 3]
! ! ———- ! !
[toggle] [toggle]


April 12, 2010 | 7:08 pm
– Pasted Max Patch, click to expand. –

April 13, 2010 | 8:35 am

Hello maxers,

that’s it (even if Chris Muir’s patch is nice too !) :

– Pasted Max Patch, click to expand. –

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