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

Derive.Call.NoteUtil

Description

Utilities for the default note call. They're separated here so internal utilities can make events without importing Derive.C.Prelude.Note.

Synopsis

Documentation

make_event :: PassedArgs a -> Dynamic -> RealTime.RealTime -> RealTime.RealTime -> Text -> Flags.Flags -> Deriver Score.Event Source #

This is the canonical way to make a Score.Event. It handles all the control trimming and control function value stashing that the perform layer relies on.

make_event_control_vals :: ScoreT.ControlValMap -> PassedArgs a -> Dynamic -> RealTime.RealTime -> RealTime.RealTime -> Text -> Flags.Flags -> Deriver Score.Event Source #

Specialized version of make_event just so I can avoid calling Derive.controls_at twice.