Safe Haskell | Safe-Inferred |
---|
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
- load_midi :: FilePath -> IO (Either Text Messages)
- save_midi :: FilePath -> Messages -> IO ()
- midi_magic :: Serialize.Magic (Vector.Vector Midi.WriteMessage)
- diff_lilypond :: String -> FilePath -> UiConfig.LilypondPerformance -> Text -> IO (Maybe Text, [FilePath])
- diff_im :: String -> FilePath -> UiConfig.ImPerformance -> [Shared.Note.Note] -> IO (Maybe Text, [FilePath])
- diff_midi :: String -> FilePath -> UiConfig.MidiPerformance -> [Midi.WriteMessage] -> IO (Maybe Text, [FilePath])
- show_midi :: [Midi.WriteMessage] -> [Text]
- diff_lines :: String -> FilePath -> [Text] -> [Text] -> IO (Maybe Text, [FilePath])
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.
midi_magic :: Serialize.Magic (Vector.Vector Midi.WriteMessage) Source #
Saved MIDI performance.
diff
diff_lilypond :: String -> FilePath -> UiConfig.LilypondPerformance -> Text -> IO (Maybe Text, [FilePath]) Source #
diff_im :: String -> FilePath -> UiConfig.ImPerformance -> [Shared.Note.Note] -> IO (Maybe Text, [FilePath]) Source #
diff_midi :: String -> FilePath -> UiConfig.MidiPerformance -> [Midi.WriteMessage] -> IO (Maybe Text, [FilePath]) Source #
util
show_midi :: [Midi.WriteMessage] -> [Text] Source #