DH_Queue2

Provides memory storage and retrieval of numeric values
Download

DH_Queue2 Ranking & Summary

Advertisement

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

DH_Queue2 Tags


DH_Queue2 Description

This SynthEdit module provides memory storage and retrieval of numeric values organized as a fixed-length FIFO queue. Once the queue is full, values move through in lock-step. When a value is added at the back, one comes off of the front. 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 queue with a predefined set of values. Inputs: Input - Value to be stored Next - Moves all values forward one step in the queue, discarding the value currently at the front, and writes the Input value to the back end of the queue. 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 currently at the front of the queue. Parameters: (right-click Properties) Queue Length - Sets the length of the queue. 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 queue 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_Queue2 will find it there.


DH_Queue2 Related Software