Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Cmd.DiffPerformance

Description

Functions to compare a performance against a previous "known good" one. This is used to detect when code changes cause a performance to change.

Synopsis

save and load

save_midi :: FilePath -> Messages -> IO () Source #

Perform the input score and save the midi msgs to the output file. This creates the -perf files.

diff lilypond

diff midi

util

diff_lines Source #

Arguments

:: String 
-> FilePath 
-> [Text] 
-> [Text] 
-> IO (Maybe Text, [FilePath])

(abbreviated_diff, wrote_files)

Write files in the given directory and run the diff command on them.