OpenMusic

Visual Programming | Computer-Assisted Composition

Navigation : Previous | Next

Connections

A connection is a link between the outlet of a box and the inlet of another box. It means that the value of the downstream box inlet will be the result of the upstream box computation.

The connections define the functional composition, that is the syntax of a visual program.

Creating and modifying connections

Creating a connection

A connection is created by clicking on a box output and drag the mouse cursor to the input of another box.

—|—

Modifying a connection

Connections can be selected and modified as well :

—|—

Deleting a connection

To delete a connection

Syntactic Relevance

When boxes are being connected to each other, OM applies syntactic rules, so that the connection may be rejected. This includes :

Preventing Cycles

One of the inputs of the om* box is connected to the om+ box. Om* will then need to know the result returned by om+ to perform its computation. In this case, OM “refuses” to connect the result of the multiplication to the inlet of the addition, as shown in the Listener.

References :

Contents :

Navigation : Previous | Next