| 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 |
Music.Score.Text
Contents
Description
Provides a way of adding text to notes.
Text
Instances
| HasText a => HasText [a] | |
| HasText a => HasText (Note a) | |
| HasText a => HasText (Voice a) | |
| HasText a => HasText (Score a) | |
| HasText a => HasText (TieT a) | |
| HasText a => HasText (SlideT a) | |
| HasText (TextT a) | |
| HasText a => HasText (HarmonicT a) | |
| HasText a => HasText (TremoloT a) | |
| HasText a => HasText (ColorT a) | |
| HasText a => HasText (b, a) | |
| HasText a => HasText (Couple b a) | |
| HasText a => HasText (PartT n a) |
Instances
text :: (HasPhrases' s a, HasText a) => String -> s -> s Source
Attach the given text to the first note.
textLast :: (HasPhrases' s a, HasText a) => String -> s -> s Source
Attach the given text to the last note.