Mu.PitchPitches.
The type for absolute pitches in semitones on a chromatic 12-tone scale. The absolute pitch of middle C (C4) is 60. Constrained to the range [0;127] these values correspond to MIDI notes.
module Abs : sig ... endAbsolute pitches.
module Class : sig ... endPitch classes.
The type for octave numbers. Octave number 4 corresponds to the octave of middle C (C4).
The type for pitches. A pitch class and an octave.
(`A, 4) is A440.(`A, 0) to (`C, 8) is the range of a piano.(`C, -1) to (`G, 9) is the the MIDI note range.val midi_min : tmidi_min is (`C, -1), the lowest MIDI note.
val midi_max : tmidi_max is (`G, 9), the highest MIDI note.
val pp : Stdlib.Format.formatter -> t -> unitpp formats pitches.