Vtc.Timecode (vtc v0.1.1) View Source

Link to this section Summary

Types

t()
Type that represents Timecode struct with :seconds as the rational representation
of the number of seconds that have elapsed since 01:00:00:00 and :rate as the
framerate the timecode is being calculated at.

Link to this section Types

Specs

parse_result() :: {:ok, t()} | {:error, Vtc.Timecode.ParseError.t()}

Specs

t() :: %Vtc.Timecode{rate: Vtc.Framerate.t(), seconds: Ratio.t()}
Type that represents Timecode struct with :seconds as the rational representation
of the number of seconds that have elapsed since 01:00:00:00 and :rate as the
framerate the timecode is being calculated at.

Link to this section Functions

Specs

frames(t()) :: integer()

Specs

sections(t()) :: Vtc.Timecode.Sections.t()

Specs

timecode(t()) :: String.t()
Link to this function

with_frames(frames, rate)

View Source

Specs

Link to this function

with_seconds(seconds, rate)

View Source

Specs