hex logo Hex
Packages Pricing Docs
Log In
Packages Pricing Docs Log In
Packages

vtc

0.1.9
0.17.5 0.17.4 0.17.3 0.17.2 0.17.1 0.17.0 0.16.9 0.16.8 0.16.7 0.16.6 0.16.5 0.16.4 0.16.2 0.16.1 0.16.0 0.15.4 0.15.3 0.15.2 0.15.1 0.15.0 0.14.5 0.14.4 0.14.3 0.14.2 0.14.1 0.14.0 0.13.15 0.13.14 0.13.13 0.13.12 0.13.11 0.13.10 0.13.9 0.13.8 0.13.7 0.13.6 0.13.5 0.13.4 0.13.3 0.13.2 0.13.1 0.13.0 0.12.1 0.12.0 0.11.1 0.11.0 0.10.10 0.10.9 0.10.8 0.10.7 0.10.6 0.10.5 0.10.4 0.10.3 0.10.2 0.10.1 0.10.0 0.9.2 0.9.1 0.9.0 0.8.4 0.8.3 0.8.2 0.8.1 0.8.0 0.7.3 0.7.2 0.7.1 0.7.0 0.6.1 0.6.0 0.5.3 0.5.2 0.5.1 0.4.0 0.3.9 0.3.8 0.3.7 0.3.6 0.3.5 0.3.4 0.3.3 0.3.2 0.3.1 0.3.0 0.2.6 0.2.5 0.2.4 0.2.3 0.2.2 0.2.1 0.2.0 0.1.9 0.1.8 0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1

A SMPTE timecode library for Elixir

HexDocs

Current section

Files

Jump to
Readme
101 Versions
2 Dependencies
Dependants
Files
Activity
Readme 101 Versions 2 Dependencies Dependants Files Activity
vtc lib consts.ex
Raw

10 files

  • lib
    • consts.ex
    • drop_frame.ex
    • framerate.ex
    • helpers.ex
    • rates.ex
    • sources.ex
    • timcode.ex
  • LICENSE
  • README.md
  • mix.exs

    No matching files

    Package files

      No matching files

      lib/consts.ex

      defmodule Private.Const do
      @moduledoc false
      @spec secondsPerMinute() :: integer
      def secondsPerMinute() do
      60
      end
      @spec secondsPerHour() :: integer
      def secondsPerHour() do
      secondsPerMinute() * 60
      end
      @spec ppro_tick_per_second() :: integer
      def ppro_tick_per_second() do
      254_016_000_000
      end
      @spec frames_per_foot() :: integer
      def frames_per_foot() do
      16
      end
      end
      hex logo Hex
      About Blog Sponsors Status Advisories
      Documentation FAQ Specifications Report Client Issue Report General Issue Report Security Issue Contact Support
      Code of Conduct Terms of Service Privacy Policy Copyright Policy Dispute Policy

      Copyright 2015. Six Colors AB.

      Powered by the Erlang VM and the Elixir Programming Language

      Search filters

      Type any of these into the search box. They can be combined with free text which searches package names and descriptions.

      Operator Description Example
      name: Match package name. Supports * wildcards and repo/package form name:phx* or name:hexpm/phoenix
      description: Full-text search of package descriptions description:auth
      depends: Packages depending on a given package. Supports repo:package form depends:ecto or depends:hexpm:ecto
      build_tool: Filter by build tool build_tool:mix
      updated_after: Packages updated after an ISO8601 datetime updated_after:2025-01-01T00:00:00Z
      extra: Match custom metadata (key,value). Nested keys are separated by commas extra:license,MIT

      Wrap values in double quotes to include spaces, e.g. name:"my package".