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

Derive.DeriveSaved

Contents

Description

Utilities to directly perform a saved score.

Synopsis

Documentation

timed_derive2 :: IO.FilePath -> Ui.State -> Cmd.State -> BlockId -> IO.IO ((Vector.Vector Score.Event, [Log.Msg]), CPU) Source #

This is like timed_derive, except that it does more work itself rather than calling Performance.derive. This can be more convenient to look at derivation results.

load_score :: IO.FilePath -> IO.IO (Either Text (Ui.State, Builtins, InstrumentAliases)) Source #

Load a score and its accompanying local definitions library, if it has one.

load_cmd_config :: IO.IO Cmd.Config Source #

Load cmd config, which basically means the inst db.

timer

type CPU = Thread.Seconds Source #

CPU seconds.