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

Description

The FlexPhaserStepSeq template allows you to control HALions FlexPhraser User phrase editor. It combines several stepmodulator controls with additional value boxes for Key Transpose and Key Replace and switches that modifiy the entire phrase. These controls are alle preconfigured within the template and use dedicated parameters which are not supposed to change.

To understand the functionality and options, add the template to your macro page and enter edit mode on it. This allows you to see the structure of the template.

On this page:

Template Properties

PropertyDescription
NameThe name of the FlexPhraserStepSeq.
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.
ScopeDefines which FlexPhraser is controlled. For example: "@0:FlexPhraser" controls the first FlexPhraser in the program.

Components and how they are used

UI Variables

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

VariableDescriptionTypeRange
VarTranspList of transpose variables used by "templatelistview Transpose"string list@Transpose1 - 32
VarKeyList of key variables used by "templatelistview Key"string list@Key1 - 32
VarEnableList of enable variables used by "templatelistview Enable"string list@Enable1 - 32
VarTieList of tie variables used by "templatelistview StepTie"string list@Tie1 - 32
VarTransposeKeyUsed to switch between pages of "TranspKey" stackinteger0 - 1
VarKeyLabelList of numbers used as labels in "templatelistview Enable"string list1 - 32
VarStepPagesUsed to switch between pages of "Step Pages" stackinteger0 - 3

Controls and Sub Templates

ItemDescription
Disable

A disable control containing all further elements, and is used to disable them if the FlexPhraser variation is not set to "User Mode". Its "Value" must be set to "@UserMode".

Sw Vel, Sw C1, Sw C2, Sw C3Switches that are used to switch between the velocity and controller lane pages. "Value" is set to "@VarStepPages".
ArpModA stack that switches between additional pages containing controls to specify which MIDI controller has to be sent by the corresponding controller lane. It is switched using the "VarStepPages" variable.
LED pagesA stack that switches between two LED chain bitmap displays. They are both identical. The first LED chain is not connected to the engine and is used when UserMode is set to off. The second LED is connected to the engine via @CurrentStep. This connection only works inside the FlexPhraserStepSeq template.
StepTieA Template List used to control the Tie parameter of the 32 steps. It uses the "StepTie" template as a switch. The switch can be disabled in case the range of the phrase is smaller than the index of the step. (@disableStepParams) This is managed by the FlexPhraserStepSeq.lua script that is attached to the FlexPhraserStepSeq template.
Enable

A Template List used to control the Enable parameter of the 32 steps. It uses the "StepSwitch On/Off " template as a switch. The switch can be disabled in case the range of the phrase is smaller than the index of the step. (@disableStepParams) This is managed by the FlexPhraserStepSeq.lua script that is attached to the FlexPhraserStepSeq template. The Label parameter uses the "VarKeyLabel" stringlist variable to set the label for each step.

TranspKeyA stack switching between the Transpose and Key Values. Both values are managed by Template Lists. Transpose uses the "VarTrans" string list variable, Key the "VarKey" string list variable. Both can be disabled in case the range of the phrase is smaller than the index of the step. (@disableStepParams) This is managed by the FlexPhraserStepSeq.lua script that is attached to the FlexPhraserStepSeq template.
Sw_TranspKeyA switch that switches between the Transpose and Key values. The connection is set using the "VarTranposeKey" variable.
DuplicateA push button that duplicates the active steps. The connection is set using the internal "Duplicate" command and only works inside the FlexPhraserStepSeq template.
ReverseA push button that reverses the order of the active steps. The connection is set using the internal "Reverse" command and only works inside the FlexPhraserStepSeq template.
DuplicateA push button that duplicates the active steps. The connection is set using the internal "Duplicate" command and only works inside the FlexPhraserStepSeq template.
ShiftRightA push button that shifts the active steps to the right. The connection is set using the internal "ShiftPhraseRight" command and only works inside the FlexPhraserStepSeq template.
ShiftLeftA push button that shifts the active steps to the left. The connection is set using the internal "ShiftPhraseLeft" command and only works inside the FlexPhraserStepSeq template.
PatternLengthA slider to change the number of steps.
Step Pages

A stack that contains four stepmodulator controls, one for the step velocities and three for the available controller lanes. It is switched using the "VarStepPages" variable.

  • stepmodulator: A Stepmodulator controlling the step velocities. The required "Format" setting is "Level%d;Length%d;Enable%d". This allows to control Level, Length, and the Enable state of the steps. The connection only works inside the FlexPhraserStepSeq template.
  • stepmodulator C1: A Stepmodulator controlling the first controller lane. The required "Format" setting is "Control1_%d". This allows to control the controller level of the of the steps. The connection only works inside the FlexPhraserStepSeq template.
  • stepmodulator C2: A Stepmodulator controlling the second controller lane. The required "Format" setting is "Control2_%d". This allows to control the controller level of the of the steps. The connection only works inside the FlexPhraserStepSeq template.
  • stepmodulator C3:  A Stepmodulator controlling the third controller lane. The required "Format" setting is "Control3_%d". This allows to control the controller level of the of the steps. The connection only works inside the FlexPhraserStepSeq template.



  • No labels

1 Comment