simple A -B toggle buttons
-
23fx23
- Member
- Posts: 2545
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)..
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)..
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
hi 23fx23,
do you mean something like this?

(B pin of the two OR modules are set to 0)
Hope it help
do you mean something like this?

(B pin of the two OR modules are set to 0)
Hope it help
Martin FLEURENT - Usine Developer - SDK maintainer
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
well done martignasse , gone to add this to my "utils" dir patch...
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
'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
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
Martin FLEURENT - Usine Developer - SDK maintainer
-
artificial
- Member
- Posts: 87
- Location: Austria
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.
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.
-
23fx23
- Member
- Posts: 2545

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...
-
artificial
- Member
- Posts: 87
- Location: Austria
thanks for your work!!!
I'm gonna check it out in the afternoon!!
bye and thanks again!!
art.
I'm gonna check it out in the afternoon!!
bye and thanks again!!
art.
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
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 helpfulmartignasse wrote:hi 23fx23,
do you mean something like this?
http://mfleurent.free.fr/usine/Usine_two_switch.jpg
(B pin of the two OR modules are set to 0)
Hope it help
-
artificial
- Member
- Posts: 87
- Location: Austria
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.
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.
-
artificial
- Member
- Posts: 87
- Location: Austria
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.
cheers
art.
