23 Q_PROPERTY (QString name READ name CONSTANT)
27 struct ProcessingCaches
35 ModulatorMacroProcessor (
38 QObject * parent =
nullptr);
44 QString name ()
const {
return name_.to_qstring (); }
50 auto get_name ()
const {
return name_; }
61 const dsp::TempoMap &tempo_map)
noexcept override;
63 void custom_prepare_for_processing (
65 units::sample_rate_t sample_rate,
66 units::sample_u32_t max_block_length)
override;
68 void custom_release_resources ()
override;
72 friend void init_from (
73 ModulatorMacroProcessor &obj,
74 const ModulatorMacroProcessor &other,
80 return *get_input_ports ().front ().get_object_as<
dsp::CVPort> ();
90 return *get_output_ports ().front ().get_object_as<
dsp::CVPort> ();
100 static constexpr auto kNameKey =
"name"sv;
105 ProcessorBaseDependencies dependencies_;
118 std::unique_ptr<ProcessingCaches> processing_caches_;
void custom_process_block(dsp::graph::EngineProcessTimeInfo time_nfo, const dsp::ITransport &transport, const dsp::TempoMap &tempo_map) noexcept override
Custom processor logic after processing all owned parameters.