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

Static Public Attributes

static constexpr const auto prettyName = "Expression Value Filter"
 
static constexpr const auto objectKey = "MathMapping"
 
static constexpr const auto category = "Control/Mappings"
 
static constexpr const auto author = "ossia score, ExprTK (Arash Partow)"
 
static constexpr const auto kind = Process::ProcessCategory::Mapping
 
static constexpr const auto description
 
static constexpr const auto tags = std::array<const char*, 0>{}
 
static const uuid_constexpr auto uuid = make_uuid("ae84e8b6-74ff-4259-aeeb-305d95cdfcab")
 
static constexpr const value_in value_ins [] {value_in{"in", false}}
 
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::MathMapping::Node::Metadata::controls
staticconstexpr
Initial value:
= tuplet::make_tuple(
Control::LineEdit("Expression (ExprTK)", "cos(t) + log(pos * (1+abs(x)) / 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::MathMapping::Node::Metadata::description
staticconstexpr
Initial value:
= "Applies a math expression to an input.\n"
"Available variables: a,b,c, t (samples), dt (delta), pos (position "
"in parent), x (value)\n"
"See the documentation at http://www.partow.net/programming/exprtk"

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