Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- stereoFromMono :: a -> CodeGenFunction r (T a)
- mixMonoFromStereo :: Additive a => T a -> CodeGenFunction r a
- stereoFromVector :: IsPrimitive a => Value (Vector D2 a) -> CodeGenFunction r (T (Value a))
- vectorFromStereo :: IsPrimitive a => T (Value a) -> CodeGenFunction r (Value (Vector D2 a))
- quadroFromVector :: IsPrimitive a => Value (Vector D4 a) -> CodeGenFunction r (T (T (Value a)))
- vectorFromQuadro :: IsPrimitive a => T (T (Value a)) -> CodeGenFunction r (Value (Vector D4 a))
- mix :: Additive a => a -> a -> CodeGenFunction r a
- mixStereoV :: (IsArithmetic a, IsPrimitive a) => T (Value a) -> T (Value a) -> CodeGenFunction r (T (Value a))
- mixVector :: (Arithmetic a, Positive n) => Value (Vector n a) -> CodeGenFunction r (Value a)
- mixVectorToStereo :: (Arithmetic a, Positive n) => Value (Vector n a) -> CodeGenFunction r (T (Value a))
- mixInterleavedVectorToStereo :: (Arithmetic a, Positive n) => Value (Vector n a) -> CodeGenFunction r (T (Value a))
- amplifyMono :: PseudoRing a => a -> a -> CodeGenFunction r a
- amplifyStereo :: PseudoRing a => a -> T a -> CodeGenFunction r (T a)
Documentation
stereoFromMono :: a -> CodeGenFunction r (T a) Source #
Copy mono signal to both stereo channels.
mixMonoFromStereo :: Additive a => T a -> CodeGenFunction r a Source #
stereoFromVector :: IsPrimitive a => Value (Vector D2 a) -> CodeGenFunction r (T (Value a)) Source #
vectorFromStereo :: IsPrimitive a => T (Value a) -> CodeGenFunction r (Value (Vector D2 a)) Source #
quadroFromVector :: IsPrimitive a => Value (Vector D4 a) -> CodeGenFunction r (T (T (Value a))) Source #
vectorFromQuadro :: IsPrimitive a => T (T (Value a)) -> CodeGenFunction r (Value (Vector D4 a)) Source #
mixStereoV :: (IsArithmetic a, IsPrimitive a) => T (Value a) -> T (Value a) -> CodeGenFunction r (T (Value a)) Source #
This may mean more shuffling and is not necessarily better than mixStereo.
mixVector :: (Arithmetic a, Positive n) => Value (Vector n a) -> CodeGenFunction r (Value a) Source #
mixVectorToStereo :: (Arithmetic a, Positive n) => Value (Vector n a) -> CodeGenFunction r (T (Value a)) Source #
mixInterleavedVectorToStereo :: (Arithmetic a, Positive n) => Value (Vector n a) -> CodeGenFunction r (T (Value a)) Source #
Mix components with even index to the left channel and components with odd index to the right channel.
amplifyMono :: PseudoRing a => a -> a -> CodeGenFunction r a Source #
amplifyStereo :: PseudoRing a => a -> T a -> CodeGenFunction r (T a) Source #