50 SCORE_SERIALIZE_FRIENDS
55 static const constexpr int maxPatterns = 128;
61 const TimeVal& duration,
const QString& custom,
64 template <
typename Impl>
76 void setChannel(
int n);
77 int channel() const noexcept;
79 void setCurrentPattern(
int n);
80 int currentPattern() const noexcept;
82 void setPattern(
int n,
Pattern p);
83 void setPatterns(const
std::vector<
Pattern>& n);
84 const
std::vector<
Pattern>& patterns() const noexcept;
86 std::unique_ptr<
Process::ControlInlet> patternSelect;
87 std::unique_ptr<
Process::ControlInlet> switchQuantification;
93 void channelChanged(
int arg_1) W_SIGNAL(channelChanged, arg_1);
94 void currentPatternChanged(
int arg_1) W_SIGNAL(currentPatternChanged, arg_1);
95 void execPosition(
int arg_1) W_SIGNAL(execPosition, arg_1);
96 void patternsChanged() W_SIGNAL(patternsChanged);
98 PROPERTY(
int, channel READ channel WRITE setChannel NOTIFY channelChanged, W_Final)
101 currentPattern READ currentPattern WRITE setCurrentPattern NOTIFY
102 currentPatternChanged,
105 void setDurationAndScale(const
TimeVal& newDuration) noexcept override;
106 void setDurationAndGrow(const
TimeVal& newDuration) noexcept override;
107 void setDurationAndShrink(const
TimeVal& newDuration) noexcept override;
110 int m_currentPattern{};
111 std::vector<Pattern> m_patterns;