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

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

Music.Score.Export.Lilypond

Description

 

Synopsis

Documentation

class Tiable a => HasLilypond a whereSource

Class of types that can be converted to Lilypond.

Methods

getLilypond :: DurationT -> a -> LilypondSource

Convert a value to a Lilypond music expression.

toLy :: (HasLilypond a, HasPart' a, Show (Part a)) => Score a -> LilypondSource

Convert a score to a Lilypond representation.

writeLy :: (HasLilypond a, HasPart' a, Show (Part a)) => FilePath -> Score a -> IO ()Source

Convert a score to a Lilypond representation and write to a file.

openLy :: (HasLilypond a, HasPart' a, Show (Part a)) => Score a -> IO ()Source

Typeset a score using Lilypond and open it.