|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
A simple processor that outputs panic MIDI events when requested to. More...
#include <src/dsp/midi_panic_processor.h>


Public Member Functions | |
| MidiPanicProcessor (ProcessorBaseDependencies dependencies, QObject *parent=nullptr) | |
| void | request_panic () |
| Request panic messages to be sent. | |
| void | custom_process_block (EngineProcessTimeInfo time_nfo, const dsp::ITransport &transport) noexcept override |
| Custom processor logic after processing all owned parameters. | |
| void | custom_prepare_for_processing (const graph::GraphNode *node, units::sample_rate_t sample_rate, nframes_t max_block_length) override |
| void | custom_release_resources () override |
| Public Member Functions inherited from zrythm::dsp::ProcessorBase | |
| ProcessorBase (ProcessorBaseDependencies dependencies, utils::Utf8String name={ u8"ProcessorBase" }) | |
| void | set_name (const utils::Utf8String &name) |
| Set a custom name to be used in the DSP graph. | |
| void | add_input_port (const dsp::PortUuidReference &uuid) |
| void | add_output_port (const dsp::PortUuidReference &uuid) |
| void | add_parameter (const dsp::ProcessorParameterUuidReference &uuid) |
| auto & | get_input_ports () const |
| auto & | get_output_ports () const |
| auto & | get_parameters () const |
| utils::Utf8String | get_node_name () const final |
| Returns a human friendly name of the node. | |
| void | process_block (EngineProcessTimeInfo time_nfo, const dsp::ITransport &transport) noexcept final |
| Calls custom_process_block() internally after processing all the parameters. | |
| void | prepare_for_processing (const graph::GraphNode *node, units::sample_rate_t sample_rate, nframes_t max_block_length) final |
| Called to allocate resources required for processing. | |
| void | release_resources () final |
| Called to release resources allocated by prepare_for_processing(). | |
| Public Member Functions inherited from zrythm::dsp::graph::IProcessable | |
| virtual nframes_t | get_single_playback_latency () const |
| Returns the latency of only the given processable, without adding the previous/next latencies. | |
Additional Inherited Members | |
| Protected Member Functions inherited from zrythm::dsp::ProcessorBase | |
| auto | dependencies () const |
A simple processor that outputs panic MIDI events when requested to.
Definition at line 17 of file midi_panic_processor.h.
|
inline |
Definition at line 22 of file midi_panic_processor.h.
|
inlineoverridevirtual |
Reimplemented from zrythm::dsp::ProcessorBase.
Definition at line 55 of file midi_panic_processor.h.
|
inlineoverridevirtualnoexcept |
Custom processor logic after processing all owned parameters.
By default, this does passthrough to same-type ports.
Reimplemented from zrythm::dsp::ProcessorBase.
Definition at line 42 of file midi_panic_processor.h.
|
inlineoverridevirtual |
Reimplemented from zrythm::dsp::ProcessorBase.
Definition at line 63 of file midi_panic_processor.h.
|
inline |
Request panic messages to be sent.
This is realtime-safe and can be called from any thread.
Definition at line 36 of file midi_panic_processor.h.