Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::tracks::AutomatableTrackMixin Class Reference

Mixin for a track that has automatable parameters, to be used via composition. More...

#include <src/structure/tracks/automatable_track.h>

Inheritance diagram for zrythm::structure::tracks::AutomatableTrackMixin:
Collaboration diagram for zrythm::structure::tracks::AutomatableTrackMixin:

Public Member Functions

 AutomatableTrackMixin (AutomationTrackHolder::Dependencies dependencies, QObject *parent=nullptr)
bool automationVisible () const
void setAutomationVisible (bool visible)
Q_SIGNAL void automationVisibleChanged (bool visible)
AutomationTracklistautomationTracklist () const
void generate_automation_tracks_for_processor (std::vector< utils::QObjectUniquePtr< AutomationTrack > > &ret, const dsp::ProcessorBase &processor) const
 Generates automatables for the given processor.

Properties

QML_ELEMENT bool automationVisible
AutomationTracklistautomationTracklist

Friends

void init_from (AutomatableTrackMixin &obj, const AutomatableTrackMixin &other, utils::ObjectCloneType clone_type)
void to_json (nlohmann::json &j, const AutomatableTrackMixin &track)
void from_json (const nlohmann::json &j, AutomatableTrackMixin &track)

Detailed Description

Mixin for a track that has automatable parameters, to be used via composition.

Note
Tracks that can have plugins must use this.

Definition at line 17 of file automatable_track.h.

Member Function Documentation

◆ automationTracklist()

AutomationTracklist * zrythm::structure::tracks::AutomatableTrackMixin::automationTracklist ( ) const
inline

Definition at line 40 of file automatable_track.h.

◆ automationVisible()

bool zrythm::structure::tracks::AutomatableTrackMixin::automationVisible ( ) const
inline

Definition at line 36 of file automatable_track.h.

◆ generate_automation_tracks_for_processor()

void zrythm::structure::tracks::AutomatableTrackMixin::generate_automation_tracks_for_processor ( std::vector< utils::QObjectUniquePtr< AutomationTrack > > & ret,
const dsp::ProcessorBase & processor ) const
inline

Generates automatables for the given processor.

Definition at line 50 of file automatable_track.h.

◆ from_json

void from_json ( const nlohmann::json & j,
AutomatableTrackMixin & track )
friend

Definition at line 84 of file automatable_track.h.

◆ to_json

void to_json ( nlohmann::json & j,
const AutomatableTrackMixin & track )
friend

Definition at line 79 of file automatable_track.h.

Property Documentation

◆ automationTracklist

AutomationTracklist * zrythm::structure::tracks::AutomatableTrackMixin::automationTracklist
read

Definition at line 24 of file automatable_track.h.

◆ automationVisible

QML_ELEMENT bool zrythm::structure::tracks::AutomatableTrackMixin::automationVisible
readwrite

Definition at line 21 of file automatable_track.h.


The documentation for this class was generated from the following file: