Zongzi.Score.Tick (zongzi v0.3.0)

Copy Markdown

Tick is the time unit for the SVS editor.

Summary

Types

t()

A specific non-negative integer tick, or :dynamic_tick — the sentinel marking the timeline's dynamic end.

Types

dynamic_tick()

@type dynamic_tick() :: :dynamic_tick

numeric_tick()

@type numeric_tick() :: non_neg_integer()

t()

@type t() :: numeric_tick() | dynamic_tick()

A specific non-negative integer tick, or :dynamic_tick — the sentinel marking the timeline's dynamic end.

Functions

get_dynamic_tick()

@spec get_dynamic_tick() :: dynamic_tick()

is_dynamic_tick(maybe_tick)

(macro)

is_numeric_tick(maybe_tick)

(macro)

is_tick(maybe_tick)

(macro)