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

Description

The Curve Editor template allows you to display and edit curves, such as the custom curve of the velocity curve module or the modulation matrix. The template contains a combination of controls to modify the values of the selected node. These controls are connected using UI parameters, which should be part of the template and must the use UI variables defined in the template.

 

The curve editor control cannot be created manually in the GUI Tree. It only comes as part of the Curve Editor template.

On this page:

Curve Editor

PropertyDescription
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.
Curve DataConnect this to the FuncData parameter of the Velocity Curve module, for example.
MinCompresses the curve in Y-dimension from the low end.
MaxCompresses the curve in Y-dimension from the upper end.
Play Pos Allows you to connect a parameter that sends the current value on the curve (for example input to output velocity).

Components and how they are used

UI Variables

These variables are defined to allow the communication between the curve editor and other controls in the template.

VariableDescriptionTypeRange
curveCurvature of the selected nodefloat-10 - 10
valYY value of the selected nodefloat0 - 1
valXX value of the selected nodefloat0 - 1
indexIndex of the selected nodeinteger0 - 100
MinMimimum level of the curvefloat0 - 1
MaxSpecifies the note gridfloat0 - 1

Controls and Sub Templates

ItemDescription
curve editor

The curve editor control with exported FuncData (CurveData), Minimum (Min), and Maximum (Max) to be connected on a template instance level. For example, to the Maximum parameter of a Velocity curve module.

Slider Max
A slider with an exported value (Max) to be connected on a template instance level. For example, to the Maximum parameter of a Velocity curve module.
Slider MinA slider with an exported value (Min) to be connected on a template instance level. For example, to the Maximum parameter of a Velocity curve module.
Edit

A group of controls that is connected, via the variables defined above, to the curve editor control.

  • ValX: A valuebox template to control the X value of the selected node (Value = @ValX).
  • ValY: A valuebox template to control the Y value of the selected node (Value = @ValY).
  • Curve: A valuebox template to control the curvature value of the selected node (Value = @curve).
  • Index: A valuebox template to set the selected node (Value = @index).

Curve Editor View

Properties

PropertyDescription
NameThe name of the Curve Editor control.
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.
Style
  • Bipolar: Activate this style for bipolar curves like pitch or pan.
  • Add/Rem: Allows you to add and remove nodes, otherwise a fixed number of nodes is used.
  • Sel Node: Allows you to select single/multiple nodes.
  • Cross: Shows cross lines when editing a node.
  • Grid: Shows the grid.
  • Nodes: Shows nodes.
  • Scale X: Shows the scale for the X-axis.
  • Scale Y: Shows the scale for the Y-axis.
FuncDataConnect this to the FuncData parameter of the Velocity Curve module, for example.
Grid
  • MinX: Defines the minimum value of the horizontal grid.
  • MaxX: Defines the maximum value of the horizontal grid.
  • MinY: Defines the minimum value of the vertical grid.
  • MaxY: Defines the maximum value of the vertical grid.
Selected Node
  • Index: The number of the selected node.
  • X: X value of the selected node (connected via "@valX").
  • Y: Y value of the selected node (connected via "@valY").
  • Curve: The curve (connected via "@curve").

Minimum Compresses the curve in Y-dimension from the low end.
Maximum Compresses the curve in Y-dimension from the upper end.
Play PosAllows you to connect a parameter that sends the current value on the curve (for example input to output velocity).

Colors

Note: Some Colors are only available if the corresponding style options are active.

PropertyDescription
FillFill color of the nodes
FillSelectedFill color of the selected nodes

FrameFocus

Focused node frame
FrameNode frame
HoverHover frame
Crosshair

Node edit crosshair

Playback

Playback position indicator

BorderOverall border
Grid VMain vertical grid
Grid V2Additional vertical fine grid
Grid V3Additional vertical fine grid
Grid HMain horizontal grid
Grid H2Additional horizontal fine grid
FontScale font
SelectorSelection area fill color
SelFrameSelection area frame
ScaleScale font color

 

 

  • No labels

1 Comment