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

One iteration of the loop-expanded clip content. More...

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

Data Fields

dsp::ContentTick virt_start
 Start of this segment's range in source-content space.
dsp::ContentTick virt_end
 End of this segment's range in source-content space.
dsp::ContentTick abs_start
 Start of this segment in clip-absolute space (0 = clip start).
dsp::ContentTick abs_end
 End of this segment in clip-absolute space.

Detailed Description

One iteration of the loop-expanded clip content.

Loopable clips play their content in a specific order:

  • First, the "intro" from clip_start to loop_end (plays once).
  • Then, the loop region from loop_start to loop_end (repeats).

Each LoopSegment represents one contiguous chunk of source content mapped to an absolute position within the clip.

Definition at line 24 of file loop_segment_iterator.h.

Field Documentation

◆ abs_end

dsp::ContentTick zrythm::structure::arrangement::LoopSegment::abs_end

End of this segment in clip-absolute space.

Definition at line 33 of file loop_segment_iterator.h.

◆ abs_start

dsp::ContentTick zrythm::structure::arrangement::LoopSegment::abs_start

Start of this segment in clip-absolute space (0 = clip start).

Definition at line 31 of file loop_segment_iterator.h.

◆ virt_end

dsp::ContentTick zrythm::structure::arrangement::LoopSegment::virt_end

End of this segment's range in source-content space.

Definition at line 29 of file loop_segment_iterator.h.

◆ virt_start

dsp::ContentTick zrythm::structure::arrangement::LoopSegment::virt_start

Start of this segment's range in source-content space.

Definition at line 27 of file loop_segment_iterator.h.


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