isContinuous
function isContinuous(
Function: isContinuous()
function isContinuous(
previous,
next,
elapsedFrames,
frameRate): boolean;Defined in: packages/motion/src/Audio.ts:377
Whether a track's transport continued smoothly between two observed
frames elapsedFrames apart — the adapters' resync test.
Parameters
Returns
boolean
Remarks
Continuous means the same playing state and a time within
cursorTolerance of previous.time + elapsedFrames / frameRate
(paused: unchanged). Anything else — a seek, pause, resume, stop, or a
direct write — is a discontinuity to resync to. Skipped frames (player
catch-up, sparse export sampling) stay continuous because the expected
cursor accounts for every elapsed frame.