Zrythm v2.0.0-DEV
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::TempoMap &tempo_map, QObject *parent=nullptr)
float value () const
void setValue (float dval)
Q_SIGNAL void valueChanged (float)
dsp::CurveOptionsQmlAdaptercurveOpts () const
Public Member Functions inherited from zrythm::structure::arrangement::ArrangerObject
bool is_start_hit_by_range (const signed_frame_t frames_start, const signed_frame_t frames_end, bool range_start_inclusive=true, bool range_end_inclusive=false) const
void set_selection_status_getter (SelectionStatusGetter getter)
void unset_selection_status_getter ()
auto type () const
bool getSelected () const
dsp::AtomicPositionQmlAdapterposition () const
auto & get_tempo_map () const
Public Member Functions inherited from zrythm::utils::UuidIdentifiableObject< ArrangerObject >
UuidIdentifiableObjectoperator= (const UuidIdentifiableObject &other)=default
auto get_uuid () const

Properties

float value
dsp::CurveOptionsQmlAdaptercurveOpts

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 : basic_enum_base_type_t {
  MidiRegion , AudioRegion , ChordRegion , AutomationRegion ,
  MidiNote , ChordObject , ScaleObject , Marker ,
  AutomationPoint , AudioSourceObject
}
 The type of the object. More...
using SelectionStatusGetter = std::function<bool (const Uuid &)>
Protected Member Functions inherited from zrythm::structure::arrangement::ArrangerObject
 ArrangerObject (Type type, const dsp::TempoMap &tempo_map, QObject &derived) noexcept
 Construct a new ArrangerObject.
Protected Attributes inherited from zrythm::structure::arrangement::ArrangerObject
std::optional< SelectionStatusGetter > selection_status_getter_

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 44 of file automation_point.h.

◆ setValue()

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

Definition at line 33 of file automation_point.h.

◆ value()

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

Definition at line 32 of file automation_point.h.

◆ from_json

void from_json ( const nlohmann::json & j,
AutomationPoint & point )
friend

Definition at line 65 of file automation_point.h.

◆ to_json

void to_json ( nlohmann::json & j,
const AutomationPoint & point )
friend

Definition at line 59 of file automation_point.h.

Property Documentation

◆ curveOpts

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

Definition at line 20 of file automation_point.h.

◆ value

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

Definition at line 19 of file automation_point.h.


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