Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone



Utilities to directly perform a saved score.



timed_derive2 :: FilePath -> Ui.State -> Cmd.State -> BlockId -> IO (Vector.Vector Score.Event, [Log.Msg]) 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.

timer_msg :: (a -> Int) -> Double -> Double -> a -> String Source #

load_score :: Cmd.InstrumentDb -> FilePath -> IO (Either Text (Ui.State, Library)) Source #

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

load_cmd_config :: IO Cmd.Config Source #

Load cmd config, which basically means the inst db.