DH_Array

Provides memory storage and retrieval of numeric values by index.
Download

DH_Array Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • David Haupt
  • Operating Systems:
  • Windows All
  • File Size:
  • 65 KB

DH_Array Tags


DH_Array Description

This SynthEdit module Provides memory storage and retrieval of numeric values by index. Values can optionally be saved to a text file when the module closes, and loaded from a text file when the module opens, to provide persistent storage, or to pre-load the array with a predefined set of values. Inputs: Input - Value to be stored Index In - Selects a slot using values from 0 to the Array Size - 1. Index input is rounded to the nearest integer. Write - Writes the Input value to the currently indexed slot when set positive. File Name - Should be used to give the module's data file a unique name if a file is used. Clear - Resets all slots to 0 and deletes the saved file if any. I suggest connecting a Voltage to List to it, and applying a pulse from a momentary contact button or other source to the Voltage to List's input to clear the memory. Outputs: Output - Provides the value of the currently indexed slot. Index Out - Provides the integer value of the current index. Parameters: (right-click Properties) Array Size - Sets the number of slots. Note that the index numbers start at 0, so the highest index will be 1 less than the Array Size. Use File? - Selects whether or not values will be saved to and loaded from a text file. Text File Format: The module's memory can be preloaded by providing a text file with the desired numeric values, separated by spaces, tabs, commas, or new lines. The values are read in from left to right, top to bottom, just as you would read English language text. Saving as VST: If you want the array to be preloaded from a text file when your VST is opened, do the following: Put the file in your SynthEdit folder. Use just the filename, without a path, in the module's File Name field. When you save as VST, go to the Embedded Files tab, and Add the file. The file will then be unloaded into the directory that the VST creates for its .sep/.sem modules, and DH_Array will find it there.


DH_Array Related Software