22 public ArrangerObjectOwner<AutomationPoint>
25 DEFINE_ARRANGER_OBJECT_OWNER_QML_PROPERTIES (
36 QObject * parent =
nullptr);
67 get_normalized_value_in_curve (
const AutomationPoint &ap,
double x)
const;
79 std::pair<float, AutomationPoint *>
80 get_value_at_virt_tick (dsp::ContentTick virt_tick)
const;
83 get_field_name_for_serialization (
const AutomationPoint *)
const override
85 return "automationPoints";
88 std::vector<ArrangerObjectListModel *> get_child_list_models ()
const override
90 return { ArrangerObjectOwner<AutomationPoint>::get_model () };
93 void shift_all_children (dsp::ContentTick delta)
override;
98 friend void init_from (
103 friend void to_json (nlohmann::json &j,
const AutomationClip &clip);
104 friend void from_json (
const nlohmann::json &j,
AutomationClip &clip);
107 BOOST_DESCRIBE_CLASS (
109 (Clip, ArrangerObjectOwner<AutomationPoint>),