Loading...
Searching...
No Matches
DebugFx.hpp
1#pragma once
2#include <halp/controls.hpp>
3#include <halp/meta.hpp>
4#include <halp/midi.hpp>
5namespace Nodes::Debug
6{
7struct Node
8{
9 halp_meta(name, "Test FX")
10 halp_meta(c_name, "TestFX")
11 halp_meta(category, "Debug")
12 halp_meta(author, "ossia score")
13 halp_meta(manual_url, "")
14 halp_meta(description, "Shows all the available widgets")
15 halp_meta(uuid, "887507d3-8a56-4634-9ee3-a25d38050335")
16
17 struct
18 {
19
20 } inputs;
21 struct
22 {
23
24 } outputs;
25 static const constexpr value_in value_ins[]{"in1", "in2"};
26 static const constexpr value_out value_outs[]{"out1", "out2"};
27 static const constexpr audio_in audio_ins[]{"ain"};
28 static const constexpr audio_out audio_outs[]{"aout"};
29 static const constexpr midi_in midi_ins[]{"min"};
30 static const constexpr midi_out midi_outs[]{"mout"};
31
32 static const constexpr auto controls = tuplet::make_tuple(Control::FloatSlider{"FloatSlider", -10, 20, 5}, Control::LogFloatSlider{"LogFloatSlider", -10, 20, 5}, Control::FloatKnob{"FloatKnob", -10, 20, 5}, Control::LogFloatKnob{"LogFloatKnob", -10, 20, 5}, Control::IntSlider{"IntSlider", -10, 20, 5}, Control::IntSpinBox{"IntSpinBox", -10, 20, 5}, Control::Toggle{"Toggle", true}, Control::ChooserToggle{"ChooserToggle", {"false", "true"}, true}, Control::LineEdit{"LineEdit", "henlo"}, Control::Button{"Bango"}, Control::Widgets::QuantificationChooser(), Control::Widgets::MusicalDurationChooser(), Control::Widgets::DurationChooser(), Control::Widgets::FreqSlider(), Control::Widgets::LFOFreqSlider(), Control::Widgets::FreqKnob(), Control::Widgets::LFOFreqKnob(), Control::Widgets::WaveformChooser());
33
34 using control_policy = ossia::safe_nodes::default_tick_controls;
35 template <typename... Args>
36 static void run(Args&&...)
37 {
38 }
39};
40}
Definition DebugFx.hpp:8