OpenMusic

Visual Programming | Computer-Assisted Composition

Navigation : Previous | Next

ci a ete desactive. Certaines fonctionnalites de ce guide sont restreintes.

Reference Mode : Adding TemporalBoxes in a Maquette

Before a TemporalBox is added in a maquette on “reference” mode, this box must be created in a patch as a TemporalBox instance. Several functions can then be used for adding, accessing, deleting a TemporalBox from a maquette.

Creating a Temporalbox Instance in a Patch

To add a ** Temporalbox instance** in a patch, Cmd click and type “temporalbox”, or select Classes / OMKernel / Maquette / TEMPORALBOX.

TemporalBox instances must then be assigned required values, such as a position, a value, a duration, and so on.

—|—

Addbox2maquette Function

Functionalities

The ** addbox2maquette function** allows to add one or more TemporalBoxes in a maquette from a patch.

—|—

The addbox2maquette function as two inputs and one input :

—|—

To add the addbox2maquette function :

Procedure

To add a TemporalBox with the addbox2maquette function :

  1. connect the “self” output of a TemporalBox instance to the “self” input of the function

  2. connect the “self” output of the maquette box to the “maquette” input of the function

  3. evaluate the function.

The parameters assigned to the TemporalBox instance are expressed by the graphic position of the TemporalBox.

The TemporalBox is assigned a temporal and a vertical
position.

The TemporalBox is assigned a temporal and a vertical position.

Other Parameters

Of course, many other parameters and more or less sophisticated interactions between those parameters - for instance, position / colour / pitch - can be at stake in the maquette’s program.

Programming with Parametric Interaction

Reference and Value Inputs of the TemporalBox

A TemporalBox instance is an actual program, which can :

Adding Objects with the “Value” and “Reference” Inputs of a Temporalbox Instance

This patch adds three objects in a maquette :

  1. a chord, via a “reference” input

  2. another chord, via a “value” input

  3. a patch with a chord for musical value,via a “reference” input.

Addbox2maquette has been evaluated, but the TemporalBoxes have not been evaluated yet.

—|—

The TemporalBoxes content shows a chord instance, an empty patch and a patch producing a musical value.

The TemporalBoxes have been evaluated. Their content has not changed.

—|—

“Value” vs. “Reference” Input

References :

Contents :

Navigation : Previous | Next