Vtc.Timecode.mult
You're seeing just the function
mult
, go back to Vtc.Timecode module for more information.
Specs
Scales a
by b
. The result will inheret the framerat of a
and be rounded to the
seconds representation of the nearest whole-frame at that rate.
Examples
iex> a = Timecode.with_frames!("01:00:00:00", Rates.f23_98())
iex> Timecode.mult(a, 2) |> Timecode.to_string()
"<02:00:00:00 @ <23.98 NTSC NDF>>"
iex> a = Timecode.with_frames!("01:00:00:00", Rates.f23_98())
iex> Timecode.mult(a, 0.5) |> Timecode.to_string()
"<00:30:00:00 @ <23.98 NTSC NDF>>"