Data Generator Pattern

Generates arrays from mathematical formulas. Creates lookup tables, waveshapes, and mapping curves procedurally. The output array is regenerated whenever a parameter changes. Useful for filling sequencer patterns, building wavetables, or generating test signals.

Settings

out

Generated array output. The first element is the start of the pattern and the last element its end, for example:

pattern = ramp up, size = 5, min = 0, max = 1
out = [0, 0.25, 0.5, 0.75, 1]

pattern

Pattern type to generate:

  • sine: sine wave, starting at the middle value.
  • cosine: cosine wave, starting at max.
  • triangle: triangle wave, starting at the middle value and rising.
  • sawtooth: sawtooth wave (ascending ramp).
  • square: square wave, max during the first half of each cycle.
  • gaussian: Gaussian bell curve centered at the midpoint.
  • noise: random values, drawn again each time a parameter changes.
  • ramp up: linear ramp from min to max.
  • ramp down: linear ramp from max to min.
  • constant: all values set to min + param x (max - min).

size

Number of elements in the generated array (1 to 65536, default 256).

min

Minimum value of the output.

max

Maximum value of the output.

min defaults to 0 and max to 1; if min is greater than max, the two values are swapped.

param

Pattern parameter, from 0.1 to 100 (log scale, default 1). Its meaning depends on the selected pattern:

  • For wave patterns (sine, cosine, triangle, sawtooth, square): number of cycles in the array.
  • For gaussian: bell curve width, the standard deviation is param / 10 of the array length.
  • For constant: the position of the value between min and max (1 gives max).
  • Not used by noise, ramp up and ramp down.
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. When it is not empty, it is shown as the hint of the module (mouse over the module header in the patch) in place of the default module hint, even when the module hints are disabled.

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

Edit All Pages