tcalculus-1.0.0: A DSL prototype for structured realtime/reactive functional programing

Copyright(c) Simon Archipoff, David Janin, 2016
Licensesee the LICENSE file in the distribution
Maintainerjanin@labri.fr
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Runtime.Player

Description

 

Synopsis

Documentation

timeStamperNS :: UISF () (TimeStamp Integer) Source #

Internal clock in nanosecond

timeStamper :: UISF BPM (TimeStamp Quarters) Source #

Produces symbolic time stamps, uses SymbolicTime

maybeListToList :: Maybe [t] -> [t] Source #

Gets a list from a maybe list

listToMaybeList :: [t] -> Maybe [t] Source #

Gets a maybe list from a list

wakeUpTimer :: UISF (TimeStamp Quarters, WakeUpOrder Quarters) (Maybe (TimeStamp Quarters)) Source #

Generates Just ts when the current time stamp is greater or equal the ealierst wake up order (WakeUp ts); generates Nothing otherwise. wakeUpTimer :: (Ord d, Show d) => UISF (TimeStamp d, WakeUpOrder d) (Maybe (TimeStamp d))

arrowizeTile :: (Ord iv, Ord v, Show v, Show iv) => (RTile Quarters iv iv -> RTile Quarters iv v) -> UISF (Maybe [Event iv], BPM) (Maybe [Event v]) Source #

Arrowizes a tile function into a event arrow

epsilon :: Quarters Source #

Global latency interval

forceDE :: Foldable t => t (DelayedEvents t1 t2) -> t (DelayedEvents t1 t2) Source #