Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Perform.Lilypond.Convert

Description

Convert Derive.Score output into Lilypond.Events.

Synopsis

Documentation

convert :: Types.Config -> [Score.Event] -> [LEvent.LEvent Types.Event] Source #

Convert Score events to Perform events, emitting warnings that may have happened along the way.

Unlike the other backend converts, this one doesn't need a lookup inst function. It just fakes up an inst for whatever you ask it. This means Constants.ly_global doesn't actually need an allocation. The bad part is that postproc is not applied, but I'll worry about that if I ever have a postproc that affects lilypond.