PLUG'N SCRIPT
rapid plugin development
Tutorial
DSP
KUIML
How-to
Scripts
  • Tutorial
  • Element Reference
Language basics
  • SKIN
  • DUMMY
  • INCLUDE
  • INCLUDE_ONCE
  • DEFINE
  • UNDEFINE
  • VARIABLE
  • LOCAL_VARIABLE
  • TEMPLATE
  • TEMPLATE_INNER_CONTENT
  • REPEAT
Data model
  • PARAM
  • ACTION
    • Action types
  • ACTION_TRIGGER
  • TIMER
UI Layout and positioning
  • CELL
  • TABLE
UI Widgets
  • CANVAS
    • Graphics API
  • COLOR_SCALE
  • FILE_SELECT_MENU
  • GRID
  • INVISIBLE_PARAM_MENU_BUTTON
  • MENU_ITEM
  • MENU_SEPARATOR
  • POPUP_MENU
  • svg
  • RULER
  • TEXT
  • TEXT_FIELD
  • TEXT_EDIT_BOX
  • XY_PARAM_PAD
  • XY_ZOOM_SELECT_PAD
  • XYZ_PARAM_SCRATCH_PAD
  • XYZ_PARAM_CLICK_PAD
  • XYZ_IMAGE_PARAM_JOYSTICK
UI 3D Objects
  • COLOR_SURFACE_3D
  • GRID_3D
  • GL_OBJECT_3D
Data model commands
  • REQUIRED_OBJECTS
  • EXPOSED_OBJECTS
  • PERSISTENT_OBJECTS
Common attrubutes
  • For all elements
  • Widgets
  • Param Widgets
  • Param Controls
  • Param Info Viewers
  • Text Widgets
  • Surface Viewers
  • Curve Viewers
  • 3D Objects
  • Parameters mapping
  • LetiMix
KUIMLElement Reference
December 21, 2020

CURVE_GRAPH

Page is not ready

This article contains information from the official Blue Cat Audio KUIML reference that was not yet verified and edited.

This widget displays a 2d graphical representation of the associated curve.

Attributes brief detailed show all inherited

Name DescriptionDefault
colorColor of the curve graphcurrent...
graph_styleType of graph to display the curvecurve
Exposed: v. 1.3.5anti_aliasuse anti aliasing to draw the curve (smooth drawing)When anti alias is used, the pen_style attribute has no effect (only solid antialiased graph is implemented)true
sample_ratenumber of points of the curve drawn for each pixelsThis value is used only for real number curves and when the x_positions_count attribute is not set1
Name Value type Default Description Comment
colorcolorcurrent text colorColor of the curve graph
graph_stylegraph stylecurveType of graph to display the curve
Exposed: v. 1.3.5anti_aliasbooleantrueuse anti aliasing to draw the curve (smooth drawing)When anti alias is used, the pen_style attribute has no effect (only solid antialiased graph is implemented)
sample_ratereal number1number of points of the curve drawn for each pixelsThis value is used only for real number curves and when the x_positions_count attribute is not set

See Attributes Common to Curve Viewers.

Specific Attributes

Examples

  • Graph with default options and anti_alias deactivated:

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
  3. <CURVE_GRAPH curve_id="dsp.output_curve3" width="150" height="80" anti_alias="false" color="#00ff00"/>
  4. </SKIN>
  • Changing the x scale:

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
  3. <CURVE_GRAPH curve_id="dsp.output_curve3" x_response_curve="exp3" width="150" height="80" anti_alias="false" color="#00ff00"/>
  4. </SKIN>
  • We can change the style to 'bargraph':

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
  3. <CURVE_GRAPH curve_id="dsp.output_curve3" x_response_curve="exp3" graph_style="bargraph" width="150"
  4. height="80" anti_alias="false" color="#00ff00" />
  5. </SKIN>
  • And change the number of positions on the x scale:

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
  3. <CURVE_GRAPH curve_id="dsp.output_curve3" x_response_curve="exp3" graph_style="bargraph" width="150" height="80"
  4. anti_alias="false" color="#00ff00" x_positions_count="21"/>
  5. </SKIN>

2020 - 2025 © Site by LetiMix  |  Plug'n Script and KUIML by Blue Cat Audio