2#include <ossia/detail/pod_vector.hpp>
3#include <ossia/detail/small_vector.hpp>
4#include <ossia/detail/variant.hpp>
6#include <halp/audio.hpp>
7#include <halp/callback.hpp>
8#include <halp/controls.hpp>
9#include <halp/mappers.hpp>
14static constexpr auto multichannel_max_count = 8;
15using analysis_vector = ossia::small_pod_vector<float, multichannel_max_count>;
16using output_type = ossia::variant<float, std::array<float, 2>, analysis_vector>;
18struct value_out : halp::val_port<"out", output_type>
26struct audio_in : halp::dynamic_audio_bus<"in", double>
29struct audio_out : halp::dynamic_audio_bus<"out", double>
33struct gain_slider : halp::hslider_f32<"Gain", halp::range{0., 100., 1.}>
42struct gate_slider : halp::hslider_f32<"Gate", halp::range{0., 1., 0.}>
Definition Helpers.hpp:27
Definition Helpers.hpp:30
Definition Helpers.hpp:34
Definition Helpers.hpp:43
Definition Helpers.hpp:23
Definition Helpers.hpp:19