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

Safe HaskellNone
LanguageHaskell98

Reactive.Banana.ALSA.Sequencer

Contents

Documentation

data Reactor a Source #

Instances
Monad Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Methods

(>>=) :: Reactor a -> (a -> Reactor b) -> Reactor b #

(>>) :: Reactor a -> Reactor b -> Reactor b #

return :: a -> Reactor a #

fail :: String -> Reactor a #

Functor Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Methods

fmap :: (a -> b) -> Reactor a -> Reactor b #

(<$) :: a -> Reactor b -> Reactor a #

MonadFix Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Methods

mfix :: (a -> Reactor a) -> Reactor a #

Applicative Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Methods

pure :: a -> Reactor a #

(<*>) :: Reactor (a -> b) -> Reactor a -> Reactor b #

liftA2 :: (a -> b -> c) -> Reactor a -> Reactor b -> Reactor c #

(*>) :: Reactor a -> Reactor b -> Reactor b #

(<*) :: Reactor a -> Reactor b -> Reactor a #

MonadIO Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Methods

liftIO :: IO a -> Reactor a #

MonadMoment Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Methods

liftMoment :: Moment a -> Reactor a #

MomentIO Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Methods

liftMomentIO :: MomentIO a -> Reactor a #

Reactor Reactor # 
Instance details

Defined in Reactive.Banana.ALSA.Sequencer

Timed Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Private

Reactor Reactor Source # 
Instance details

Defined in Reactive.Banana.ALSA.Common

Methods

reactorTime :: T Reactor t a -> T Reactor t a Source #

startSchedule :: Schedule Source #

nextSchedule :: Schedule -> Schedule Source #

run :: Events ev => (Event Data -> Event ev) -> ReaderT Handle IO () Source #

outputEvents :: Events evs => Handle -> AbsoluteTicks -> evs -> IO () Source #

checkSchedule :: Schedule -> T -> Bool Source #

sendEchos :: Handle -> Schedule -> [AbsoluteTicks] -> IO () Source #

cancelEchos :: Handle -> Schedule -> IO () Source #

bypass :: (Events a, Events c) => (a -> Maybe b) -> (Event b -> Event c) -> Event a -> Event [Future Data] Source #

bypassM :: (Monad m, Events a, Events c) => (a -> Maybe b) -> (Event b -> m (Event c)) -> Event a -> m (Event [Future Data]) Source #

Orphan instances