Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
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 -> 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 -> Flags.Flags -> Deriver Score.Event Source #

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