Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
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.