Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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 #