Safe Haskell | Safe-Inferred |
---|
Convert Derive.Score output into Lilypond.Events.
Synopsis
- convert :: Types.Config -> [Score.Event] -> [LEvent.LEvent Types.Event]
- pitch_to_lily :: Environ -> Transposed -> Either Text Types.Pitch
- quantize :: Types.Duration -> [Types.Event] -> [Types.Event]
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.
pitch_to_lily :: Environ -> Transposed -> Either Text Types.Pitch Source #
quantize :: Types.Duration -> [Types.Event] -> [Types.Event] Source #