8#include "utils/units.h"
44 std::vector<WarpAnchor> anchors;
76is_sample_space_identity (
78 units::sample_t tolerance = units::samples (2));
A monotonic time-warp mapping from source samples to output samples.
units::sample_t output_length
Total output frames (length of the stretched result).
units::sample_t source_length
Total source frames (length of the input clip).
bool is_valid() const noexcept
Validates the invariants of a well-formed warp map.
One anchor in a source→output time-warp mapping.
units::sample_t source_frame
Frame index in the source (clip) audio.
units::sample_t output_frame
Frame index in the output (stretched) audio, relative to clip start.