Tamale. Anchor. Metric
(tamale v0.1.0)
Copy Markdown
Coordinate anchor: an interval in some coordinate system (:tick,
:seconds, {:frames, hz}, ...).
Survives iff there is a monotone partial map (a Tamale.Warp) from the
old coordinates to the new ones covering the anchor's support.
Transport folds the per-entry warps a Caller provider supplies — the
kernel holds no element spans and no tempo map. Partial coverage is a
first-class result: {:clip, covered, lost} — see
Tamale.Transport. Semantics: docs/decisions/0003-warp-semantics.md.
Endpoints are exact rational coordinates (Tamale.Coord): integers
are promoted, floats are rejected at transport time.
Summary
Types
@type t() :: %Tamale.Anchor.Metric{ at_version: Tamale.version(), coord: term(), from: Tamale.Coord.input(), to: Tamale.Coord.input() }