Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

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]) -> (Score.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.