synthesizer-core-0.6: Audio signal processing coded in Haskell: Low level part

Safe HaskellNone

Synthesizer.Zip

Synopsis

Documentation

data T a b Source

Parallel combination of two signals of equal length.

Constructors

Cons 

Fields

first :: a
 
second :: b
 

Instances

(Monoid a, Monoid b) => Monoid (T a b) 
(Transform a, Transform b) => Transform (T a b) 
(NormalForm a, NormalForm b) => NormalForm (T a b) 
(Read a, Read b) => Read (T a b) 

consChecked :: (Read a, Read b) => String -> a -> b -> T a bSource

Zip together two signals. It is a checked error if their lengths differ.

consShorten :: (Transform a, Transform b) => a -> b -> T a bSource

Zip together two signals and shorten them to the length of the shorter one.

arrowFirst :: Arrow arrow => arrow a b -> arrow (T a c) (T b c)Source

arrowSecond :: Arrow arrow => arrow a b -> arrow (T c a) (T c b)Source

arrowFirstShorten :: (Arrow arrow, Transform b, Transform c) => arrow a b -> arrow (T a c) (T b c)Source

arrowSecondShorten :: (Arrow arrow, Transform b, Transform c) => arrow a b -> arrow (T c a) (T c b)Source

arrowFanout :: Arrow arrow => arrow a b -> arrow a c -> arrow a (T b c)Source

arrowSplit :: Arrow arrow => arrow a c -> arrow b d -> arrow (T a b) (T c d)Source