hmt-0.15: Haskell Music Theory

Safe HaskellSafe-Inferred
LanguageHaskell98

Music.Theory.Duration.Name.Abbreviation

Contents

Description

Abbreviated names for Duration values when written as literals. There are letter names where w is whole_note and so on, and numerical names where _4 is quarter_note and so on. In both cases a ' extension means a dot so that e'' is a double dotted eighth_note.

zipWith duration_compare_meq [e,e,e,e'] [e,s,q,e] == [EQ,GT,LT,GT]
zipWith sum_dur [e,q,q'] [e,e,e] == [Just q,Just q',Just h]
zipWith sum_dur' [e,q,q'] [e,e,e] == [q,q',h]

Synopsis

Letter names

Numerical names