27 Q_PROPERTY (QString name READ name CONSTANT)
31 struct ProcessingCaches
39 ModulatorMacroProcessor (
42 QObject * parent =
nullptr);
48 QString name ()
const {
return name_.to_qstring (); }
54 auto get_name ()
const {
return name_; }
65 const dsp::TempoMap &tempo_map)
noexcept override;
67 void custom_prepare_for_processing (
69 units::sample_rate_t sample_rate,
72 void custom_release_resources ()
override;
76 friend void init_from (
77 ModulatorMacroProcessor &obj,
78 const ModulatorMacroProcessor &other,
84 return *get_input_ports ().front ().get_object_as<
dsp::CVPort> ();
94 return *get_output_ports ().front ().get_object_as<
dsp::CVPort> ();
104 static constexpr auto kNameKey =
"name"sv;
109 ProcessorBaseDependencies dependencies_;
122 std::unique_ptr<ProcessingCaches> processing_caches_;
void custom_process_block(EngineProcessTimeInfo time_nfo, const dsp::ITransport &transport, const dsp::TempoMap &tempo_map) noexcept override
Custom processor logic after processing all owned parameters.