| Contents |
Using the
DHRC2 Module |
Next |
|
The DHRC2A module A SynthEdit VST plugin, like most VST plugins today, is divided internally into 2 parts: the DSP side that processes the audio, and the GUI side that interacts with the user. Communication between the 2 sides is through the VST host. The DH Registration Control System, not having much to do with the actual audio processing, and needing to interact with the user through a dialog, operates mostly on the GUI side. That's why most of the pins on the DHRC2 are on a blue background. This is a good arrangement most of the time. In most cases, we want to use the registration system's results to control some aspect of audio processing, such as shutting off the volume if the product isn't registered and the demo period has expired. Usually, this is no problem. In a few host programs, however, the GUI side gets shut down, or its communication with the DSP side is suspended when certain tasks, such as rendering a song to audio, are performed. In such cases, if we have things set up so that the audio side of the VST won't play unless it gets a positive response from the registration control system on the GUI side, we've got a problem.
The DHRC2A module provides a backup to cover for this type
of situation. It runs entirely on the DSP side, at startup, and checks the
Registry to see if the VST is registered or in demo status. If so it sets
the corresponding pin to a positive value, indicating True. Otherwise, the pins are set to 0
for False.
The DHRC2.1.2 Validator Prefab The DHRC2.1.2 Validator's output lets you know if the DHRC2 and DHRC2A modules are present and working, and should be used together with the "Registered?" and "In Demo Period?" outputs to control access to your product. If you combine the outputs with an AND Gate, as shown below, the gate will only be positive if all conditions are met.
You can set it up in a few simple steps:
|
Next |