Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::playback::CompensatedReadSegment Struct Reference

One contiguous run of a compensated read window after an enabled loop has been applied to it. More...

#include <event_compensation.hpp>

Public Attributes

timebase::SamplePosition document_start {}
 Document sample the run reads the program from.
std::uint32_t frame_count = 0
 Length of the run, in frames.
std::uint32_t range_offset = 0
 Where the run starts inside its TransportRange.
std::uint64_t pass_offset = 0
 Loop passes between range.loop_pass_index and the pass this run reads.

Detailed Description

One contiguous run of a compensated read window after an enabled loop has been applied to it.

Member Data Documentation

◆ document_start

timebase::SamplePosition pulp::playback::CompensatedReadSegment::document_start {}

Document sample the run reads the program from.

◆ frame_count

std::uint32_t pulp::playback::CompensatedReadSegment::frame_count = 0

Length of the run, in frames.

◆ pass_offset

std::uint64_t pulp::playback::CompensatedReadSegment::pass_offset = 0

Loop passes between range.loop_pass_index and the pass this run reads.

A run past the loop point reads the NEXT pass, so a per-pass note modifier must be resolved against that pass and not against the transport's.

◆ range_offset

std::uint32_t pulp::playback::CompensatedReadSegment::range_offset = 0

Where the run starts inside its TransportRange.

Add range.sample_offset to place an emitted event in the block.


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