Toggle Query

Apr 12, 2010 at 3:30pm

Toggle Query

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!!

#49696
Apr 12, 2010 at 3:47pm

Hello maxer,

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

HTH.

#178474
Apr 12, 2010 at 3:52pm

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

#178475
Apr 12, 2010 at 3:56pm

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!

#178476
Apr 12, 2010 at 4:21pm

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]

#178477
Apr 12, 2010 at 7:08pm
– Pasted Max Patch, click to expand. –
#178478
Apr 13, 2010 at 8:35am

Hello maxers,

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

– Pasted Max Patch, click to expand. –
#178479

You must be logged in to reply to this topic.