Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
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.