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

Safe HaskellNone

Reactive.Banana.ALSA.Common

Contents

Synopsis

helper functions

setTimeStamping :: ReaderT Handle IO ()Source

make ALSA set the time stamps in incoming events

connect :: [String] -> [String] -> ReaderT Handle IO ()Source

Connect ourselve to an input client and an output client. The function expects a list of alternative clients that are checked successively.

send single events

events

class Reactor reactor whereSource

Methods

reactorTime :: T reactor t a -> T Reactor t aSource

Instances

class Events ev whereSource

This class unifies several ways of handling multiple events at once.

Methods

flattenEvents :: ev -> [Future Data]Source

Instances

Events Data 
Events ev => Events [ev] 
Events ev => Events (Maybe ev) 
(Events ev0, Events ev1) => Events (ev0, ev1) 
(Make key, VelocityField value) => Events (Boundary key value) 
(Reactor m, Events ev) => Events (Future m ev) 
(Events ev0, Events ev1, Events ev2) => Events (ev0, ev1, ev2) 

effects

predicates - may be moved to midi-alsa package