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 special barlines as meta-data.
(Ordinary barlines are generated automatically, see also Music.Score.Meta.Time).
- data BarlineType
- data Barline
- barline :: (HasMeta a, HasPosition a) => Barline -> a -> a
- doubleBarline :: (HasMeta a, HasPosition a) => Barline -> a -> a
- finalBarline :: (HasMeta a, HasPosition a) => Barline -> a -> a
- barlineDuring :: HasMeta a => Span -> Barline -> a -> a
- withBarline :: (Barline -> Score a -> Score a) -> Score a -> Score a
Barline type
data BarlineType Source
Represents a barline.
TODO repeats
Adding barlines to scores
barline :: (HasMeta a, HasPosition a) => Barline -> a -> a Source
Add a barline over the whole score.
doubleBarline :: (HasMeta a, HasPosition a) => Barline -> a -> a Source
Add a barline over the whole score.
finalBarline :: (HasMeta a, HasPosition a) => Barline -> a -> a Source
Add a barline over the whole score.
barlineDuring :: HasMeta a => Span -> Barline -> a -> a Source
Add a barline to the given score.