Returns the current loop index, total iteration count, and a start trigger for the enclosing procedure. Place this module inside a procedure's patch to know which iteration is currently being processed.
This module also works when placed inside a sub-patch nested within a procedure — it walks up the patch hierarchy to find the parent procedure's loop state.
Current loop index (integer), starting at 0. On the first iteration, out = 0; on the second, out = 1; and so on up to total - 1.
Total number of iterations as set by the procedure-call loop count parameter.
Sends a trigger (1) on the first iteration only (when out = 0), then 0 on all subsequent iterations. Useful for one-time initializations at the start of a procedure execution — for example, clearing an array before filling it in a loop.
Out returns 0 outside a procedure If this module is placed in a regular patch (not inside a procedure), all outputs stay at 0. The module does not produce an error, but the values are meaningless. Always place it inside a procedure patch or a sub-patch nested within one.
Out is zero-based The loop index starts at 0, not 1. For a loop count of 10, out goes from 0 to 9. If you use out as an array index this is usually what you want, but if you display it to the user or use it as a 1-based counter, add 1.
Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.
For more details about information/help creation, see create-help-file.
Free multi-line text attached to the module, saved with the patch. It is only meant as an internal note for the patch designer: it is not displayed in the interface.
visible only in god mode, see setup-panel-tab-expert.
Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).
Read-only, not saved. Private ID used to store and recall the values of this control in presets.
Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.
Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.
Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.
Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.
version 7.0.250121
Edit All Pages