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

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

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.