So you guys probably already know this but its something that I just figured out and thought I would share a trick I thought was kinda cool.
When it comes to LEDs in TouchOSC, its easy to make them come on by assigning them to a button but what if you want to use the SAME button to turn it off? Take for example a record button. I have a button for record that has an LED attached to it so when I hit it,the LED lights and tells me Im recording. But when I hit it again to come out of record, the LED is still lit. How to make it go off when hitting the record button a second time? By using the /visible tag.
Duplicate the record button in TouchOSC and send it to the back. Now you have two buttons in the same place, one in front of the other.
In Osculator you can then use the /visible tag to show and hide the buttons respectively and alternate between them. Giving one an on value for the LED and the other an off value for the LED.
If anybody wants I can attaché an example TouchOSC and OSculator.
When it comes to LEDs in TouchOSC, its easy to make them come on by assigning them to a button but what if you want to use the SAME button to turn it off? Take for example a record button. I have a button for record that has an LED attached to it so when I hit it,the LED lights and tells me Im recording. But when I hit it again to come out of record, the LED is still lit. How to make it go off when hitting the record button a second time? By using the /visible tag.
Duplicate the record button in TouchOSC and send it to the back. Now you have two buttons in the same place, one in front of the other.
In Osculator you can then use the /visible tag to show and hide the buttons respectively and alternate between them. Giving one an on value for the LED and the other an off value for the LED.
If anybody wants I can attaché an example TouchOSC and OSculator.
Comment