Skip to main content

Module jam_sync

Module jam_sync 

Source
Expand description

Jam-sync controller for locking a local timecode generator to an external timecode reference (LTC/MTC).

§Overview

A JamSyncController ingests external timecode frames via feed_reference. Once lock_threshold consecutive frames arrive that are exactly one frame apart (within tolerance frames), the controller transitions to Locked and slaves its internal TimecodeGenerator to the reference.

If the reference disappears (no call to feed_reference for more than holdover_budget increments), the controller transitions to Holdover: the local generator keeps running from the last known-good position. Calls to output continue to return valid, incrementing timecodes during holdover.

Structs§

JamSyncConfig
Configuration for a JamSyncController.
JamSyncController
Controller that synchronises a local timecode generator to an external timecode reference.

Enums§

JamSyncState
The synchronisation state of a JamSyncController.