Nodes::MathGenerator::Node::Metadata Struct Reference
Inheritance diagram for Nodes::MathGenerator::Node::Metadata:
Control::Meta_base

Static Public Attributes

static constexpr const auto prettyName = "Expression Value Generator"
 
static constexpr const auto objectKey = "MathGenerator"
 
static constexpr const auto category = "Control/Generators"
 
static constexpr const auto author = "ossia score, ExprTK (Arash Partow)"
 
static constexpr const auto tags = std::array<const char*, 0>{}
 
static constexpr const auto kind = Process::ProcessCategory::Generator
 
static constexpr const auto description
 
static const uuid_constexpr auto uuid = make_uuid("d757bd0d-c0a1-4aec-bf72-945b722ab85b")
 
static constexpr const value_out value_outs [] {"out"}
 
static constexpr const auto controls
 
- Static Public Attributes inherited from Control::Meta_base
static constexpr const Process::ProcessFlags flags
 

Member Data Documentation

◆ controls

constexpr const auto Nodes::MathGenerator::Node::Metadata::controls
staticconstexpr
Initial value:
= tuplet::make_tuple(
Control::LineEdit("Expression (ExprTK)", "cos(t) + log(pos * 1 / dt)"),
Control::FloatSlider("Param (a)", 0., 1., 0.5),
Control::FloatSlider("Param (b)", 0., 1., 0.5),
Control::FloatSlider("Param (c)", 0., 1., 0.5))
Definition: score-lib-process/Control/Widgets.hpp:77
Definition: score-lib-process/Control/Widgets.hpp:417

◆ description

constexpr const auto Nodes::MathGenerator::Node::Metadata::description
staticconstexpr
Initial value:
= "Generate a signal from a math expression.\n"
"Available variables: a,b,c, t (samples), dt (delta), pos (position "
"in parent)\n"
"See the documentation at http://www.partow.net/programming/exprtk"

The documentation for this struct was generated from the following file: