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

Knobs for measure_delayed_passthrough. More...

#include <latency_evidence.hpp>

Public Attributes

std::int64_t max_delay_samples = 8192
 Largest delay considered, in samples.
double null_floor_db = -60.0
 The residual at the best delay must be at least this far below the input level for the output to count as "a delayed copy of the input".
double ambiguity_margin_db = 12.0
 The best delay must beat every non-adjacent competing delay by at least this margin.
std::int64_t tolerance_samples = 0
 |measured - reported| may not exceed this and still be a match.

Detailed Description

Knobs for measure_delayed_passthrough.

The defaults are deliberately conservative: they would rather refuse to measure than report a delay they are not sure of.

Member Data Documentation

◆ ambiguity_margin_db

double pulp::test::audio::DelayedNullOptions::ambiguity_margin_db = 12.0

The best delay must beat every non-adjacent competing delay by at least this margin.

This is what stops a periodic stimulus (a pure sine nulls just as well one period late) from producing a confident wrong answer.

◆ max_delay_samples

std::int64_t pulp::test::audio::DelayedNullOptions::max_delay_samples = 8192

Largest delay considered, in samples.

The search window is [0, max_delay_samples]; a true delay beyond it reads as not_measurable.

◆ null_floor_db

double pulp::test::audio::DelayedNullOptions::null_floor_db = -60.0

The residual at the best delay must be at least this far below the input level for the output to count as "a delayed copy of the input".

If it is not, the processor is doing something other than passing audio through and the policy reports not_measurable rather than guessing.

◆ tolerance_samples

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

|measured - reported| may not exceed this and still be a match.


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