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 |
Provides a representation for tremolo, i.e. rapid iterations of a note.
- class HasTremolo a where
- tremolo :: HasTremolo a => Int -> a -> a
- data TremoloT a
- runTremoloT :: TremoloT a -> (Int, a)
Tremolo
class HasTremolo a where Source
HasTremolo a => HasTremolo [a] | |
HasTremolo a => HasTremolo (Score a) | |
HasTremolo a => HasTremolo (TieT a) | |
HasTremolo a => HasTremolo (SlideT a) | |
HasTremolo a => HasTremolo (TextT a) | |
HasTremolo a => HasTremolo (HarmonicT a) | |
HasTremolo (TremoloT a) | |
HasTremolo a => HasTremolo (ColorT a) | |
HasTremolo a => HasTremolo (b, a) | |
HasTremolo a => HasTremolo (Couple b a) | |
HasTremolo a => HasTremolo (PartT n a) |
tremolo :: HasTremolo a => Int -> a -> a Source
Set the number of tremolo divisions for all notes in the score.
Tremolo note transformer
runTremoloT :: TremoloT a -> (Int, a) Source
Get the number of tremolo divisions.