Contents



DH_PatchArray-Float

Next

Function:

Stores and retrieves numeric values by index, with separate indexes for read and write. Values are saved in patch storage in one of two modes:

  • Global mode saves a single array that does not change when the patch is changed.
     

  • Per Patch mode provides a separate array for each patch.


Left-hand side pins:

Input  - Value to be stored

Read Index - Selects the output slot. Index input is rounded to the nearest integer.

Write Index - Selects the slot to which the Input value will be written. Index input is rounded to the nearest integer.

Write - Writes the Input value to the currently indexed slot on a TRUE to FALSE change.
 
Clear - Resets all slots to 0.

Output - Provides the value of the slot currently indexed by the Read Index.
 

Right-hand side pin:

Output - Provides the value of the slot currently indexed by the Read Index.
 

Parameters: (right-click Properties)

Mode - Global or Per Patch, as described above under Function.

Notes:

The module allocates working memory for the array as needed. The amount of data that can be saved in patch storage is limited, however, to the equivalent of 1000 characters. A message box is displayed when the limit is exceeded, and the excess is not saved.

top

Next