mezzo-0.3.1.0: Typesafe music composition

Copyright(c) Dima Szamozvancev
LicenseMIT
Maintainerds709@cam.ac.uk
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Mezzo.Compose.Chords

Contents

Description

Literals for chords and progressions.

Synopsis

Atomic literals

Scale degree literals

Mode literals

Dyad type literals

Triad type literals

Tetrad type literals

Inversion literals

Constructors

key :: PC p -> Acc a -> Mod m -> KeyS (Key p a m) Source #

Create a new key from a pitch class, accidental and mode.

triad :: Root r -> TriType t -> Inv i -> Cho (Triad r t i) Source #

Create a triad from a root, a triad type and an inversion.

seventh :: Root r -> TetType t -> Inv i -> Cho (Tetrad r t i) Source #

Create a seventh chord from a root, a triad type and an inversion.

Chord builders

Dyad converters

min3 :: forall r. ChorC Dyad r MinThird Source #

min3' :: forall r i. ChorC' Dyad r MinThird i Source #

maj3 :: forall r. ChorC Dyad r MajThird Source #

maj3' :: forall r i. ChorC' Dyad r MajThird i Source #

fourth' :: forall r i. ChorC' Dyad r PerfFourth i Source #

fifth :: forall r. ChorC Dyad r PerfFifth Source #

fifth' :: forall r i. ChorC' Dyad r PerfFifth i Source #

oct :: forall r. ChorC Dyad r PerfOct Source #

oct' :: forall r i. ChorC' Dyad r PerfOct i Source #

Triad converters

maj :: forall r. ChorC Triad r MajTriad Source #

maj' :: forall r i. ChorC' Triad r MajTriad i Source #

min :: forall r. ChorC Triad r MinTriad Source #

min' :: forall r i. ChorC' Triad r MinTriad i Source #

aug :: forall r. ChorC Triad r AugTriad Source #

aug' :: forall r i. ChorC' Triad r AugTriad i Source #

dim :: forall r. ChorC Triad r DimTriad Source #

dim' :: forall r i. ChorC' Triad r DimTriad i Source #

Doubled dyad converters

min3D' :: forall r i. ChorC' Triad r (DoubledD MinThird) i Source #

maj3D' :: forall r i. ChorC' Triad r (DoubledD MajThird) i Source #

octD' :: forall r i. ChorC' Triad r (DoubledD PerfOct) i Source #

Tetrad converters

maj7' :: forall r i. ChorC' Tetrad r MajSeventh i Source #

min7' :: forall r i. ChorC' Tetrad r MinSeventh i Source #

dim7' :: forall r i. ChorC' Tetrad r DimSeventh i Source #

Doubled triad converters

majD' :: forall r i. ChorC' Tetrad r (DoubledT MajTriad) i Source #

minD' :: forall r i. ChorC' Tetrad r (DoubledT MinTriad) i Source #

augD' :: forall r i. ChorC' Tetrad r (DoubledT AugTriad) i Source #

dimD' :: forall r i. ChorC' Tetrad r (DoubledT DimTriad) i Source #

Inversion mutators