Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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.