Creating Nested Templates

You can create templates that contain other templates. Combining templates this way allows you to specify separately for each child template whether you want to use its parameter values in the parent template or whether you want to use fixed parameter values.

A good example for nested templates is the definition of a group of four knobs as ADSR envelope controls.

Procedure

  1. Create a new template named ADSR Knobs and click Edit Element on the toolbar.
  2. To this template, add four knob templates that each contain a label and a text field.
  3. In the Properties section for the knob parameters, you will find the template parameters Value, Unit, and Label.
  4. Click the Export Property buttons for the Value parameters of the four knobs and name them ValA, ValD, ValS, and ValR, for example.

    This creates independent parameters in the template.

  5. For the Label parameters, enter A, D, S, and R.

Result

You created the nested Template ADSR Knobs. When you use the ADSR Knobs template, the labels will always be A, D, S, and R, but the knobs can be freely connected to any envelope.