2 #include <halp/callback.hpp>
3 #include <halp/controls.hpp>
4 #include <halp/meta.hpp>
9 halp_meta(name,
"Angle mapper")
10 halp_meta(c_name,
"AngleMapper")
11 halp_meta(category,
"Control/Mappings")
12 halp_meta(author,
"ossia score")
15 "https://ossia.io/score-docs/processes/mapping-utilities.html#angle-mapper")
16 halp_meta(description,
"Map the variation of an angle")
17 halp_meta(uuid,
"9b0e21ba-965a-4aa4-beeb-60cc5128c418")
18 halp_flag(time_independent);
22 halp::val_port<
"in",
float> in;
26 halp::callback<
"out",
float> out;
29 std::optional<float> prev_value;
34 float val = inputs.in.value;
49 else if(prev_value > val)
Definition: AngleNode.hpp:8