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

Static Public Attributes

static constexpr const auto prettyName = "Pulse to Midi"
 
static constexpr const auto objectKey = "VelToNote"
 
static constexpr const auto category = "Midi"
 
static constexpr const auto author = "ossia score"
 
static constexpr const auto kind = Process::ProcessCategory::Other
 
static constexpr const auto description
 
static constexpr const auto tags = std::array<const char*, 0>{}
 
static const uuid_constexpr auto uuid = make_uuid("2c6493c3-5449-4e52-ae04-9aee3be5fb6a")
 
static constexpr const value_in value_ins [] {{"in", true}}
 
static constexpr const midi_out midi_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::PulseToNote::Node::Metadata::controls
staticconstexpr
Initial value:
= tuplet::make_tuple(
Control::ComboBox<float, std::size(Control::Widgets::notes)>(
"Start quant.", 2, Control::Widgets::notes),
Control::FloatSlider{"Tightness", 0.f, 1.f, 0.8f},
"End quant.", 2, Control::Widgets::notes),
Control::Widgets::MidiSpinbox("Default pitch"),
Control::Widgets::MidiSpinbox("Default vel."),
Control::Widgets::OctaveSlider("Pitch shift", -5, 5),
Control::Widgets::OctaveSlider("Pitch random", 0, 2),
Control::Widgets::OctaveSlider("Vel. random", 0, 2),
Control::Widgets::MidiChannel("Channel"))
Definition: score-lib-process/Control/Widgets.hpp:486
Definition: score-lib-process/Control/Widgets.hpp:77

◆ description

constexpr const auto Nodes::PulseToNote::Node::Metadata::description
staticconstexpr
Initial value:
= "Converts a message into MIDI.\n"
"If the input is an impulse, the output will be the default pitch "
"at the default velocity.\n"
"If the input is a single integer in [0; 127], the output will be "
"the relevant note at the default velocity"
"If the input is an array of two values between [0; 127], the "
"output will be the relevant note."

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