Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::arrangement::AutomationPoint Class Referencefinal

An automation point inside an AutomationTrack. More...

#include <src/structure/arrangement/automation_point.h>

Inheritance diagram for zrythm::structure::arrangement::AutomationPoint:
Collaboration diagram for zrythm::structure::arrangement::AutomationPoint:

Public Member Functions

 AutomationPoint (const dsp::TempoMapWrapper &tempo_map_wrapper, QObject *parent=nullptr)
dsp::ContentPosition * position () const override
float value () const
void setValue (float dval)
Q_SIGNAL void valueChanged (float)
dsp::CurveOptionsQmlAdapter * curveOpts () const
Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObject
auto type () const
dsp::ContentPosition * length () const
ArrangerObjectName * name () const
ArrangerObjectColor * color () const
ArrangerObjectMuteFunctionality * mute () const
Q_SIGNAL void propertiesChanged ()
 Emitted when any of the properties of the object changed.
ArrangerObject * parentObject () const
void setParentObject (ArrangerObject *object)
Q_SIGNAL void parentObjectChanged (QObject *parentObject)
const dsp::TempoMap & get_tempo_map () const
const dsp::TempoMapWrapper & get_tempo_map_wrapper () const
virtual std::vector< ArrangerObjectListModel * > get_child_list_models () const
Public Member Functions inherited from zrythm::utils::UuidIdentifiableObject< ArrangerObject >
 UuidIdentifiableObject (QObject *parent=nullptr)
auto get_uuid () const
Public Member Functions inherited from zrythm::utils::UuidIdentifiableBase
 UuidIdentifiableBase (QObject *parent=nullptr)
 UuidIdentifiableBase (const QUuid &id, QObject *parent=nullptr)
QUuid raw_uuid () const

Properties

float value
dsp::CurveOptionsQmlAdapter * curveOpts
Properties inherited from zrythm::structure::arrangement::ArrangerObject
QML_ELEMENT zrythm::structure::arrangement::ArrangerObject * parentObject
zrythm::structure::arrangement::ArrangerObject::Type type
zrythm::dsp::Position * position
zrythm::dsp::ContentPosition * length
zrythm::structure::arrangement::ArrangerObjectName * name
zrythm::structure::arrangement::ArrangerObjectColor * color
zrythm::structure::arrangement::ArrangerObjectMuteFunctionality * mute

Friends

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

Additional Inherited Members

Public Types inherited from zrythm::structure::arrangement::ArrangerObject
enum class  Type : std::uint8_t {
  MidiClip , AudioClip , ChordClip , AutomationClip ,
  MidiControlEvent , MidiNote , ChordObject , ScaleObject ,
  Marker , AutomationPoint , AudioSourceObject , TempoObject ,
  TimeSignatureObject
}
 The type of the object. More...
Public Types inherited from zrythm::utils::UuidIdentifiableObject< ArrangerObject >
using uuid_base_type
 Exposes the CRTP parameter for concept checking.
Protected Types inherited from zrythm::structure::arrangement::ArrangerObject
enum class  ArrangerObjectFeatures : std::uint8_t {
  Bounds = 1 << 0 , Name = 1 << 1 , Color = 1 << 2 , Mute = 1 << 3 ,
  ClipOwned = 1 << 4
}
Protected Member Functions inherited from zrythm::structure::arrangement::ArrangerObject
 ArrangerObject (Type type, const dsp::TempoMapWrapper &tempo_map_wrapper, ArrangerObjectFeatures features, QObject *parent=nullptr) noexcept
 Construct a new ArrangerObject.
Protected Member Functions inherited from zrythm::utils::UuidIdentifiableBase
void set_raw_uuid (const QUuid &id)

Detailed Description

An automation point inside an AutomationTrack.

Definition at line 15 of file automation_point.h.

Member Function Documentation

◆ curveOpts()

dsp::CurveOptionsQmlAdapter * zrythm::structure::arrangement::AutomationPoint::curveOpts ( ) const
inline

Definition at line 51 of file automation_point.h.

◆ position()

dsp::ContentPosition * zrythm::structure::arrangement::AutomationPoint::position ( ) const
inlineoverridevirtual

Reimplemented from zrythm::structure::arrangement::ArrangerObject.

Definition at line 30 of file automation_point.h.

◆ setValue()

void zrythm::structure::arrangement::AutomationPoint::setValue ( float dval)
inline

Definition at line 40 of file automation_point.h.

◆ value()

float zrythm::structure::arrangement::AutomationPoint::value ( ) const
inline

Definition at line 39 of file automation_point.h.

Property Documentation

◆ curveOpts

dsp::CurveOptionsQmlAdapter * zrythm::structure::arrangement::AutomationPoint::curveOpts
read

Definition at line 19 of file automation_point.h.

◆ value

float zrythm::structure::arrangement::AutomationPoint::value
readwrite

Definition at line 18 of file automation_point.h.


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