Core · interface
TimeCurve
Explained in The loop.
interface TimeCurveimport type { TimeCurve } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
kindreadonly | TimeCurveKind | |
durationSecreadonly | number | Length of the segment on the clip's own clock, seconds. |
amountreadonly | number | How much of the segment the effect claims, 0–1.More
|
stepSecreadonly | number | stutter only: one freeze-and-catch-up cycle, seconds. |
reversibleSecreadonly | number | reverse only: how far back the caller can actually go, in source
seconds.MoreRunning a re-simulated stream backwards is impossible without keeping the
states to go back to, so the reversible window is a property of the
consumer's buffer and has to be supplied rather than assumed. A curve never
returns an offset below |