Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone

Synth.Types

Description

Global 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 # 
Fractional RealTime # 
Num RealTime # 
Ord RealTime # 
Read RealTime # 
Real RealTime # 
RealFrac 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 # 
Storable RealTime # 
NFData RealTime # 

Methods

rnf :: RealTime -> () #

CRC32 RealTime # 
ToJSON RealTime # 
FromJSON RealTime # 
Pretty RealTime # 
CStorable RealTime # 
ApproxEq RealTime # 

Methods

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

Serialize RealTime # 
ShowVal RealTime # 
ToVal RealTime # 

Methods

to_val :: RealTime -> Val Source #

Time RealTime # 
TypecheckNum RealTime # 
ToVal RealTime # 

Methods

to_val :: RealTime -> Val Source #

Typecheck RealTime # 
Typecheck Function # 
Typecheck TypedFunction #