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

Safe HaskellNone
LanguageHaskell98

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 -> a Source #

Notes

class VelocityField x where Source #

Minimal complete definition

getVelocity

Methods

getVelocity :: x -> Velocity Source #

Instances
VelocityField Velocity Source # 
Instance details

Defined in Reactive.Banana.MIDI.Common

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

Instances
Functor (Future m) Source # 
Instance details

Defined in Reactive.Banana.MIDI.Common

Methods

fmap :: (a -> b) -> Future m a -> Future m b #

(<$) :: a -> Future m b -> Future m a #

type Bundle m a = [Future m a] Source #

now :: a -> Future m a Source #

event list support

mergeStable :: C time => T time body -> T time body -> T time body Source #

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