Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Synth.Types

Description

Global type exports for synths, analogous to Types.

Synopsis

Documentation

data RealTime Source #

A concrete unit of time.

This must have negative values because it's used for signals, which are used for the warp map, which is oriented with zero at the note start. If a note wants to get the real time before it, it must look up a negative RealTime.

Instances

Instances details
FromJSON RealTime Source # 
Instance details

Defined in Perform.RealTime

ToJSON RealTime Source # 
Instance details

Defined in Perform.RealTime

Storable RealTime Source # 
Instance details

Defined in Perform.RealTime

Num RealTime Source # 
Instance details

Defined in Perform.RealTime

Read RealTime Source # 
Instance details

Defined in Perform.RealTime

Fractional RealTime Source # 
Instance details

Defined in Perform.RealTime

Real RealTime Source # 
Instance details

Defined in Perform.RealTime

RealFrac RealTime Source # 
Instance details

Defined in Perform.RealTime

Methods

properFraction :: Integral b => RealTime -> (b, RealTime) #

truncate :: Integral b => RealTime -> b #

round :: Integral b => RealTime -> b #

ceiling :: Integral b => RealTime -> b #

floor :: Integral b => RealTime -> b #

Show RealTime Source # 
Instance details

Defined in Perform.RealTime

CStorable RealTime Source # 
Instance details

Defined in Perform.RealTime

NFData RealTime Source # 
Instance details

Defined in Perform.RealTime

Methods

rnf :: RealTime -> () #

Eq RealTime Source # 
Instance details

Defined in Perform.RealTime

Ord RealTime Source # 
Instance details

Defined in Perform.RealTime

Time RealTime Source # 
Instance details

Defined in Derive.Deriver.Internal

ToVal RealTime Source # 
Instance details

Defined in Derive.REnv

Methods

to_val :: RealTime -> Val Source #

ShowVal RealTime Source # 
Instance details

Defined in Perform.RealTime

ToVal RealTime Source # 
Instance details

Defined in Derive.Typecheck

Methods

to_val :: RealTime -> Val Source #

Typecheck Function Source # 
Instance details

Defined in Derive.Typecheck

Typecheck TypedFunction Source # 
Instance details

Defined in Derive.Typecheck

Typecheck RealTime Source # 
Instance details

Defined in Derive.Typecheck

TypecheckNum RealTime Source # 
Instance details

Defined in Derive.Typecheck

Pretty RealTime Source # 
Instance details

Defined in Perform.RealTime

Serialize RealTime Source # 
Instance details

Defined in Perform.RealTime

ApproxEq RealTime Source # 
Instance details

Defined in Perform.RealTime

Methods

eq :: Double -> RealTime -> RealTime -> Bool Source #