Module Pitch.Abs

Absolute pitches.

Absolute pitches

type t = abs

See abs.

val midi_min : abs

midi_min is 0, the lowest MIDI note.

val midi_max : abs

midi_max is 127, the highest MIDI note.

Predicates and comparisons

val equal : abs -> abs -> bool

equal ap0 ap1 is true if ap0 and ap1 are the same absolute pitch.

val compare : abs -> abs -> int

compare is a total order on absolute pitches compatible with equal.