Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Perform.Im.Convert

Description

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

Synopsis

Documentation

write Source #

Arguments

:: (Score.Instrument -> Maybe Cmd.ResolvedInstrument) 
-> FilePath 
-> Vector.Vector Score.Event 
-> IO Bool

False if the file would have been the same as an existing one.

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