Safe Haskell | Safe |
---|---|
Language | Haskell98 |
This module implements scale degrees.
- data Degree
- class Eq n => Deg s n | s -> n where
- degree :: Note -> Note -> Degree
- from :: Degree -> Note -> Note
- second :: Deg s n => s -> Maybe n
- third :: Deg s n => s -> Maybe n
- fourth :: Deg s n => s -> Maybe n
- fifth :: Deg s n => s -> Maybe n
- sixth :: Deg s n => s -> Maybe n
- seventh :: Deg s n => s -> Maybe n
- tonic :: Deg s n => s -> n
- supertonic :: Deg s n => s -> Maybe n
- mediant :: Deg s n => s -> Maybe n
- subdominant :: Deg s n => s -> Maybe n
- dominant :: Deg s n => s -> Maybe n
- submediant :: Deg s n => s -> Maybe n
- subtonic :: (Deg s n, Nte n) => s -> Maybe n
- leadingTone :: (Deg s n, Nte n) => s -> Maybe n