ArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2014-03-30T13:09:45+02:00 https://brainmodular.org/forums/app.php/feed/topic/4337 2014-03-30T13:09:45+02:00 2014-03-30T13:09:45+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29243#p29243 <![CDATA[Toggle input data values]]>
I will use this for other times I need write:

if(foo == bar){
// do something
} else {
// do something else
}

Sorry if this was a basic question, but I tried many things - some of these "logic" loops are not so obvious in Usine - but once an example has been given it should be easy.

Statistics: Posted by niggles — 30 Mar 2014, 13:09


]]>
2014-03-30T11:54:40+02:00 2014-03-30T11:54:40+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29241#p29241 <![CDATA[Toggle input data values]]>
now, if you want the knob be updated too, you have to link it this way
Download

Statistics: Posted by nay-seven — 30 Mar 2014, 11:54


]]>
2014-03-30T11:12:40+02:00 2014-03-30T11:12:40+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29240#p29240 <![CDATA[Toggle input data values]]> Statistics: Posted by niggles — 30 Mar 2014, 11:12


]]>
2014-03-30T10:44:47+02:00 2014-03-30T10:44:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29239#p29239 <![CDATA[Toggle input data values]]> if switch On the knob is the master, if OFF a constant is used..?
so here a way:
Download

Statistics: Posted by nay-seven — 30 Mar 2014, 10:44


]]>
2014-03-30T05:36:38+02:00 2014-03-30T05:36:38+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29238#p29238 <![CDATA[Toggle input data values]]>
Am a bit stuck trying to toggle between 2 sets of a data for an input.

I would like to use a switch which either:

* sends a specific value (constant) to a knob when the switch changes from 0 => 1

* allows the knob to act as normal when the switch changes from 1 => 0

In the uploaded patch, it always seems to be sending the constant value. So I guess I'm trying to write an "if" statement, but not really sure how to achieve it.

Thanks,
Niggles

Statistics: Posted by niggles — 30 Mar 2014, 05:36


]]>
BrainModular BrainModular Users Forum 2014-03-30T13:09:45+02:00 https://brainmodular.org/forums/app.php/feed/topic/4337 2014-03-30T13:09:45+02:00 2014-03-30T13:09:45+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29243#p29243 <![CDATA[Toggle input data values]]>
I will use this for other times I need write:

if(foo == bar){
// do something
} else {
// do something else
}

Sorry if this was a basic question, but I tried many things - some of these "logic" loops are not so obvious in Usine - but once an example has been given it should be easy.

Statistics: Posted by niggles — 30 Mar 2014, 13:09


]]>
2014-03-30T11:54:40+02:00 2014-03-30T11:54:40+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29241#p29241 <![CDATA[Toggle input data values]]>
now, if you want the knob be updated too, you have to link it this way
Download

Statistics: Posted by nay-seven — 30 Mar 2014, 11:54


]]>
2014-03-30T11:12:40+02:00 2014-03-30T11:12:40+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29240#p29240 <![CDATA[Toggle input data values]]> Statistics: Posted by niggles — 30 Mar 2014, 11:12


]]>
2014-03-30T10:44:47+02:00 2014-03-30T10:44:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29239#p29239 <![CDATA[Toggle input data values]]> if switch On the knob is the master, if OFF a constant is used..?
so here a way:
Download

Statistics: Posted by nay-seven — 30 Mar 2014, 10:44


]]>
2014-03-30T05:36:38+02:00 2014-03-30T05:36:38+02:00 https://brainmodular.org/forums/viewtopic.php?t=4337&p=29238#p29238 <![CDATA[Toggle input data values]]>
Am a bit stuck trying to toggle between 2 sets of a data for an input.

I would like to use a switch which either:

* sends a specific value (constant) to a knob when the switch changes from 0 => 1

* allows the knob to act as normal when the switch changes from 1 => 0

In the uploaded patch, it always seems to be sending the constant value. So I guess I'm trying to write an "if" statement, but not really sure how to achieve it.

Thanks,
Niggles

Statistics: Posted by niggles — 30 Mar 2014, 05:36


]]>