|
| | Fader (dsp::ProcessorBase::ProcessorBaseDependencies dependencies, dsp::PortType signal_type, bool hard_limit_output, bool make_params_automatable, std::optional< std::function< utils::Utf8String()> > owner_name_provider, ShouldBeMutedCallback should_be_muted_cb, QObject *parent=nullptr) |
| | Creates a new fader.
|
| MidiFaderMode | midiMode () const |
| void | setMidiMode (MidiFaderMode mode) |
|
Q_SIGNAL void | midiModeChanged (MidiFaderMode mode) |
| zrythm::dsp::ProcessorParameter * | gain () const |
| zrythm::dsp::ProcessorParameter * | balance () const |
| zrythm::dsp::ProcessorParameter * | mute () const |
| zrythm::dsp::ProcessorParameter * | solo () const |
| zrythm::dsp::ProcessorParameter * | listen () const |
| zrythm::dsp::ProcessorParameter * | monoToggle () const |
| zrythm::dsp::ProcessorParameter * | swapPhaseToggle () const |
| bool | currently_muted () const |
| | Returns if the fader is muted.
|
| bool | currently_soloed () const |
| | Returns if the track is soloed.
|
| bool | currently_listened () const |
| | Returns whether the fader is listened.
|
| float | get_current_amp () const |
| | Gets the fader amplitude (not db).
|
|
std::string | db_string_getter () const |
| void | set_mute_gain_callback (MuteGainCallback cb) |
| void | set_preprocess_audio_callback (PreProcessAudioCallback cb) |
| 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 |
| void | custom_process_block (EngineProcessTimeInfo time_nfo, const dsp::ITransport &transport) noexcept override |
| | Custom processor logic after processing all owned parameters.
|
| bool | is_audio () const |
| bool | is_midi () const |
| bool | hard_limiting_enabled () const |
| dsp::ProcessorParameter & | get_amp_param () const |
| dsp::ProcessorParameter & | get_balance_param () const |
| dsp::ProcessorParameter & | get_mute_param () const |
| dsp::ProcessorParameter & | get_solo_param () const |
| dsp::ProcessorParameter & | get_listen_param () const |
| dsp::ProcessorParameter & | get_mono_compat_enabled_param () const |
| dsp::ProcessorParameter & | get_swap_phase_param () const |
| dsp::AudioPort & | get_stereo_in_port () const |
| dsp::AudioPort & | get_stereo_out_port () const |
| dsp::MidiPort & | get_midi_in_port () const |
| dsp::MidiPort & | get_midi_out_port () const |
| auto | currently_soloed_rt () const noexcept |
| bool | currently_listened_rt () const noexcept |
|
| 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().
|
| virtual nframes_t | get_single_playback_latency () const |
| | Returns the latency of only the given processable, without adding the previous/next latencies.
|
A Fader is a processor that is used for volume controls and pan.
Definition at line 20 of file fader.h.