|
|
| Fader (QObject *parent=nullptr) |
| |
| | Fader (PortRegistry &port_registry, Type type, bool passthrough, Track *track, ControlRoom *control_room, SampleProcessor *sample_processor) |
| | Creates a new fader.
|
| |
|
void | init_loaded (PortRegistry &port_registry, Track *track, ControlRoom *control_room, SampleProcessor *sample_processor) |
| | Inits fader after a project is loaded.
|
| |
|
void | append_ports (std::vector< Port * > &ports) const |
| | Appends the ports owned by fader to the given array.
|
| |
| utils::Utf8String | get_node_name () const override |
| | Returns a human friendly name of the node.
|
| |
| void | set_amp (float amp) |
| | Sets the amplitude of the fader.
|
| |
| void | set_amp_with_action (float amp_from, float amp_to, bool skip_if_equal) |
| | Sets the amp value with an undoable action.
|
| |
|
void | add_amp (float amp) |
| | Adds (or subtracts if negative) to the amplitude of the fader (clamped at 0.0 to 2.0).
|
| |
|
void | set_midi_mode (MidiFaderMode mode, bool with_action, bool fire_events) |
| |
|
void | set_muted (bool mute, bool fire_events) |
| | Sets track muted and optionally adds the action to the undo stack.
|
| |
| bool | get_muted () const |
| | Returns if the fader is muted.
|
| |
| bool | get_soloed () const |
| | Returns if the track is soloed.
|
| |
|
bool | get_implied_soloed () const |
| | Returns whether the fader is not soloed on its own but its direct out (or its direct out's direct out, etc.) or its child (or its children's child, etc.) is soloed.
|
| |
| bool | get_listened () const |
| | Returns whether the fader is listened.
|
| |
|
void | set_listened (bool listen, bool fire_events) |
| | Sets fader listen and optionally adds the action to the undo stack.
|
| |
|
void | set_soloed (bool solo, bool fire_events) |
| | Sets track soloed and optionally adds the action to the undo stack.
|
| |
| float | get_amp () const |
| | Gets the fader amplitude (not db)
|
| |
| bool | get_mono_compat_enabled () const |
| | Gets whether mono compatibility is enabled.
|
| |
|
void | set_mono_compat_enabled (bool enabled, bool fire_events) |
| | Sets whether mono compatibility is enabled.
|
| |
| bool | get_swap_phase () const |
| | Gets whether mono compatibility is enabled.
|
| |
|
void | set_swap_phase (bool enabled, bool fire_events) |
| | Sets whether mono compatibility is enabled.
|
| |
| float | get_fader_val () const |
| |
| float | get_default_fader_val () const |
| |
|
std::string | db_string_getter () const |
| |
|
Channel * | get_channel () const |
| |
|
Track * | get_track () const |
| |
|
void | update_volume_and_fader_val () |
| |
|
void | clear_buffers (std::size_t block_length) |
| | Clears all buffers.
|
| |
|
void | set_fader_val (float fader_val) |
| | Sets the fader levels from a normalized value 0.0-1.0 (such as in widgets).
|
| |
|
void | set_fader_val_with_action_from_db (const std::string &str) |
| |
|
void | disconnect_all () |
| | Disconnects all ports connected to the fader.
|
| |
| void | process_block (EngineProcessTimeInfo time_nfo) override |
| | Process the Fader.
|
| |
| bool | is_in_active_project () const override |
| |
| void | set_port_metadata_from_owner (dsp::PortIdentifier &id, PortRange &range) const override |
| | Function that will be called by the Port to update the identifier's relevant members based on this port owner.
|
| |
| utils::Utf8String | get_full_designation_for_port (const dsp::PortIdentifier &id) const override |
| |
| void | on_control_change_event (const PortUuid &port_uuid, const dsp::PortIdentifier &id, float val) override |
| | Will be called when a control port's value changes.
|
| |
| bool | should_bounce_to_master (utils::audio::BounceStep step) const override |
| | Whether the port should add its data to the master output when bouncing.
|
| |
| bool | has_audio_ports () const |
| |
| bool | has_midi_ports () const |
| |
| void | init_after_cloning (const Fader &other, ObjectCloneType clone_type) override |
| | Initializes the cloned object.
|
| |
| ControlPort & | get_amp_port () const |
| |
| ControlPort & | get_balance_port () const |
| |
| ControlPort & | get_mute_port () const |
| |
| ControlPort & | get_solo_port () const |
| |
| ControlPort & | get_listen_port () const |
| |
| ControlPort & | get_mono_compat_enabled_port () const |
| |
| ControlPort & | get_swap_phase_port () const |
| |
| std::pair< AudioPort &, AudioPort & > | get_stereo_in_ports () const |
| |
| std::pair< AudioPort &, AudioPort & > | get_stereo_out_ports () const |
| |
| MidiPort & | get_midi_in_port () const |
| |
| MidiPort & | get_midi_out_port () const |
| |
| auto | get_stereo_in_left_id () const |
| |
| auto | get_stereo_in_right_id () const |
| |
| auto | get_stereo_out_left_id () const |
| |
| auto | get_stereo_out_right_id () const |
| |
| auto | get_midi_in_id () const |
| |
| auto | get_midi_out_id () const |
| |
| std::unique_ptr< Fader > | clone_unique (ObjectCloneType clone_type=ObjectCloneType::Snapshot, Args &&... args) const |
| |
| std::shared_ptr< Fader > | clone_shared (ObjectCloneType clone_type=ObjectCloneType::Snapshot, Args &&... args) const |
| |
| Fader * | clone_raw_ptr (ObjectCloneType clone_type=ObjectCloneType::Snapshot, Args &&... args) const |
| |
| Fader * | clone_qobject (QObject *parent, ObjectCloneType clone_type=ObjectCloneType::Snapshot, Args &&... args) const |
| |
| QScopedPointer< Fader > | clone_unique_qobject (QObject *parent, ObjectCloneType clone_type=ObjectCloneType::Snapshot, Args &&... args) const |
| |
| virtual nframes_t | get_single_playback_latency () const |
| | Returns the latency of only the given processable, without adding the previous/next latencies.
|
| |
| virtual void | clear_external_buffer (nframes_t block_length) |
| |
| virtual bool | needs_external_buffer_clear_on_early_return () const |
| |
| virtual void | on_midi_activity (const dsp::PortIdentifier &id) |
| | Called during processing if the MIDI port contains new MIDI events.
|
| |
| virtual bool | should_sum_data_from_backend () const |
| | Whether during processing, the port should sum the data from its backend buffers coming in.
|
| |
| virtual bool | are_events_on_midi_channel_approved (midi_byte_t channel) const |
| | Returns whether MIDI events on this channel on an input port should be processed (not ignored).
|
| |
A Fader is a processor that is used for volume controls and pan.
Definition at line 46 of file fader.h.