Zrythm
a highly automated and intuitive digital audio workstation
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
AutomationPoint Struct Reference

An automation point inside an AutomationTrack. More...

#include <dsp/automation_point.h>

Inheritance diagram for AutomationPoint:
Collaboration diagram for AutomationPoint:

Data Fields

ArrangerObject base
 Base struct.
 
float fvalue
 Float value (real).
 
float normalized_val
 Normalized value (0 to 1) used as a cache.
 
CurveOptions curve_opts
 
int index
 Index in the region.
 
AutomationPointDrawSettings last_settings
 Last settings used for drawing in editor.
 
AutomationPointDrawSettings last_settings_tl
 Last settings used for drawing in timeline.
 
GskRenderNode * cairo_node
 Cached cairo node to reuse when drawing in the editor.
 
GskRenderNode * cairo_node_tl
 Cached cairo node to reuse when drawing in the timeline.
 
char * tmp_str
 Temporary string used with StringEntryDialogWidget.
 
- Data Fields inherited from ArrangerObject
ArrangerObjectType type
 
ArrangerObjectFlags flags
 Flags.
 
Position pos
 Position (or start Position if the object has length).
 
Position end_pos
 End Position, if the object has one.
 
Position clip_start_pos
 Start position of the clip loop, relative to the object's start.
 
Position loop_start_pos
 Loop start Position, if the object has one, relative to the object's start.
 
Position loop_end_pos
 End position of the clip loop, relative to the object's start.
 
Position fade_in_pos
 Fade in position, relative to the object's start.
 
Position fade_out_pos
 Fade out position, relative to the object's start.
 
CurveOptions fade_in_opts
 Fade in curve options.
 
CurveOptions fade_out_opts
 Fade out curve options.
 
GdkRectangle full_rect
 The full rectangle this object covers including off-screen parts, in absolute coordinates.
 
int textw
 Cache text H extents and W extents for the text, if the object has any.
 
int texth
 
ArrangerObjecttransient
 A copy ArrangerObject corresponding to this, such as when ctrl+dragging.
 
ArrangerObjectmain
 The opposite of the above.
 
bool muted
 Whether muted or not (if applicable).
 
int magic
 
RegionIdentifier region_id
 Parent region identifier for objects that are part of a region.
 
int index_in_prev_lane
 Object's index in the previous lane (before being moved to a new lane/track).
 
bool deleted_temporarily
 Whether deleted with delete tool.
 
cairo_t * cached_cr [2]
 Cached cairo_t.
 
cairo_surface_t * cached_surface [2]
 Cached surface containing drawing.
 
GdkRectangle last_name_rect
 Last drawn name rectangle, if object has a name.
 
bool is_auditioner
 Whether part of an auditioner track.
 

Additional Inherited Members

- Public Member Functions inherited from ArrangerObject
void arranger_object_move (ArrangerObject *self, const double ticks)
 Moves the object by the given amount of ticks.
 
bool arranger_object_validate (const ArrangerObject *const self)
 Validates the arranger object.
 
void arranger_object_set_name (ArrangerObject *self, const char *name, int fire_events)
 Sets the name of the object, if the object can have a name.
 

Detailed Description

An automation point inside an AutomationTrack.

Definition at line 49 of file automation_point.h.

Field Documentation

◆ base

ArrangerObject AutomationPoint::base

Base struct.

Definition at line 52 of file automation_point.h.

◆ cairo_node

GskRenderNode* AutomationPoint::cairo_node

Cached cairo node to reuse when drawing in the editor.

Definition at line 73 of file automation_point.h.

◆ cairo_node_tl

GskRenderNode* AutomationPoint::cairo_node_tl

Cached cairo node to reuse when drawing in the timeline.

Definition at line 77 of file automation_point.h.

◆ curve_opts

CurveOptions AutomationPoint::curve_opts

Definition at line 60 of file automation_point.h.

◆ fvalue

float AutomationPoint::fvalue

Float value (real).

Definition at line 55 of file automation_point.h.

◆ index

int AutomationPoint::index

Index in the region.

Definition at line 63 of file automation_point.h.

◆ last_settings

AutomationPointDrawSettings AutomationPoint::last_settings

Last settings used for drawing in editor.

Definition at line 66 of file automation_point.h.

◆ last_settings_tl

AutomationPointDrawSettings AutomationPoint::last_settings_tl

Last settings used for drawing in timeline.

Definition at line 69 of file automation_point.h.

◆ normalized_val

float AutomationPoint::normalized_val

Normalized value (0 to 1) used as a cache.

Definition at line 58 of file automation_point.h.

◆ tmp_str

char* AutomationPoint::tmp_str

Temporary string used with StringEntryDialogWidget.

Definition at line 80 of file automation_point.h.


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