Safe Haskell | Safe-Inferred |
---|
Cmd-level support for the lilypond backend.
Synopsis
- derive_block :: Cmd.M m => BlockId -> m Result
- derive :: Cmd.M m => NoteDeriver -> m Result
- lookup_key :: Msg.Performance -> Pitch.Key
- type Movement = (Title, [Score.Event])
- extract_movements :: Config -> Title -> [Score.Event] -> (Either Log.Msg Lazy.Text, [Log.Msg])
- explicit_movements :: Config -> Title -> [Movement] -> (Either Log.Msg Lazy.Text, [Log.Msg])
- compile_ly :: FilePath -> Lazy.Text -> IO ()
- convert :: Config -> [Score.Event] -> ([Event], [Log.Msg])
- ly_filename :: Cmd.M m => Title -> m FilePath
derive
derive :: Cmd.M m => NoteDeriver -> m Result Source #
Run a derivation in lilypond context, which will cause certain calls to behave differently.
compile
type Movement = (Title, [Score.Event]) Source #
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.