Contents

Using the DHRC2 Module
Input and Output Pins
 

Next
  The DHRC2 module is the main piece of the system that you actually build into your SynthEdit projects. Here's a quick look at the "ins and outs".


Random Voltage In - Voltage from a SynthEdit Random Voltage module. The same random voltage is input to the DHRC2 and DHRC2A modules and to the DHRC2.1.2 Validator prefab. The prefab then compares the modules' responses to its own to validate the modules.

To Validator - The module's response to the input random voltage. Connects to the Validator for verification.

(Product ID, VST Name, Demo Days, and Reg Website URL are meant to be entered into the Properties, and will be covered below.)

Show Reg Dialog - The Product Registration dialog is displayed if this input changes from TRUE to FALSE, i. e., a "mouse up" on a button that outputs Bool values. Use this to invoke the registration dialog from your product's user interface. 

Dialog Bkgd RGB/Dialog Text RGB - Allow you to customize the registration dialog's colors using RGB values that you can get from several of the DH_Sub-ControlPak modules.

Registered? - Outputs TRUE if the VST has been validly registered, FALSE otherwise.

In Demo Period? - Outputs TRUE if the VST is unregistered and the demo period has not yet expired, FALSE otherwise.

Product Key# - Number generated from Product ID for use in module validation. Should be copied to the Product Key# property of the DHRC2.1.2 Validator prefab.

User ID - Outputs the user name of the registered user, or a blank space if not registered.

Together, the outputs can be used to limit functionality during the demo period for unregistered VSTs, and/or to limit functionality or make the VST non-operational after the demo period has expired.

Product ID - A number or character string that you assign to each of your products. It is used to identify the product internally, and it is the input to the key generation algorithm that makes key generation unique for your product. It can have any format that suits your purposes as long as it contains between 4 and 32 characters. The number of possible 32-character Product IDs is 2^256, or about 1.158 * 10^77, so as long as you keep you Product IDs private, even someone with access to the key generation algorithm has little chance of being able to use it to generate a key for your products.

VST Name - The name of your synth or effect. This will be used to customize the dialog and message boxes that the module displays to the user.

Demo Days - The number of days you want to allow a new or prospective customer to use your product in demo or evaluation mode before registering, if any. You can set up your product to provide either full or limited functionality during this period, if you choose. Days are counted down from the first time the VST is run on the computer.

Reg Website URL - This can be filled in with a URL where the user can register and obtain a License Key. If it's filled in, a button is added to the Product Registration dialog which when clicked will open the user's default Web browser to the URL The URL must begin with http:// (or https:// for secure sites). If your URL ends with a directory name, intended to address the default page for that directory, you must include the final / character, e.g., http://www.dehaupt.com/SynthEdit/, not http://www.dehaupt.com/SynthEdit.

 

Next