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.
To add a
Temporalbox instance in a patch,
TemporalBox instances must then be assigned required values, such as a position, a value, a duration, and so on.
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 :
Cmdclick and type "addbox2maquette"
Functions, OMKernel, Maquette / Addbox2maquette.
To add a TemporalBox with the addbox2maquette function :
connect the "self" output of a TemporalBox instance to the "self" input of the function
connect the "self" output of the maquette box to the "maquette" input of the function
evaluate the function.
The parameters assigned to the TemporalBox instance are expressed by the graphic position of the TemporalBox.
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.
A TemporalBox instance is an actual program, which can :
This patch adds three objects in a maquette :
a chord, via a "reference" input
another chord, via a "value" input
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.
The object connected to the "value" input becomes the value of this box. This result is updated at each evaluation of the box's program in the maquette.
The object connected to the "reference" input becomes a permanent reference for the TemporalBox in the maquette.