Portability | non-portable (TF,GNTD) |
---|---|
Stability | experimental |
Maintainer | hans@hanshoglund.se |
Safe Haskell | None |
Provides rhythmical quantization.
You generally need not worry about this module, as quantization is handled
automatically by HasBackendScore
instances.
Warning This modules is poorly named and will probably be split or moved soon.
Rhythm type
Functor Rhythm | |
Foldable Rhythm | |
Eq a => Eq (Rhythm a) | |
Show a => Show (Rhythm a) | |
Monoid (Rhythm a) | |
Semigroup (Rhythm a) | |
VectorSpace (Rhythm a) | |
AdditiveGroup (Rhythm a) | |
HasDuration (Rhythm a) |
mapWithDur :: (Duration -> a -> b) -> Rhythm a -> Rhythm bSource
Quantization
dotMod :: Int -> DurationSource
Return the scaling applied to a note with the given number of dots (i.e. 32, 74 etc).
Utility
drawRhythm :: Show a => Rhythm a -> StringSource