Copyright | (c) Dima Szamozvancev |
---|---|
License | MIT |
Maintainer | ds709@cam.ac.uk |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Template Haskell functions to generate music literals.
- pitchClassLits :: DecsQ
- accidentalLits :: DecsQ
- octaveLits :: DecsQ
- mkDurLits :: Name -> DecsQ
- mk32ndLits :: DecsQ
- mkPitchLits :: DecsQ
- mkKeyLits :: DecsQ
- mkPitchSpecs :: DecsQ
- scaleDegreeLits :: DecsQ
- modeLits :: DecsQ
- dyaTyLits :: DecsQ
- triTyLits :: DecsQ
- tetTyLits :: DecsQ
- invLits :: DecsQ
- mkDyaConvs :: DecsQ
- mkTriConvs :: DecsQ
- mkDoubledDConvs :: DecsQ
- mkTetConvs :: DecsQ
- mkDoubledTConvs :: DecsQ
Documentation
pitchClassLits :: DecsQ Source #
Generate pitch class literal declarations.
accidentalLits :: DecsQ Source #
Generate accidental literal declarations.
octaveLits :: DecsQ Source #
Generate octave literal declarations.
mk32ndLits :: DecsQ Source #
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.
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.