Safe Haskell | None |
---|---|

Language | Haskell2010 |

## Synopsis

- data T a
- left :: T a -> a
- right :: T a -> a
- cons :: a -> a -> T a
- map :: (a -> b) -> T a -> T b
- arrowFromMono :: Arrow arrow => arrow a b -> arrow (T a) (T b)
- arrowFromMonoControlled :: Arrow arrow => arrow (c, a) b -> arrow (c, T a) (T b)
- arrowFromChannels :: Arrow arrow => arrow a b -> arrow a b -> arrow (T a) (T b)
- data Channel
- select :: T a -> Channel -> a
- interleave :: (T a, T b) -> T (a, b)
- sequence :: Functor f => f (T a) -> T (f a)
- liftApplicative :: Applicative f => (f a -> f b) -> f (T a) -> f (T b)

# Documentation

## Instances

Functor T | |

Applicative T | |

Foldable T | |

Defined in Sound.Frame.Stereo fold :: Monoid m => T m -> m # foldMap :: Monoid m => (a -> m) -> T a -> m # foldr :: (a -> b -> b) -> b -> T a -> b # foldr' :: (a -> b -> b) -> b -> T a -> b # foldl :: (b -> a -> b) -> b -> T a -> b # foldl' :: (b -> a -> b) -> b -> T a -> b # foldr1 :: (a -> a -> a) -> T a -> a # foldl1 :: (a -> a -> a) -> T a -> a # elem :: Eq a => a -> T a -> Bool # maximum :: Ord a => T a -> a # | |

Traversable T | |

C a v => C a (T v) Source # | |

Defined in Synthesizer.Interpolation.Class | |

Eq a => Eq (T a) | |

Show a => Show (T a) | |

Arbitrary a => Arbitrary (T a) | |

Storable a => Storable (T a) | |

Defined in Sound.Frame.Stereo | |

C a => C (T a) | |

Defined in Sound.Frame.Stereo numberOfChannels :: T a -> Int # sizeOfElement :: T a -> Int # | |

C a => C (T a) | |

Defined in Sound.Sox.Frame | |

C a => C (T a) Source # | |

Defined in Synthesizer.Basic.Binary |

arrowFromMono :: Arrow arrow => arrow a b -> arrow (T a) (T b) Source #

Run a causal process independently on each stereo channel.

interleave :: (T a, T b) -> T (a, b) #

liftApplicative :: Applicative f => (f a -> f b) -> f (T a) -> f (T b) #