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
- mkPitchSpecs :: DecsQ
- scaleDegreeLits :: DecsQ
- modeLits :: DecsQ
- triTyLits :: DecsQ
- sevTyLits :: DecsQ
- invLits :: DecsQ
- mkTriConvs :: DecsQ
- mkSevConvs :: DecsQ
- mkDoubledConvs :: 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.
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.