hmt-0.20: Haskell Music Theory
Safe HaskellSafe-Inferred
LanguageHaskell2010

Music.Theory.Z.Morris_1987.Parse

Description

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

Synopsis

Documentation

pco :: Num n => String -> [n] 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"