mezzo-0.2.0.2: Typesafe music composition

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

Mezzo.Compose.Templates

Description

Template Haskell functions to generate music literals.

Synopsis

Documentation

pitchClassLits :: DecsQ Source #

Generate pitch class literal declarations.

accidentalLits :: DecsQ Source #

Generate accidental literal declarations.

octaveLits :: DecsQ Source #

Generate octave literal declarations.

mkPitchLits :: DecsQ Source #

Generate concrete pitch literals for each pitch class, accidental and octave.

mkPitchSpecs :: DecsQ Source #

Generate pitch root specifiers for earch pitch class, accidental and octave. These allow for combinatorial input with CPS-style durations and modifiers.

scaleDegreeLits :: DecsQ Source #

Generate scale degree literal declarations.

modeLits :: DecsQ Source #

Generate mode literal declarations.

triTyLits :: DecsQ Source #

Generate triad type literal declarations.

sevTyLits :: DecsQ Source #

Generate seventh type literal declarations.

mkTriConvs :: DecsQ Source #

Generate converters from roots to triads, for each triad type.

mkSevConvs :: DecsQ Source #

Generate converters from roots to seventh chords, for each seventh type.

mkDoubledConvs :: DecsQ Source #

Generate converters from roots to doubled seventh chords, for each triad type.