Copyright | (c) Hans Hoglund 2012-2014 |
---|---|
License | BSD-style |
Maintainer | hans@hanshoglund.se |
Stability | experimental |
Portability | non-portable (TF,GNTD) |
Safe Haskell | None |
Language | Haskell2010 |
Rhythmical quantization.
Rhythm type
mapWithDur :: (Duration -> a -> b) -> Rhythm a -> Rhythm b Source
Quantization
dotMod :: Int -> Duration Source
Return the scaling applied to a note with the given number of dots (i.e. 32, 74 etc).
Utility
drawRhythm :: Show a => Rhythm a -> String Source
testQuantize :: [Duration] -> IO () Source