mezzo-0.3.1.0: 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.

tetTyLits :: DecsQ Source #

Generate seventh type literal declarations.

mkDyaConvs :: DecsQ Source #

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

mkTriConvs :: DecsQ Source #

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

mkDoubledDConvs :: DecsQ Source #

Generate converters from roots to doubled dyads, for each dyad type.

mkTetConvs :: DecsQ Source #

Generate converters from roots to tetrads, for each tetrad type.

mkDoubledTConvs :: DecsQ Source #

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