Skip to main content

Module sync

Module sync 

Source
Expand description

Real-time multi-stream sync and resampler (docs/roadmap.md, step 18). Live multi-inlet time-grid aligner and resampler (docs/roadmap.md, step 18).

SyncGroup combines N live numeric Inlets (enabling the opt-in drift clock from step 17 and calibrated device delay from step 15 by default), forwards inlet gap descriptors, and resamples all streams onto one common monotonic time grid with bounded lookahead and bounded memory.

Structs§

AlignedSample
One aligned sample on the common monotonic output grid.
StreamAligner
Real-time multi-stream aligner and fractional-delay sinc resampler.
StreamSpec
Description of one input stream fed into StreamAligner.
SyncConfig
Configuration for StreamAligner and SyncGroup.
SyncGroup
Live multi-stream aligner combining N numeric Inlets onto one common monotonic time grid.

Constants§

DEFAULT_GAP_FACTOR
Default timestamp-jump multiple of 1 / nominal_srate treated as a gap.
DEFAULT_HALF_WIDTH
Default half-width of the windowed-sinc kernel in source samples (2 * 16 = 32 taps).
DEFAULT_MAX_BUFFER_SAMPLES
Default per-stream ring buffer capacity in samples.