Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
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.