Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Perform.Im.Convert

Description

Convert Score.Events to the low-level event format, Note.Note.

Synopsis

Documentation

write :: RealTime -> RealTime -> BlockId -> (ScoreT.Instrument -> Maybe Cmd.ResolvedInstrument) -> FilePath -> Vector.Vector Score.Event -> IO () Source #

Serialize the events to the given path. This is done atomically because this is run from the derive thread, which can be killed at any time.