Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

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.