Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Perform.ConvertUtil

Description

Utilities for writing Convert modules, which take Score.Events to the performer specific events.

Synopsis

Documentation

convert :: (Score.Event -> Cmd.ResolvedInstrument -> [LEvent.LEvent a]) -> (Instrument -> Maybe Cmd.ResolvedInstrument) -> [Score.Event] -> [LEvent.LEvent a] Source #

Wrapper that performs common operations for convert functions. Warn if the input isn't sorted, look up the instrument, and run Cmd.inst_postproc.