djembe-0.1.1.2: Hit drums with haskell

Safe HaskellNone
LanguageHaskell2010

Interpret

Synopsis

Documentation

totalDur :: Beat -> Rational Source

calculates the total duration of a Beat

mergeHits :: [Hit] -> [Hit] -> [Hit] Source

merge two sorted lists of Hits

applyTempo :: Rational -> Composition a -> Composition a Source

apply a tempo to a composition

toHits :: Composition a -> [Hit] Source

convert a Composition to a list of Hits

interpret :: Rational -> Composition a -> [Hit] Source

interpret a Composition with a given tempo