Data Generator Random Pattern Array (SCRIPT)

Generates several random array's of 0 or 1

Typically can be connected to the values inlet of a sequenced-switches module to create a random pattern.

You can dbl-click on the script to open it and change the number in the line const NB-ARRAY-OUT = 3; to choose the number of array outs.

Settings

array len

Length of the generated array.

generate

Generates a new random array.

density

Probabilistic occurrence of the value '1' in the array. In %.

From

  • 0: the array is totally filled with '0'
  • 0.5: then array is statistically filled with '0' and '1'
  • 1: the array is totally filled with '1'.

array out

Array output flow(s).

See also

version 5.2.221206

Edit All Pages