Page tree
Skip to end of metadata
Go to start of metadata

Description

The StepModulator template allows you to control HALion's step modulator. It combines the stepmodulator view, additional valueboxes and a switches. These are pre-configured to access the stepmodulator UI and use dedicated UI parameters that are defined as variables.

On this page:

Template Properties

PropertyDescription
NameThe name of the StepModulator.
Size

Position and Size of the element in pixels.

Pos x, Pos y, Width, Height (Pos = Position of upper left corner)

Attach
  • Left: If the parent is resized, the control remains attached to left edge, with the specified ratio.
  • Right: If the parent is resized, the control moves relatively to the right edge, with the specified ratio.
  • Top: If the parent is resized, the control remains attached to top edge, with the specified ratio.
  • Bottom: If the parent is resized, the control moves relatively to the bottom edge, with the specified ratio.
  • Left + Right: If the parent is resized, the control is resized horizontally relatively to the left and right edges, with the specified ratio.
  • Top + Bottom: If the parent is resized, the control is resized vertically relatively to the top and bottom edges, with the specified ratio.
Tooltip
Text that appears as a tooltip when the mouse hovers over the element.
TemplateThe referenced template.
Step1-32Connect these to the steps of the StepMod (zone parameters).
StepsConnect this to the Steps parameter of the StepMod (zone parameter).
SlopeConnect this to the Slope parameter of the StepMod (zone parameter).
Slope Amt
Connect this to the SlopeAmount parameter of the StepMod (zone parameter).

Components and how they are used

UI Variables

These variables are defined to allow for communication between the stepmodulator and other controls in the template.

VariableDescriptionTypeRange
indexIndex of the selected nodeintegern.a.
levelLevel of the selected nodefloat0 - 100
level12Level in fractions of 12 (used when snap is active)float-12 to 12
snapActivates snap linesinteger0 - 1
shiftleftShifts the pattern to the leftinteger0 - 1
shiftrightShifts the pattern to the rightinteger0 - 1
reverseReverses the patterninteger0 - 1

Controls and Sub Templates

ItemDescription
Snap

This switch activates the Snap option. It is connected to the stepmodulator using the "snap" variable.

Lev/Lev12

This stack contains two value box templates. The stack switches when Snap is turned on, using the "snap" variable.

  • Lev100: A value box that is connected to the step stepmodulator using the "level" variable. Controls the selected step value.
  • Lev12: A value box that is connected to the step stepmodulator using the "level12" variable. Controls the selected step value (Snap = On).
IndexA value box template connected to the stepmodulator using the "index" variable. Selects the step.
stepmodulatorFor details see Step Modulator
imageA frame bitmap.
PushButton Shift L

A switch connected to the Shift Left parameter of the stepmodulator using the "shiftleft" variable.

PushButton Shift R
A switch connected to the Shift Right parameter of the stepmodulator  using the "shiftright" variable.
PushButton ReversA switch connected to the Reverse parameter of the stepmodulator using the "reverse" variable.

If you do not need these controls, you can remove them from the template or instantiate a stepmodulator directly on the macro page instead.

 

 

  • No labels

1 Comment