Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Cmd.Lilypond

Contents

Description

Cmd-level support for the lilypond backend.

Synopsis

derive

derive :: Cmd.M m => NoteDeriver -> m Result Source #

Run a derivation in lilypond context, which will cause certain calls to behave differently.

compile

extract_movements :: Config -> Title -> [Score.Event] -> (Either Log.Msg Lazy.Text, [Log.Msg]) Source #

Generate lilypond code. If there are movement divisions, they will be extracted from the events.

explicit_movements :: Config -> Title -> [Movement] -> (Either Log.Msg Lazy.Text, [Log.Msg]) Source #

Generate lilypond from an explicit list of movements.