Module Audio.Note

module Note: sig .. end

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