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 tempo meta-data.
Warning This is not supported by any backends yet.
- data RehearsalMark
- rehearsalMark :: (HasMeta a, HasPosition a) => RehearsalMark -> a -> a
- rehearsalMarkDuring :: HasMeta a => Span -> RehearsalMark -> a -> a
- withRehearsalMark :: (RehearsalMark -> Score a -> Score a) -> Score a -> Score a
Rehearsal mark type
data RehearsalMark Source
Represents a rehearsal mark.
TODO this needs zero-duration spans to work properly.
Adding rehearsal marks to scores
rehearsalMark :: (HasMeta a, HasPosition a) => RehearsalMark -> a -> a Source
rehearsalMarkDuring :: HasMeta a => Span -> RehearsalMark -> a -> a Source
Extracting rehearsal marks
withRehearsalMark :: (RehearsalMark -> Score a -> Score a) -> Score a -> Score a Source