- stereoFromMono :: Value a -> CodeGenFunction r (T (Value a))
- mixMonoFromStereo :: IsArithmetic a => T (Value a) -> CodeGenFunction r (Value a)
- zipStereo :: Value a -> Value a -> CodeGenFunction r (T (Value 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))
- mixMono :: IsArithmetic a => Value a -> Value a -> CodeGenFunction r (Value a)
- mixStereo :: IsArithmetic a => T (Value a) -> T (Value a) -> CodeGenFunction r (T (Value a))
- class Additive a where
- zero :: a
- add :: a -> a -> CodeGenFunction r a
- mixStereoV :: (IsArithmetic a, IsPrimitive a) => T (Value a) -> T (Value a) -> CodeGenFunction r (T (Value a))
- mixVector :: (Arithmetic a, IsPowerOf2 n) => Value (Vector n a) -> CodeGenFunction r (Value a)
- mixVectorToStereo :: (Arithmetic a, IsPowerOf2 n) => Value (Vector n a) -> CodeGenFunction r (T (Value a))
- mixInterleavedVectorToStereo :: (Arithmetic a, IsPowerOf2 n) => Value (Vector n a) -> CodeGenFunction r (T (Value a))
- amplifyMono :: IsArithmetic a => Value a -> Value a -> CodeGenFunction r (Value a)
- amplifyStereo :: IsArithmetic a => Value a -> T (Value a) -> CodeGenFunction r (T (Value a))
- subsampleVector :: Access n a v => v -> CodeGenFunction r a
Documentation
stereoFromMono :: Value a -> CodeGenFunction r (T (Value a))Source
Copy mono signal to both stereo channels.
mixMonoFromStereo :: IsArithmetic a => T (Value a) -> CodeGenFunction r (Value 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
mixMono :: IsArithmetic a => Value a -> Value a -> CodeGenFunction r (Value a)Source
mixStereo :: IsArithmetic a => T (Value a) -> T (Value a) -> CodeGenFunction r (T (Value a))Source
add :: a -> a -> CodeGenFunction r aSource
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, IsPowerOf2 n) => Value (Vector n a) -> CodeGenFunction r (Value a)Source
mixVectorToStereo :: (Arithmetic a, IsPowerOf2 n) => Value (Vector n a) -> CodeGenFunction r (T (Value a))Source
mixInterleavedVectorToStereo :: (Arithmetic a, IsPowerOf2 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 :: IsArithmetic a => Value a -> Value a -> CodeGenFunction r (Value a)Source
amplifyStereo :: IsArithmetic a => Value a -> T (Value a) -> CodeGenFunction r (T (Value a))Source
subsampleVector :: Access n a v => v -> CodeGenFunction r aSource