Hi,
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
Toggle input data values
-
niggles
- Member
- Posts: 32
- Location: Melbourne Australia
- Contact:
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com
-
niggles
- Member
- Posts: 32
- Location: Melbourne Australia
- Contact:
I tried your patch but clicking the knob doesn't seem to send a new value - the wet fader stays the same.
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com
-
niggles
- Member
- Posts: 32
- Location: Melbourne Australia
- Contact:
Excellent - thanks!
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.
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.
Digital Director & Programmer by Day | Musician By Night
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com
iMac Core I7 | Usine | Logic | Leap Motion (loving it)
http://www.tribe404.com
