OpenMusic

Visual Programming | Computer-Assisted Composition

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

  1. “text” : the button appellation

  2. “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

References :

Contents :

Navigation : Previous | Next