Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

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
Eq RealTime # 
Instance details

Defined in Perform.RealTime

Fractional RealTime # 
Instance details

Defined in Perform.RealTime

Num RealTime # 
Instance details

Defined in Perform.RealTime

Ord RealTime # 
Instance details

Defined in Perform.RealTime

Read RealTime # 
Instance details

Defined in Perform.RealTime

Real RealTime # 
Instance details

Defined in Perform.RealTime

RealFrac RealTime # 
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 # 
Instance details

Defined in Perform.RealTime

Storable RealTime # 
Instance details

Defined in Perform.RealTime

NFData RealTime # 
Instance details

Defined in Perform.RealTime

Methods

rnf :: RealTime -> () #

CStorable RealTime # 
Instance details

Defined in Perform.RealTime

CRC32 RealTime # 
Instance details

Defined in Perform.RealTime

ToJSON RealTime # 
Instance details

Defined in Perform.RealTime

FromJSON RealTime # 
Instance details

Defined in Perform.RealTime

ApproxEq RealTime # 
Instance details

Defined in Perform.RealTime

Methods

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

Pretty RealTime # 
Instance details

Defined in Perform.RealTime

Serialize RealTime # 
Instance details

Defined in Perform.RealTime

ShowVal RealTime # 
Instance details

Defined in Perform.RealTime

ShowVal Function # 
Instance details

Defined in Derive.Typecheck

ShowVal TypedFunction # 
Instance details

Defined in Derive.Typecheck

ToVal RealTime # 
Instance details

Defined in Derive.RestrictedEnviron

Methods

to_val :: RealTime -> Val Source #

Time RealTime # 
Instance details

Defined in Derive.Deriver.Internal

TypecheckNum RealTime # 
Instance details

Defined in Derive.Typecheck

ToVal RealTime # 
Instance details

Defined in Derive.Typecheck

Methods

to_val :: RealTime -> Val Source #

Typecheck RealTime # 
Instance details

Defined in Derive.Typecheck

Typecheck Function # 
Instance details

Defined in Derive.Typecheck

Typecheck TypedFunction # 
Instance details

Defined in Derive.Typecheck