Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- sched :: (Arg a, Sigs b) => (a -> SE b) -> Evt (Sco a) -> b
- sched_ :: Arg a => (a -> SE ()) -> Evt (Sco a) -> SE ()
- schedBy :: (Arg a, Sigs b, Arg c) => (a -> SE b) -> (c -> Evt (Sco a)) -> c -> b
- schedHarp :: (Arg a, Sigs b) => D -> (a -> SE b) -> Evt [a] -> b
- schedHarpBy :: (Arg a, Sigs b, Arg c) => D -> (a -> SE b) -> (c -> Evt [a]) -> c -> b
- monoSched :: Evt (Sco (D, D)) -> SE MonoArg
- monoSchedUntil :: Evt (D, D) -> Evt a -> SE MonoArg
- monoSchedHarp :: Evt (D, D) -> SE MonoArg
- retrigs :: (Arg a, Sigs b) => (a -> SE b) -> Evt [a] -> b
- evtLoop :: (Num a, Tuple a, Sigs a) => Maybe (Evt Unit) -> [SE a] -> [Evt Unit] -> a
- evtLoopOnce :: (Num a, Tuple a, Sigs a) => Maybe (Evt Unit) -> [SE a] -> [Evt Unit] -> a
Documentation
sched_ :: Arg a => (a -> SE ()) -> Evt (Sco a) -> SE () Source #
Triggers a procedure on the event stream.
schedBy :: (Arg a, Sigs b, Arg c) => (a -> SE b) -> (c -> Evt (Sco a)) -> c -> b Source #
A closure to trigger an instrument inside the body of another instrument.
schedHarp :: (Arg a, Sigs b) => D -> (a -> SE b) -> Evt [a] -> b Source #
An instrument is triggered with event stream and delay time is set to zero (event fires immediately) and duration is set to inifinite time. The note is held while the instrument is producing something. If the instrument is silent for some seconds (specified in the first argument) then it's turned off.
schedHarpBy :: (Arg a, Sigs b, Arg c) => D -> (a -> SE b) -> (c -> Evt [a]) -> c -> b Source #
A closure to trigger an instrument inside the body of another instrument.
monoSchedUntil :: Evt (D, D) -> Evt a -> SE MonoArg Source #
Plays the note until next note comes or something happens on the second event stream.