hmt-0.16: Haskell Music Theory

Safe HaskellSafe
LanguageHaskell98

Music.Theory.Z12.Morris_1987.Parse

Description

Parsers for pitch class sets and sequences, and for SROs.

Synopsis

Documentation

pco :: String -> [Z12] Source #

Parse a pitch class object string. Each Char is either a number, a space which is ignored, or a letter name for the numbers 10 (t or a or A) or 11 (e or B or b).

pco "13te" == [1,3,10,11]
pco "13te" == pco "13ab"