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

Safe HaskellNone

Derive.Call.CallTest

Contents

Description

Utilities for testing calls.

Synopsis

Documentation

run_control :: [(ScoreTime, Text)] -> [(X, Signal.Y)] Source #

Run a control track and extract the control signal it produces.

call map

with_note_generator :: Expr.Symbol -> Generator Note -> DeriveTest.SetupA a Source #

Example:

DeriveTest.derive_tracks_setup (CallTest.with_note_generator "g" c_gen)
where c_gen = CallTest.generator $ \args -> do ...

calls

run_val :: Maybe Text -> Text -> (Maybe BaseTypes.Val, [String]) Source #

Run a val call, and return what it returned.

PassedArgs