Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint Struct Reference

A single control point in a rendered automation curve. More...

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

Data Fields

dsp::TimelineTick position
float value
dsp::CurveOptions::Algorithm curve_algo
float curve_curviness
dsp::TimelineTick curve_origin_start
 The AP pair that drives the curve starting at this point.
dsp::TimelineTick curve_origin_end
float curve_origin_value_a
float curve_origin_value_b

Detailed Description

A single control point in a rendered automation curve.

Positions are timeline ticks relative to the clip start (tick 0 = clip start), matching how serialize_to_sequence produces tick timestamps. Curve parameters come from the AutomationPoint whose curve segment drives the region starting at this point.

The curve_origin_* fields carry the original AP-pair domain so that when a boundary point splits an AP pair (e.g. clip-start or loop-wrap), the consumer can evaluate the curve at the correct ratio within the original domain — not the truncated [boundary, next-AP] span.

Definition at line 88 of file clip_renderer.h.

Field Documentation

◆ curve_algo

dsp::CurveOptions::Algorithm zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::curve_algo

Definition at line 92 of file clip_renderer.h.

◆ curve_curviness

float zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::curve_curviness

Definition at line 93 of file clip_renderer.h.

◆ curve_origin_end

dsp::TimelineTick zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::curve_origin_end

Definition at line 99 of file clip_renderer.h.

◆ curve_origin_start

dsp::TimelineTick zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::curve_origin_start

The AP pair that drives the curve starting at this point.

For actual APs: origin_start == position, value_a == value. For boundary interpolations: spans the full original AP-to-AP range.

Definition at line 98 of file clip_renderer.h.

◆ curve_origin_value_a

float zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::curve_origin_value_a

Definition at line 100 of file clip_renderer.h.

◆ curve_origin_value_b

float zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::curve_origin_value_b

Definition at line 101 of file clip_renderer.h.

◆ position

dsp::TimelineTick zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::position

Definition at line 90 of file clip_renderer.h.

◆ value

float zrythm::structure::arrangement::ClipRenderer::RenderedAutomationPoint::value

Definition at line 91 of file clip_renderer.h.


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