reactive-balsa-0.1.1: Programmatically edit MIDI events via ALSA and reactive-banana

Safe HaskellNone

Reactive.Banana.ALSA.Time

Synopsis

Documentation

type Abs = RationalSource

The T types are used instead of floating point types, because the latter ones caused unpredictable 'negative number' errors. The denominator must always be a power of 10, this way we can prevent unlimited grow of denominators.

newtype T Source

Constructors

Cons 

Fields

decons :: Rational
 

Instances

Eq T 
Ord T 
Show T 
Monoid T 
C T 

inc :: T -> Abs -> AbsSource

scaleInt :: Integral i => i -> T -> TSource

div :: T -> T -> DoubleSource

nano :: Num a => aSource