2 #include <Process/ProcessMetadata.hpp>
4 #include <Curve/Process/CurveProcessModel.hpp>
12 , Scenario::TempoProcess,
"14bcc6d2-cb34-4bc6-8c70-e512f11d1ceb",
"Tempo",
"Tempo",
13 Process::ProcessCategory::Automation,
"Automations",
14 "Tempo curve - only one per interval",
"ossia score",
15 (QStringList{
"Curve",
"Automation"}), {}, {},
16 Process::ProcessFlags::SupportsTemporal)
22 SCORE_SERIALIZE_FRIENDS
23 PROCESS_METADATA_IMPL(Scenario::TempoProcess)
25 W_OBJECT(TempoProcess)
28 static constexpr
double min = 20.;
29 static constexpr
double max = 500.;
31 std::unique_ptr<Process::Inlet> tempo_inlet;
32 std::unique_ptr<Process::Inlet> speed_inlet;
33 std::unique_ptr<Process::Inlet> position_inlet;
37 ~TempoProcess()
override;
40 template <
typename Impl>
41 TempoProcess(Impl& vis, QObject* parent)
42 : CurveProcessModel{vis, parent}
48 QString prettyName() const noexcept override;
49 QString prettyValue(
double x,
double y) const noexcept override;
53 void setDurationAndScale(const
TimeVal& newDuration) noexcept override;
54 void setDurationAndGrow(const
TimeVal& newDuration) noexcept override;
55 void setDurationAndShrink(const
TimeVal& newDuration) noexcept override;
57 void setCurve_impl() override;
Definition: CurveProcessModel.hpp:11
The id_base_t class.
Definition: Identifier.hpp:57
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: TimeValue.hpp:21