41 SCORE_SERIALIZE_FRIENDS
48 const TimeVal& duration,
const QString& pdpatch,
51 template <
typename Impl>
59 bool hasExternalUI()
const noexcept;
62 const QString& script()
const;
66 const PatchSpec& patchSpec()
const noexcept {
return m_spec; }
67 int audioInputs()
const;
68 int audioOutputs()
const;
69 bool midiInput()
const;
70 bool midiOutput()
const;
72 void setAudioInputs(
int audioInputs);
73 void setAudioOutputs(
int audioOutputs);
74 void setMidiInput(
bool midiInput);
75 void setMidiOutput(
bool midiOutput);
77 void scriptChanged(QString v) W_SIGNAL(scriptChanged, v);
78 void programChanged() W_SIGNAL(programChanged);
79 void audioInputsChanged(
int v) W_SIGNAL(audioInputsChanged, v);
80 void audioOutputsChanged(
int v) W_SIGNAL(audioOutputsChanged, v);
81 void midiInputChanged(
bool v) W_SIGNAL(midiInputChanged, v);
82 void midiOutputChanged(
bool v) W_SIGNAL(midiOutputChanged, v);
85 int, audioInputs READ audioInputs WRITE setAudioInputs NOTIFY audioInputsChanged)
88 audioOutputs READ audioOutputs WRITE setAudioOutputs NOTIFY audioOutputsChanged)
89 W_PROPERTY(
bool, midiInput READ midiInput WRITE setMidiInput NOTIFY midiInputChanged)
91 bool, midiOutput READ midiOutput WRITE setMidiOutput NOTIFY midiOutputChanged)
93 PROPERTY(QString, script READ script WRITE setScript NOTIFY scriptChanged)
94 std::shared_ptr<Instance> m_instance;
97 QString effect()
const noexcept override;
103 int m_audioInputs{0};
104 int m_audioOutputs{0};