OpenMusic

Visual Programming | Computer-Assisted Composition

OpenMusic Reference

Prev| | Next


loopdo (eachTime)

loopdo (eachTime)

(control module) -- activated at each repetition of omloop except the last

Syntax

loopdo patch &rest oppatch

Note

Though it is called loopdo in its LISP code, this function appears as eachTime when used inside omloop . The reason eludes me.

—|—

Inputs

name data type(s) comments
patch any  
oppatch any repeatable; allows multiple iterators to be triggered

Output

None.

Description

Note

loopdo is part of a group of functions for performing iterative loops. They can only be used within an omloop patch window. Since they only function within the context of the entire repeating loop, they (or any function connected to them) cannot be evaluated directly within the patch window. You must evaluate the entire loop. See the entry on omloop for more information.

—|—

loopdo is part of the omloop patch window. It is vital to the correct operation of the loop and cannot be deleted. loopdo will evaluate whatever is connected to it on each repetition of the loop except the last. It is usually connected to the first output of a collector to trigger in order that some sort of calculation be made on each repetition of the loop.


Prev Home Next
accumulator Up finaldo (finally)