package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Operations on notes.

type t = int
val a4 : int
val c5 : int
val c0 : int
val create : int -> int -> t
val freq : t -> float
val of_freq : float -> t
val name : t -> int
val octave : t -> int
val modulo : t -> int * int

Returns note number and octave.

val to_string : t -> string
val of_string : string -> t
OCaml

Innovation. Community. Security.