49 SCORE_SERIALIZE_FRIENDS
57 const TimeVal& duration,
const QString& custom,
60 template <
typename Impl>
72 void setChannel(
int n);
73 int channel()
const noexcept;
75 void setCurrentPattern(
int n);
76 int currentPattern()
const noexcept;
78 void setPattern(
int n,
Pattern p);
79 void setPatterns(
const std::vector<Pattern>& n);
80 const std::vector<Pattern>& patterns()
const noexcept;
82 std::unique_ptr<Process::MidiOutlet> outlet;
83 std::unique_ptr<Process::Outlet> accent;
84 std::unique_ptr<Process::Outlet> slide;
87 void channelChanged(
int arg_1) W_SIGNAL(channelChanged, arg_1);
88 void currentPatternChanged(
int arg_1) W_SIGNAL(currentPatternChanged, arg_1);
89 void execPosition(
int arg_1) W_SIGNAL(execPosition, arg_1);
90 void patternsChanged() W_SIGNAL(patternsChanged);
92 PROPERTY(
int, channel READ channel WRITE setChannel NOTIFY channelChanged, W_Final)
95 currentPattern READ currentPattern WRITE setCurrentPattern NOTIFY
96 currentPatternChanged,
99 void setDurationAndScale(
const TimeVal& newDuration)
noexcept override;
100 void setDurationAndGrow(
const TimeVal& newDuration)
noexcept override;
101 void setDurationAndShrink(
const TimeVal& newDuration)
noexcept override;
104 int m_currentPattern{};
105 std::vector<Pattern> m_patterns;