package cue_sheet_maker

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type duration = [
  1. | `MinSec of int * int
  2. | `MinSecFra of int * int * int
  3. | `MinSecMil of int * int * int
]
val zero_frame : [> `MinSecFra of int * int * int ]

Create a duration in the Minute Seconde Frame format with everything is set to 0

val minute_seconde_format : min:int -> sec:int -> [> `MinSec of int * int ]

Create a duration from the minutes and secondes

val minute_seconde_millieme_format : min:int -> sec:int -> mil:int -> [> `MinSecMil of int * int * int ]

Create a duration from the minutes, secondes and milliemes

val minute_seconde_frame_format : min:int -> sec:int -> frame:int -> [> `MinSecFra of int * int * int ]

Create a duration from the minutes, secondes and frames

val to_min_sec_fra : [< `MinSec of 'a * 'b | `MinSecFra of 'a * 'b * int | `MinSecMil of 'a * 'b * int ] -> [> `MinSecFra of 'a * 'b * int ]

Transform a duration to the MSF format

val add : [< `MinSec of int * int | `MinSecFra of int * int * int | `MinSecMil of int * int * int ] -> [< `MinSec of int * int | `MinSecFra of int * int * int | `MinSecMil of int * int * int ] -> [> `MinSecFra of int * int * int ]
val string_of_duration : [< `MinSec of int * int | `MinSecFra of int * int * int | `MinSecMil of int * int * int ] -> string

String representation of the duration in the MSF format

OCaml

Innovation. Community. Security.