music-pitch-1.3.1: Abstract representation of musical pitch.

Safe HaskellNone

Music.Pitch.Relative.Number

Contents

Synopsis

Number

data Number Source

The number portion of an interval (i.e. second, third, etc).

Note that the interval number is always one step larger than number of steps spanned by the interval (i.e. a third spans two diatonic steps). Thus number does not distribute over addition:

 number (a + b) = number a + number b - 1