Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
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

Instances details
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

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

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