Unify Manual

Your complete reference to PlugInGuru's creative playground!

User Tools

Site Tools


safety-features

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
safety-features [2021/04/29 14:10] – created shanesafety-features [2023/05/08 18:59] (current) – external edit 127.0.0.1
Line 5: Line 5:
   - **Are you sure?** provides the conventional "are you sure?" warning pop-up whenever you choose an action (loading a patch, hitting **Init**, or quitting Unify) which would cause you to lose work.   - **Are you sure?** provides the conventional "are you sure?" warning pop-up whenever you choose an action (loading a patch, hitting **Init**, or quitting Unify) which would cause you to lose work.
  
-Both of these features are optional.+Both of these features are optional. **Auto-save** is ON by default, **are you sure?** is OFF by default.
  
-**THIS PAGE IS STILL BEING EDITED**+===== Auto-save and the Revert button ===== 
 +Unify maintains a special folder (//Auto-Saved Patches// under the main Unify data folder) where it automatically saves a copy of your current patch, any time you might lose it (i.e., if Unify detects a change in the patch data in memory; see [[#how_unify_detects_patch_changes|How Unify detects patch changes]] below) by e.g. hitting the **Init** button, clicking on a patch in the patch browser to load it, clicking the Next/Prev arrow buttons, or quitting the Unify stand-alone app. 
 + 
 +If you do any of these things, and need to get back to the patch you were working on, click the **Revert** button at the top-right corner of the Unify GUI, to bring up the **Revert menu**, which will look something like this: 
 + 
 +{{:revert-recall.png|}} 
 + 
 +The top menu item is for the original "revert" function--ignore it. The auto-saved patches are listed below this, in //reverse time order// (most recent first), so you will almost certainly want to click the //first one under the horizontal line//, indicated by the purple outline in the image above. 
 + 
 +If this does not seem to be the patch you wanted, try the next one. If you get flustered, you might accidentally load a new patch, then perhaps even another one. This is why Unify saves more than one. 
 + 
 +**The auto-save feature is ON by default** with Unify set to maintain up to 5 auto-saved patches. See [[settings|Using the Settings view]] for details (look for the "On Patch Load" line in the Settings view). You may disable it entirely by choosing "Don't auto-save" from the menu in Settings, but this is not recommended. 
 + 
 +==== "REVERT" menu item ==== 
 +The first line on the Revert menu is for the original "Revert" function from earlier versions of Unify. This is used to DISCARD all changes you have made to an already-saved (NOT auto-saved) patch, and simply re-load that patch from disk, just as if you had clicked on it in the browser. 
 + 
 +**If auto-save is disabled**, you will not see the pop-up menu at all when you click the Revert button; the original "revert" function will be triggered, as in earlier versions of Unify. 
 + 
 +===== Are you sure? ===== 
 +If you want to have an extra layer of protection against losing work, check the **Ask "are you sure?"** box in the [[settings|Settings view]]. This will ensure that a conventional "are you sure?" warning will pop up anytime you might lose work. 
 + 
 +{{::are-you-sure.png|}} 
 + 
 +Click **OK** to complete the action you started (the current patch //will still be auto-saved//, if auto-save is enabled). Click **Cancel** to cancel the action and remain where you are (the current patch will not be auto-saved). 
 + 
 +==== Why is "are you sure?" OFF by default? ==== 
 +Perhaps surprisingly, for a host program like Unify to detect whether or not the current patch has changed is actually quite complicated, because it has no way of knowing what changes may have occurred inside third-party plug-in instances. See the next section for details. 
 +===== How Unify detects patch changes ===== 
 + 
 +Unify uses a simple method to check for patch changes: 
 +  * When the patch is loaded, Unify computes and stores a checksum of the patch data. 
 +  * When you initiate any action that might overwrite the current patch (Init, patch load, etc.), Unify re-computes the checksum, compares it against the stored one, and will assume the patch has changed if they are not the same. 
 + 
 +This checksum algorithm is simple, quick, and unlikely to produce "false negative" results. However, it's also //hyper-sensitive//--the slightest change can trigger it, even using your mod-wheel, or any MIDI CC control linked to parameters via a macro knob, OR via "MIDI-learn" or programmed linkage within some third-party plug-in. 
 + 
 +Unfortunately, there are also some plug-ins which will trigger the checksum algorithm every time, even if nothing has changed in the patch, because they simply work that way. Even the built-in [[combobox|ComboBox]] utility plug-in does this. 
 + 
 +Because of this hyper-sensitivity, you will see the "are you sure?" pop-up a lot, even when you really don't expect to. For this reason, we decided to make it optional, and OFF by default.
  
safety-features.1619705425.txt.gz · Last modified: 2023/05/08 18:59 (external edit)