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

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

Music.Score.Meta.Clef

Contents

Description

 

Synopsis

Clef type

data Clef Source

Constructors

GClef 
CClef 
FClef 

Adding clefs to scores

clef :: (HasMeta a, HasPart' a, HasOnset a, HasOffset a) => Clef -> a -> aSource

Set clef of the given score.

clefDuring :: (HasMeta a, HasPart' a) => Span -> Clef -> a -> aSource

Set clef of the given part of a score.

Extracting clefs

withClef :: HasPart' a => Clef -> (Clef -> Score a -> Score a) -> Score a -> Score aSource

Extract the clef in from the given score, using the given default clef.