reactive-midyim-0.2: Process MIDI events via reactive-banana

Safe HaskellNone

Reactive.Banana.MIDI.Common

Contents

Synopsis

Constructors

Fractions

splitFraction :: RealFrac a => a -> (Int, a)Source

properFraction is useless for negative numbers

fraction :: RealFrac a => a -> aSource

Notes

time stamped objects

data Future m a Source

The times are relative to the start time of the bundle and do not need to be ordered.

Constructors

Future 

Fields

futureTime :: T m Relative Ticks
 
futureData :: a
 

Instances

type Bundle m a = [Future m a]Source

now :: a -> Future m aSource

event list support

mergeStable :: C time => T time body -> T time body -> T time bodySource

mergeEither :: C time => T time a -> T time b -> T time (Either a b)Source