music-score-1.9.0: Musical score and part representation.

Copyright(c) Hans Hoglund 2012-2014
LicenseBSD-style
Maintainerhans@hanshoglund.se
Stabilityexperimental
Portabilitynon-portable (TF,GNTD)
Safe HaskellNone
LanguageHaskell2010

Music.Score.Meta.Barline

Contents

Description

Provides special barlines as meta-data.

(Ordinary barlines are generated automatically, see also Music.Score.Meta.Time).

Synopsis

Barline type

data Barline 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.

Extracting barlines

withBarline :: (Barline -> Score a -> Score a) -> Score a -> Score a Source

Extract barlines in from the given score, using the given default barline.