hmt-0.15: Haskell Music Theory

Safe Haskell | Safe
Language | Haskell98

Music.Theory.Duration.Name.Abbreviation

Contents

- Letter names
- Numerical names

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

- w :: Duration
- h :: Duration
- q :: Duration
- e :: Duration
- s :: Duration
- w' :: Duration
- h' :: Duration
- q' :: Duration
- e' :: Duration
- s' :: Duration
- w'' :: Duration
- h'' :: Duration
- q'' :: Duration
- e'' :: Duration
- s'' :: Duration
- _1 :: Duration
- _2 :: Duration
- _4 :: Duration
- _8 :: Duration
- _16 :: Duration
- _32 :: Duration
- _1' :: Duration
- _2' :: Duration
- _4' :: Duration
- _8' :: Duration
- _16' :: Duration
- _32' :: Duration
- _1'' :: Duration
- _2'' :: Duration
- _4'' :: Duration
- _8'' :: Duration
- _16'' :: Duration
- _32'' :: Duration

# Letter names

w :: Duration Source #

h :: Duration Source #

q :: Duration Source #

e :: Duration Source #

s :: Duration Source #

w' :: Duration Source #

h' :: Duration Source #

q' :: Duration Source #

e' :: Duration Source #

s' :: Duration Source #

w'' :: Duration Source #

h'' :: Duration Source #

q'' :: Duration Source #

e'' :: Duration Source #

s'' :: Duration Source #

# Numerical names

_1 :: Duration Source #

_2 :: Duration Source #

_4 :: Duration Source #

_8 :: Duration Source #

_16 :: Duration Source #

_32 :: Duration Source #

_1' :: Duration Source #

_2' :: Duration Source #

_4' :: Duration Source #

_8' :: Duration Source #

_16' :: Duration Source #

_32' :: Duration Source #

_1'' :: Duration Source #

_2'' :: Duration Source #

_4'' :: Duration Source #

_8'' :: Duration Source #

_16'' :: Duration Source #

_32'' :: Duration Source #