synthesizer-0.0.3: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Causal.Process
Description
Processes that use only the current and past data. Essentially this is a data type for the Synthesizer.State.Signal.crochetL function.
Synopsis
data T a b
fromStateMaybe :: (a -> StateT s Maybe b) -> s -> T a b
fromState :: (a -> State s b) -> s -> T a b
fromSimpleModifier :: Simple s ctrl a b -> T (ctrl, a) b
map :: (a -> b) -> T a b
compose :: T a b -> T b c -> T a c
split :: T a b -> T c d -> T (a, c) (b, d)
fanout :: T a b -> T a c -> T a (b, c)
apply :: T a b -> T a -> T b
applyFst :: T (a, b) c -> T a -> T b c
applySnd :: T (a, b) c -> T b -> T a c
apply2 :: T (a, b) c -> T a -> T b -> T c
feed :: T a -> T () a
crochetL :: (x -> acc -> Maybe (y, acc)) -> acc -> T x y
scanL :: (acc -> x -> acc) -> acc -> T x acc
zipWith :: (a -> b -> c) -> T a -> T b c
Documentation
data T a b Source
Cf. StreamFusion Synthesizer.State.Signal.T
show/hide Instances
fromStateMaybe :: (a -> StateT s Maybe b) -> s -> T a bSource
fromState :: (a -> State s b) -> s -> T a bSource
fromSimpleModifier :: Simple s ctrl a b -> T (ctrl, a) bSource
map :: (a -> b) -> T a bSource
compose :: T a b -> T b c -> T a cSource
split :: T a b -> T c d -> T (a, c) (b, d)Source
fanout :: T a b -> T a c -> T a (b, c)Source
apply :: T a b -> T a -> T bSource
applyFst :: T (a, b) c -> T a -> T b cSource
applySnd :: T (a, b) c -> T b -> T a cSource
apply2 :: T (a, b) c -> T a -> T b -> T cSource
feed :: T a -> T () aSource
crochetL :: (x -> acc -> Maybe (y, acc)) -> acc -> T x ySource
scanL :: (acc -> x -> acc) -> acc -> T x accSource
zipWith :: (a -> b -> c) -> T a -> T b cSource
Produced by Haddock version 2.3.0