Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Utils for Scores
Synopsis
- euc :: Double -> Double -> [Double] -> [Sco a] -> Sco a
- dot :: Sco a -> Sco a
- ddot :: Sco a -> Sco a
- scoBpm :: Sig -> Sco a -> Sco a
- trn :: Sco a -> Sco a
- bn :: Sco a -> Sco a
- wn :: Sco a -> Sco a
- hn :: Sco a -> Sco a
- qn :: Sco a -> Sco a
- en :: Sco a -> Sco a
- sn :: Sco a -> Sco a
- tn :: Sco a -> Sco a
- bnr :: Sco a
- wnr :: Sco a
- hnr :: Sco a
- qnr :: Sco a
- enr :: Sco a
- snr :: Sco a
- tnr :: Sco a
Documentation
euc :: Double -> Double -> [Double] -> [Sco a] -> Sco a Source #
Euclidean beats.
Scales series of scores by apllying series of stretching transformations.
euc totalLength initDelay durations scores
scoBpm :: Sig -> Sco a -> Sco a Source #
Sets tempo in beats per minute, if 1 Dur is equal to 1 second before transformation.
Shortcuts
Naming conventions :
First part x
can be [b | w | h | q | e | s | t | d[x] ]
b
means brewis (str 2)
w
means whole (str 1)
h
means half (str $ 1/2)
q
means quater (str $ 1/4)
e
means eighth (str $ 1/8)
s
means sixteenth (str $ 1/16)
t
means thirty second (str $ 1/32)
d[x]
means dotted [x] (str 1.5 $ x)
Pauses
Naming conventions are the same as for 'time string'.