A synchronizer is a type of construct used to govern how a block selects elements. There are many types of synchronizers, each with their own selection technique.
Creating a synchronizer[link]
Synchronizers are created using the
[sync] function. It also has a short name,
A simple example of a synchronizer is one which syncs the selection of two different blocks.
Even though the two blocks above are separate, the
[sync] function forces them to choose the same element number;
because of this, the pattern has only two possible outputs:
Selects an independently random element. This is the default behavior of blocks.
The block will execute elements in left-to-right order, beginning with the first element. Once the last element is used, it starts at the first one again.
The block will execute elements in right-to-left order, beginning with the last element. Once the first element is used, it starts at the last one again.
Elements are shuffled randomly and executed in the shuffled order. Once all elements are used, they are shuffled again.
Elements are shuffled randomly and executed in the shuffled order. Elements are never reshuffled.
Also known as "cyclic deck".
An element number is chosen at random and the block will only select that one.
Starting at the first item, iterates through all elements in order and then reverses without repeating boundary elements.
Starting at the last item, iterates through all elements backwards and then reverses without repeating boundary elements.
The same item is never chosen twice in a row, as long as the block has two or more items.