Welcome to %s forums

BrainModular Users Forum

Login Register

If...then...else

I need help on a Patch
Post Reply
User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 05 Feb 2009, 16:19

I need to do something very simple but i can't find an easy way to do that !!!! :

IF A = 1 (switch ON) SEND 2
IF A = 0 (switch OFF) SEND 0

so simple .... but i need help for that, because i can't find a module that send an integer if the condition is true, and an other one if the condition is false ...
Perhap's there is no easy way and i need to build a patch for that ?

thank you

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 05 Feb 2009, 16:37

I would symply put after the switch "A*B" where B = 2 so at the output of the A*B you get 2 when sw is on and 0 when it's off.
If you need a send comand then use a "pass if change" after that.

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 05 Feb 2009, 22:52

Oh !!! So simple !!! So logical !!! But i didn't think about it ....
Thank you very much.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests