Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Cmd.Lilypond

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.