|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Represents a channel strip on the mixer. More...
#include <src/structure/tracks/channel.h>


Public Types | |
| using | PortType = zrythm::dsp::PortType |
| using | Plugin = plugins::Plugin |
| using | PluginDescriptor = zrythm::plugins::PluginDescriptor |
| using | PluginPtrVariant = plugins::PluginPtrVariant |
| using | PluginUuid = Plugin::Uuid |
| using | NameProvider = std::function<utils::Utf8String ()> |
Public Member Functions | |
| Channel (plugins::PluginRegistry &plugin_registry, dsp::ProcessorBase::ProcessorBaseDependencies processor_dependencies, dsp::PortType signal_type, NameProvider name_provider, bool hard_limit_fader_output, dsp::Fader::ShouldBeMutedCallback should_be_muted_cb, QObject *parent=nullptr) | |
| dsp::Fader * | fader () const |
| QVariant | preFader () const |
| dsp::AudioPort * | audioOutPort () const |
| dsp::MidiPort * | getMidiOut () const |
| plugins::PluginGroup * | midiFx () const |
| plugins::PluginGroup * | inserts () const |
| plugins::PluginGroup * | instruments () const |
| bool | is_midi () const |
| bool | is_audio () const |
| void | get_plugins (std::vector< plugins::PluginPtrVariant > &plugins) const |
| Returns all existing plugins in the channel. | |
| plugins::PluginUuidReference | remove_plugin (plugins::Plugin::Uuid id) |
| Removes the given plugin. | |
| dsp::Fader & | get_fader () const |
| auto & | get_midi_pre_fader () const |
| auto & | get_audio_pre_fader () const |
| auto & | get_midi_post_fader () const |
| auto & | get_audio_post_fader () const |
| auto & | pre_fader_sends () const |
| auto & | post_fader_sends () const |
Properties | |
| QML_ELEMENT zrythm::dsp::Fader * | fader |
| QVariant | preFader |
| zrythm::dsp::AudioPort * | audioOutPort |
| zrythm::dsp::MidiPort * | midiOut |
| zrythm::plugins::PluginGroup * | inserts |
| zrythm::plugins::PluginGroup * | midiFx |
| zrythm::plugins::PluginGroup * | instruments |
Friends | |
| void | init_from (Channel &obj, const Channel &other, utils::ObjectCloneType clone_type) |
| void | to_json (nlohmann::json &j, const Channel &c) |
| void | from_json (const nlohmann::json &j, Channel &c) |
Represents a channel strip on the mixer.
The Channel class encapsulates the functionality of a channel strip, including its plugins, fader, sends, and other properties.
Channels are owned by Track's and handle the second part of the signal chain when processing a track, where the signal is fed to each Channel subcomponent. (TrackProcessor handles the first part where any track inputs and arranger events are processed).
| using zrythm::structure::tracks::Channel::NameProvider = std::function<utils::Utf8String ()> |
| using zrythm::structure::tracks::Channel::Plugin = plugins::Plugin |
| using zrythm::structure::tracks::Channel::PluginDescriptor = zrythm::plugins::PluginDescriptor |
| using zrythm::structure::tracks::Channel::PluginPtrVariant = plugins::PluginPtrVariant |
| using zrythm::structure::tracks::Channel::PluginUuid = Plugin::Uuid |
| using zrythm::structure::tracks::Channel::PortType = zrythm::dsp::PortType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void zrythm::structure::tracks::Channel::get_plugins | ( | std::vector< plugins::PluginPtrVariant > & | plugins | ) | const |
Returns all existing plugins in the channel.
| pls | Vector to add plugins to. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| plugins::PluginUuidReference zrythm::structure::tracks::Channel::remove_plugin | ( | plugins::Plugin::Uuid | id | ) |
Removes the given plugin.
|
friend |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |