Saves, loads, or updates all values of several global arrays to/from a file.
The global arrays to process are given by the filter list (all global arrays by default, .*). Save and load run in the background: processing is 1 during the operation. Global constants are never loaded from a file.
Name of the file to save.
Folder where the dialogs opens by default.
Default extension of the file to save or load (global-array by default).
Opens a dialog box to choose a file name and save the file.
Opens a dialog box to choose a file name and load the file.
Opens a dialog box to choose a file and update the file with changes: the global arrays of the filter list are rewritten, the other ones already in the file are kept. If the file doesn't exist, it is saved as a new file.
Saves the file using the filename parameter, without dialog box. Nothing is saved if filename is empty (a warning is shown in the trace-panel).
Loads the file using the filename parameter, without dialog box. An error is shown in the trace-panel if the file doesn't exist.
Updates the file using the filename parameter, without dialog box. Nothing is saved if filename is empty.
List of global array names to save or load. The default .* processes all global arrays; an empty list processes none.
// it is ignored (comment)INCLUDE: myfilename.txt followed by a filename. The filename must be located inside the package of the application or 'nearby' the workspace. ^ $ * + ? ( ) [ ] { } \ | is a regular expression, matched against the names of the global arrays that exist when the list is read (the global constants are left out):
GA-* finds GA-1, but also MY-GA-1 and GA. To match whole names only, anchor it: ^GA-.*$DEMO.GLOBAL.ARRAY, is an expression too, where each dot matches any character[0-9] for a digit (\d would become \D, any character but a digit), and leave out (?i), which is not needed since the names are in upper caseWAIT the process will be suspended for 100 ms MY-GA-NAME
// a comment line
INCLUDE: myGAList.txt
^GA-NAME-.*$
WAIT
List of global array names to explicitly not save or load.
// it is ignored (comment)INCLUDE: myfilename.txt followed by a filename. The filename must be located inside the package of the application or 'nearby' the workspace. ^ $ * + ? ( ) [ ] { } \ | is a regular expression, matched against the names of the global arrays that exist when the list is read (the global constants are left out):
GA-* finds GA-1, but also MY-GA-1 and GA. To match whole names only, anchor it: ^GA-.*$DEMO.GLOBAL.ARRAY, is an expression too, where each dot matches any character[0-9] for a digit (\d would become \D, any character but a digit), and leave out (?i), which is not needed since the names are in upper caseWAIT the process will be suspended for 100 ms MY-GA-NAME
// a comment line
INCLUDE: myGAList.txt
^GA-NAME-.*$
WAIT
List of global array names containing arrays of 0 or 1 to replace isolate on load input array. The nth name of this list is used for the nth global array of the filter list; the global arrays without a corresponding line use isolate on load.
// it is ignored (comment)INCLUDE: myfilename.txt followed by a filename. The filename must be located inside the package of the application or 'nearby' the workspace. ^ $ * + ? ( ) [ ] { } \ | is a regular expression, matched against the names of the global arrays that exist when the list is read (the global constants are left out):
GA-* finds GA-1, but also MY-GA-1 and GA. To match whole names only, anchor it: ^GA-.*$DEMO.GLOBAL.ARRAY, is an expression too, where each dot matches any character[0-9] for a digit (\d would become \D, any character but a digit), and leave out (?i), which is not needed since the names are in upper caseWAIT the process will be suspended for 100 ms MY-GA-NAME
// a comment line
INCLUDE: myGAList.txt
^GA-NAME-.*$
WAIT
Send a 1 value when the module is processing the operation (load, save, get etc).
A flow-from-1-to-0 must be used to trigger something when the operation is completed or canceled.
Send 1 value when the open dialog operation has been canceled.
A flow-from-1-to-0 must be used to trigger something when the operation is completed or canceled.
Array of 0 or 1 with determines if the nth indexes are loaded (value 0) or not loaded (value 1). For example if the array is [0,0,1,0,0,0,...] it means that the global array values at the index 2 are not loaded.
Disables the trace-panel information when a file is loaded or saved.
Duration of the fade applied on the loading operation, from 0 to 180 s. Only the separated values (value N) of data global arrays with their fade preset option ON are faded; the other values are set at once.
Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.
For more details about information/help creation, see create-help-file.
Free multi-line text attached to the module, saved with the patch. When it is not empty, it is shown as the hint of the module (mouse over the module header in the patch) in place of the default module hint, even when the module hints are disabled.
visible only in god mode, see setup-panel-tab-expert.
Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).
Read-only, not saved. Private ID used to store and recall the values of this control in presets.
Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.
Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.
Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.
Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.
version 7.0.250921
Edit All Pages