Array Difference Array Out

Detects all elements that changed in an array since the last processing block, and outputs all changes at once as arrays. Unlike array-difference which outputs one change per block, this module reports every change simultaneously.

previous array = [1, 2, 3, 4]
new array      = [1, 5, 3, 9]

number of changes = 2
indexes    = [1, 3]
old values = [2, 4]
new values = [5, 9]

Settings

array in

Array input flow(s).

number of changes

Number of elements that have changed in the array (equals the size of the indexes output).

indexes

Array containing the indexes (positions) of all changed elements.

old values

Array containing the previous values at the indexes positions (before they changed).

new values

Array containing the current values at the indexes positions (after they changed).

changed

Returns 1 if the array has changed, 0 otherwise.

Common Settings

info

show manual

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.

description

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.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

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).

preset ID

Read-only, not saved. Private ID used to store and recall the values of this control in presets.

recreate ID

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.

Object Remote Address

absolute

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.

local

Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.

user addr

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.

See also

version 7.0.250121

Edit All Pages