haskore-0.1.0.2: The Haskore Computer Music System
Source code
Contents
Index
Haskore.Basic.Duration
Synopsis
type
T
=
Dur
type
Ratio
=
T
type
Offset
=
Rational
(%+)
::
Integer
->
Integer
->
T
fromRatio
::
Rational
->
T
toRatio
::
T
->
Rational
toNumber
::
Fractional
a =>
T
-> a
scale
::
Ratio
->
T
->
T
add
::
Offset
->
T
->
T
divide
::
T
->
T
->
Integer
divisible
::
T
->
T
->
Bool
gcd
::
T
->
T
->
T
doubleDotted
::
T
->
T
dotted
::
T
->
T
wn
::
T
hn
::
T
qn
::
T
en
::
T
sn
::
T
tn
::
T
sfn
::
T
bn
::
T
dhn
::
T
dqn
::
T
den
::
T
dsn
::
T
dtn
::
T
dwn
::
T
ddqn
::
T
dden
::
T
ddhn
::
T
nameDictionary
::
Map
T
String
toString
::
T
->
String
propToString
::
Bool
Documentation
type
T
=
Dur
Source
type
Ratio
=
T
Source
type
Offset
=
Rational
Source
(%+)
::
Integer
->
Integer
->
T
Source
fromRatio
::
Rational
->
T
Source
toRatio
::
T
->
Rational
Source
toNumber
::
Fractional
a =>
T
-> a
Source
scale
::
Ratio
->
T
->
T
Source
add
::
Offset
->
T
->
T
Source
divide
::
T
->
T
->
Integer
Source
divisible
::
T
->
T
->
Bool
Source
gcd
::
T
->
T
->
T
Source
doubleDotted
::
T
->
T
Source
dotted
::
T
->
T
Source
wn
::
T
Source
hn
::
T
Source
qn
::
T
Source
en
::
T
Source
sn
::
T
Source
tn
::
T
Source
sfn
::
T
Source
bn
::
T
Source
dhn
::
T
Source
dqn
::
T
Source
den
::
T
Source
dsn
::
T
Source
dtn
::
T
Source
dwn
::
T
Source
ddqn
::
T
Source
dden
::
T
Source
ddhn
::
T
Source
nameDictionary
::
Map
T
String
Source
toString
::
T
->
String
Source
Converts
1%4
to
"qn"
and so on.
propToString
::
Bool
Source
Produced by
Haddock
version 2.7.2