music-diatonic-0.1.2: Implementation of basic western musical theory objects.
Music.Diatonic.Harmony
Description
This module implements harmonies.
Synopsis
data Harmony Source #
Instances
Methods
(==) :: Harmony -> Harmony -> Bool #
(/=) :: Harmony -> Harmony -> Bool #
showsPrec :: Int -> Harmony -> ShowS #
show :: Harmony -> String #
showList :: [Harmony] -> ShowS #
quality :: Harmony -> Quality Source #
scale :: Harmony -> Scale Source #
degrees :: Harmony -> [(Degree, Chord)] Source #
first :: Harmony -> Chord Source #
harmony :: Scale -> Harmony Source #
Returns the Harmony for the specified Scale.
Harmony
Scale
harmony7 :: Scale -> Harmony Source #
Returns the 7ths Harmony for the specified Scale.
chords :: Harmony -> [Chord] Source #
Returns the Chords that compose the specified Harmony.
Chord
showRoman :: Chord -> Degree -> String Source #
Returns a Roman notation string representing the Degree of the Chord.
Degree