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 QUrl(
"https://ossia.io/score-docs/processes/tempo.html#tempo"),
17 Process::ProcessFlags::SupportsTemporal)
23 SCORE_SERIALIZE_FRIENDS
24 PROCESS_METADATA_IMPL(Scenario::TempoProcess)
26 W_OBJECT(TempoProcess)
29 static constexpr
double min = 20.;
30 static constexpr
double max = 500.;
32 std::unique_ptr<Process::Inlet> tempo_inlet;
33 std::unique_ptr<Process::Inlet> speed_inlet;
34 std::unique_ptr<Process::Inlet> position_inlet;
38 ~TempoProcess()
override;
41 template <
typename Impl>
42 TempoProcess(Impl& vis, QObject* parent)
43 : CurveProcessModel{vis, parent}
49 QString prettyName() const noexcept override;
50 QString prettyValue(
double x,
double y) const noexcept override;
54 void setDurationAndScale(const
TimeVal& newDuration) noexcept override;
55 void setDurationAndGrow(const
TimeVal& newDuration) noexcept override;
56 void setDurationAndShrink(const
TimeVal& newDuration) noexcept override;
58 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