Recherche Google
OpenMusic 6 – User ManualAdvanced Visual Programming > Iterations: OMLOOP > General Features
previous pagenext page

General Features

The OMLoop module is a specific type of abstraction – or patch. It encloses a number of specialized components, which allow to program various iterative programs. Programming takes place in the internal editor of OMLoop.

OMLoop Editor and Components

Editor

To open the OMLoop editor, double click on the OMLoop box.

The OMLoop editor resembles a patch editor.
The OMLoop editor resembles a patch editor.
Components

OMLoop provides three types of programming components :

  • iterators : determine and stop the iteration process.
  • accumulators : gather the result at each step of the iteration in the ongoing process until the iteration is over.
  • evaluators : trigger the evaluation and return the results, at each step or at the end of the iteration. Evaluators are essential components which are displayed by default in the editor.

Iterators and accumulators are visible at the top of the OMLoop editor and can be added with a click. The choice of iterators and accumulators depends on the iteration program. Evaluators are added by default in the editor.

Adding Inputs and Outputs

Initially, the OMLoop box has only one output and no input : programming can be done without the use of external data, like with a patch, Additional outputs and inputs can be added using the following procedures :

Inputs

Inputs return incoming data to the programming functions of OMLoop.

To add or delete inputs :

  • press Alt or
  • press SHIFT +  > or <.

The inputs appear inside the module, just like in an abstraction.

The OMLoop editor shows additional inputs, as well as a number of default internal components.
The OMLoop editor shows additional inputs, as well as a number of default internal components.
Note

Inputs can't be added or deleted from inside the loop.

Outputs

The finally evaluator represents the visible output of OMLoop. It returns the results of the iteration. Outputs can therefore be added and deleted by adding or deleting optional inputs to and from Finally.

To add or delete inputs to Finally :

  • press Alt + or
  • press SHIFT + > or < .

Outputs also represented on the OMLoop icon once added :

About Evaluators :
About Evaluation
  • OMLoop can't be evaluated from the inside. It will be ineffective until its internal program is defined correctly.
  • Do not evaluate it before it is completed : an infinite loop might get OM stuck until 500 000 loops are completed...
previous pagenext page
About...(c) Ircam - Centre PompidouMade with Scenari