AlgoRhythm-0.1.0.0: Algorithmic music composition

Safe HaskellNone
LanguageHaskell2010

Grammar.Harmony

Synopsis

Documentation

data HarmonyConfig Source #

Configuration for harmony.

Instances

Expand HarmonyConfig Degree Modulation SemiChord Source #

Expands modulations and intreprets degrees to chords.

harmony :: Grammar Modulation Degree Source #

Custom grammar for harmonic structure.

interpret :: HarmonyConfig -> Degree -> IO SemiChord Source #

Interpret a degree as a SemiChord on a given harmonic context.

data Degree Source #

Terminal symbol that represents scale degrees.

Constructors

I 
II 
III 
IV 
V 
VI 
VII 

newtype Modulation Source #

Auxiliary wrapper for modulating keys.

Constructors

Modulation Interval