Permanently Store Values

We’re at a point where we’ve decided to add a way for persistent storage of variables in MIDI Translator Pro, and subsequently, in the BomeBox. As always, we cannot promise a specific release date, but it will come.

The idea is to add an outgoing action “Variable Storage” with these options:

  1. Store Variables
    Select Storage Space: _________
    Comma-separated list of variables to store: __________
    → will store the respective global variables and their current value to the given storage space.
  2. Load All Variables
    Select Storage Space: _________
    → will initialize all the global variables which were previously stored to the given storage space with the values found in that storage space. Global variables not found in storage are not modified.
  3. Load Selected Variables
    Select Storage Space: _________
    Comma-separated list of variables to load: __________
    → will initialize the given global variables with the value in the given storage space. If a variable is not found in the storage space, it is initialized with 0.

The Storage Space is an arbitrary name that you can use to create multiple storage spaces (if needed), or to pass variable values from project file to project file.

For a set of persistent variables, use the “Load All” action at project start, and store them when you’ve done changes to them.

We may also add Rules for storing/loading variables to/from a storage space.

References:

1 Like