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

Portabilitynon-portable (TF,GNTD)
Stabilityexperimental
Maintainerhans@hanshoglund.se
Safe HaskellNone

Music.Score.Meta.Annotations

Description

Provides annotations

Synopsis

Documentation

data Annotation Source

An annotation is a unique textual value attached to parts of a score. They are ignored by default, but can be collected with withAnnotations.

annotate :: String -> Score a -> Score aSource

Annotate the whole score.

annotateSpan :: Span -> String -> Score a -> Score aSource

Annotate a part of the score.

showAnnotations :: (HasPart' a, HasText a) => Score a -> Score aSource

Show all annotations in the score.

showAnnotations' :: (HasPart' a, HasText a) => String -> Score a -> Score aSource

Show all annotations in the score using the given prefix.

withAnnotations :: (HasPart' a, HasText a) => ([String] -> Score a -> Score a) -> Score a -> Score aSource

Handle the annotations in a score.