Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

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, [Text]) Source #

Run a val call, and return what it returned.

PassedArgs