Pitch.Abs

Absolute pitches.

type t = abs

See abs.

abs

val midi_min : abs

midi_min is 0, the lowest MIDI note.

midi_min

0

val midi_max : abs

midi_max is 127, the highest MIDI note.

midi_max

127

val equal : abs -> abs -> bool

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

equal ap0 ap1

true

ap0

ap1

val compare : abs -> abs -> int

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

compare

equal