Recherche Google
OpenMusic 6 – User ManualAdvanced Visual Programming > Iterations: OMLOOP > Iterators > Iterators and Infinite Loops
previous pagenext page

Iterators and Infinite Loops

If no iterator is used or if an iterator is used the wrong way, OMLoop gets stuck and potentially goes on forever.

Example : Generating Numbers

We want to generate four random numbers between 1 and 4.

Instead of using forloop to define the number of steps of the iteration, we have used repeat-n : OMLoop will never end and generate four random numbers an infinite number of times...

Abort Procedures

Abort Dialogue Window

An abort dialogue window pops up after 500 000 loops. To stop the iteration, choose Abort, unless you have planned a very long iteration...

Abort Command

Type Cmd + SHIFT + a to abort the ongoing calculation. OM can keep on running.

previous pagenext page
About...(c) Ircam - Centre PompidouMade with Scenari