Page 1 of 1
Posted: 28 Jan 2009, 00:59
by 23fx23
I d liket to make two A - B buttons for crossfader that should be dependant ( A or B or none)
when I press A, B shoud go off, if I press B, a should go off, and If I press the active one it should go back to 0.
any idea of how i could do that? It seems a simple thing but im turning around.... if i put inputs that drive the switch then I can't act on them to change,.. should I deal with pannels and separate visual feedback from sending or it s possible do do that with switch
(kind of listbox, but when re-pressing it can turn off)..
Posted: 28 Jan 2009, 11:01
by martignasse
hi 23fx23,
do you mean something like this?

(B pin of the two OR modules are set to 0)
Hope it help
Posted: 28 Jan 2009, 12:44
by nay-seven
well done martignasse , gone to add this to my "utils" dir patch...

Posted: 28 Jan 2009, 13:03
by 23fx23
yeah great man this is exactly what I want, so let's try to understand; I had found a soulution with panels but yours is so much more elegant, thanks!!!!
Posted: 28 Jan 2009, 13:52
by martignasse
'it's just' a part of the Tabbed panel example...
that's why when a saw your question, i say to myself...it remind me something
and here it is
cool this make your day
Posted: 28 Jan 2009, 20:40
by artificial
hey, today i wanted to post the same question!!! hehe
but i have a question, is it possible to do the same with more switches (5 for example)?? sorta radio buttons or something... ???
thanks in advance
art.
Posted: 29 Jan 2009, 00:13
by 23fx23
Ive tried to make with 5 switch:
this might not be the only/best solution but this seems to work well for 2-15 switches.
each switch will output 2-3-4-5-6 to the selector that keep the last pressed switch number and send back to the dispatcher that have "set to 0" enabled, so it will switch off all the others, (add constant 1 on input).ps( I don't use input 1 because it will be the defaut output when switch are off, that's also why it's need to start from 2 , for the selector to select the 2nd , bref...not use 1.) taken from a bsork advice
hope it can be usefull...
Posted: 29 Jan 2009, 07:25
by artificial
thanks for your work!!!
I'm gonna check it out in the afternoon!!
bye and thanks again!!
art.
Posted: 30 Jan 2009, 01:24
by Clearscreen
i've posted a different tab method in the others section that uses this method for switching, but i've used a multi-variable instead of the 'or', 'not' and 'and' logic units. hope it's helpful

Posted: 10 Feb 2009, 10:33
by artificial
Hello everybody again!!
I have a short question:
I have 4 a - b toggle buttons. Furthermore, I have 4 XY-Pads which are laying one upon the other… I would love to do this scenario:
I click on toggle button 1 and the XY-Pad No 1 comes to the fore, when I click on button 2, XY Pad No 2 should be in the foreground (as they are laying one upon the other, there should just be the activated xy-pad visible…) the same for toggle button 3 and 4…
Okay, so, how could I do this??? I mean, the buttons work, but how to get the certain xy-pads to come to the fore???
Thanks guys!!!
Art.
Posted: 10 Feb 2009, 13:28
by 23fx23
try to watch the tabed pannel exemple in add ons by clearscreen and martignasse, this will allow you to do that by animating visibility of subpatches., (also clearscreen multivar setup inside of it is better than my upper solution).
Posted: 10 Feb 2009, 14:02
by artificial
ah.. thanks, but i just found a way for myself (though it's not an "elegant" way, but yeah it works... slowly i get into it a bit hehe) ... but i'm going to check the tabbed panel... ^^
cheers
art.