Dumb Question


    Apr 28 2006 | 12:36 am
    Hello everyone,
    I'm stuck on something that I really can't get my head round. How do you make toggles that when one is pressed the other turns off and vice versa.
    This sounds really dopey, but in the patch below when the patcher is loaded and you click toggle 2 on/off (doesn't affect the other switch). It works fine. Then when you click that same one on again and then lick toggle 1 it turns toggle 2 off. When you click 2 off, then on again 1 comes on aswell, hope do you stop it?
    I think it needs to work like a two switch light circuit, with two switches in paralell, but how do you make that in Max?
    Any help would be grately appreciated,
    Jay

    • Apr 28 2006 | 12:55 am
      Here's one way...
      Eric Honour
      ------------------- Associate Professor of Music Composition and Music Technology Central Missouri State University
    • Apr 28 2006 | 12:58 am
      This'll do it.
      wes
    • Apr 28 2006 | 1:25 am
      Sorry... after re-reading the post, I realized you wanted to be able to click either toggle. The patch I posted won't do that; the one Wesley Smith posted will.
      Eric Honour
      ------------------- Associate Professor of Music Composition and Music Technology Central Missouri State University
    • Apr 28 2006 | 1:57 am
      Cheers guys!
    • Apr 28 2006 | 4:46 am
      one more solution!
    • Apr 28 2006 | 11:06 am
      my mail: ruifsmcaldas@gmail.com
    • Apr 28 2006 | 7:27 pm
      or you could use radio buttons (what an anachronistic term!). But you want to use two binary objects to create what is still a two-state system. Unless you want to _see_ two checkboxes, then why not just use a single checkbox?