Safe Haskell | None |
---|---|
Language | Haskell98 |
Synthesizer.LLVM.Frame.Stereo
Description
Re-export functions from Sound.Frame.Stereo and add (orphan) instances for various LLVM type classes. If you want to use the Stereo datatype with synthesizer-llvm we recommend to import this module instead of Sound.Frame.Stereo or Sound.Frame.NumericPrelude.Stereo.
- data T a :: * -> *
- cons :: a -> a -> T a
- left :: T a -> a
- right :: T a -> a
- data Channel :: *
- select :: T a -> Channel -> a
- 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)
- 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
data T a :: * -> *
Instances
arrowFromMono :: Arrow arrow => arrow a b -> arrow (T a) (T b)
Run a causal process independently on each stereo channel.
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)
interleave :: (T a, T b) -> T (a, b)
liftApplicative :: Applicative f => (f a -> f b) -> f (T a) -> f (T b)