hmt-0.14: Haskell Music Theory
Common music keys.
data Mode_T Source
Enumeration of common music notation modes.
type Key = (Note_T, Alteration_T, Mode_T)Source
A common music notation key is a Note_T, Alteration_T,
key_fifths :: Key -> IntSource
Distance along circle of fifths path of indicated Key. A
positive number indicates the number of sharps, a negative number
the number of flats.
key_fifths (A,Natural,Minor_Mode) == 0
key_fifths (A,Natural,Major_Mode) == 3
key_fifths (C,Natural,Minor_Mode) == -3
Produced by Haddock version 2.13.2