|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
A constant-tempo sub-segment of an automation curve. More...
#include <src/dsp/timeline_data_cache.h>
Data Fields | |
| units::sample_t | start_sample |
| Absolute sample positions (for binary search). | |
| units::sample_t | end_sample |
| float | ratio_start |
| Position within the full automation point pair (0 = first point, 1 = second point). | |
| float | ratio_end |
| float | point_a_value |
| Values of the two automation points bracketing this segment. | |
| float | point_b_value |
| dsp::CurveOptions::Algorithm | curve_algo |
| Curve parameters from the automation point that drives this segment. | |
| float | curve_curviness |
A constant-tempo sub-segment of an automation curve.
Because the tempo is constant within each segment, the sample-space ratio equals the tick-space ratio, so the audio thread can evaluate the curve without accessing the tempo map.
Definition at line 269 of file timeline_data_cache.h.
| dsp::CurveOptions::Algorithm zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::curve_algo |
Curve parameters from the automation point that drives this segment.
Definition at line 290 of file timeline_data_cache.h.
| float zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::curve_curviness |
Definition at line 291 of file timeline_data_cache.h.
| units::sample_t zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::end_sample |
Definition at line 273 of file timeline_data_cache.h.
| float zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::point_a_value |
Values of the two automation points bracketing this segment.
Definition at line 286 of file timeline_data_cache.h.
| float zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::point_b_value |
Definition at line 287 of file timeline_data_cache.h.
| float zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::ratio_end |
Definition at line 283 of file timeline_data_cache.h.
| float zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::ratio_start |
Position within the full automation point pair (0 = first point, 1 = second point).
For sub-segments split by tempo changes, these span a sub-range of [0, 1]. For flat hold segments, both are 1.0.
Definition at line 282 of file timeline_data_cache.h.
| units::sample_t zrythm::dsp::AutomationTimelineDataCache::CachedAutomationSegment::start_sample |
Absolute sample positions (for binary search).
Definition at line 272 of file timeline_data_cache.h.