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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Frame.Stereo

Synopsis

Documentation

data T a :: * -> *

Instances

Functor T 
Applicative T 
Foldable T 
Traversable T 
(C a, C a v) => C a (T v) 
(Ord a, C a v) => C a (T v) 
Sqr a v => Sqr a (T v) 
(C a, Sqr a v) => C a (T v) 
C a v => C a (T v) 
C a v => C a (T v) 
Eq a => Eq (T a) 
Show a => Show (T a) 
Arbitrary a => Arbitrary (T a) 
Storable a => Storable (T a) 
C a => C (T a) 
C a => C (T a) 
C a => C (T a) 
C a => C (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)

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)

data Channel :: *

Constructors

Left 
Right 

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)