Navigation : Previous | Next |
Triggering Operations : The Button Box
Button boxes are used for triggering operations. They don’t return anything.
When the button is pressed, an action is executed.
Features
The button box has two inputs
-
“text” : the button text
-
“action” : is simply evaluated, and evaluates upstream connected boxes.
When the button is pushed, the Listener displays the value returned by the box connected to the second input.
Reminder:
Displaying and Editing the Button Box Interface:
A Basic Example
Any box or part of a patch to be evaluated by pushing the button can be connected to the second input.
A Musical Application : an Extended Example
Building a Triad with an Item-List-Box, a Button-Box, and a Check Box:
Contents :
- OpenMusic Documentation
- OM User Manual
- OpenMusic QuickStart
Navigation : Previous | Next |