Tamale.Op.Retime (tamale v0.1.0)

Copy Markdown

Re-time id from old_span to new_span ({start, stop} in the space's native coordinate). Identity and order are untouched; the spans exist so the adapter layer can build warps for Anchor.Metric.

Spans are coordinates (Tamale.Coord): integers and {num, den} rationals are accepted, floats are rejected with :invalid_span at Tamale.Space.apply_batch/2.

Summary

Types

t()

@type t() :: %Tamale.Op.Retime{
  id: Tamale.id(),
  new_span: {Tamale.Coord.input(), Tamale.Coord.input()},
  old_span: {Tamale.Coord.input(), Tamale.Coord.input()}
}