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

Knobs for measure_marker_offset. More...

#include <latency_evidence.hpp>

Public Attributes

std::int64_t input_marker_frame = 0
 Frame of the marker in the input.
std::int64_t intrinsic_response_offset = 0
 Delay the processor adds for reasons other than latency — e.g.
double onset_threshold = 1e-3
 |sample| at or above this linear level counts as the onset.
std::int64_t tolerance_samples = 0

Detailed Description

Member Data Documentation

◆ input_marker_frame

std::int64_t pulp::test::audio::MarkerOffsetOptions::input_marker_frame = 0

Frame of the marker in the input.

The input must have exactly one onset crossing onset_threshold — a second one makes the measurement ambiguous.

◆ intrinsic_response_offset

std::int64_t pulp::test::audio::MarkerOffsetOptions::intrinsic_response_offset = 0

Delay the processor adds for reasons other than latency — e.g.

leading silence in a known IR, or a known attack time. Subtracted from the raw offset before comparing against the report.

◆ onset_threshold

double pulp::test::audio::MarkerOffsetOptions::onset_threshold = 1e-3

|sample| at or above this linear level counts as the onset.

◆ tolerance_samples

std::int64_t pulp::test::audio::MarkerOffsetOptions::tolerance_samples = 0

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