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

One anchor in a source→output time-warp mapping. More...

#include <src/dsp/time_warp_map.h>

Data Fields

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.

Detailed Description

One anchor in a source→output time-warp mapping.

Both axes are sample frame indices. A time-stretch engine interpolates between consecutive anchors to produce a continuously varying stretch factor.

Definition at line 20 of file time_warp_map.h.

Field Documentation

◆ output_frame

units::sample_t zrythm::dsp::WarpAnchor::output_frame

Frame index in the output (stretched) audio, relative to clip start.

Definition at line 25 of file time_warp_map.h.

◆ source_frame

units::sample_t zrythm::dsp::WarpAnchor::source_frame

Frame index in the source (clip) audio.

Definition at line 23 of file time_warp_map.h.


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