synthesizer-0.2.0.1: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Dimensional.RateAmplitude.Displacement
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Description
Synopsis
mix :: (C y, C y, C y yv, C v) => T s u t (R s v y yv -> R s v y yv -> R s v y yv)
mixVolume :: (C y, C y, C y yv, C v) => T v y -> T s u t (R s v y yv -> R s v y yv -> R s v y yv)
mixMulti :: (C y, C y, C y yv, C v) => T s u t ([R s v y yv] -> R s v y yv)
mixMultiVolume :: (C y, C y, C y yv, C v) => T v y -> T s u t ([R s v y yv] -> R s v y yv)
raise :: (C y, C y yv, C v) => T v y -> yv -> T s u t (R s v y yv -> R s v y yv)
distort :: (C y, C y yv, C v) => (yv -> yv) -> T s u t (R s v y y -> R s v y yv -> R s v y yv)
Documentation
mix :: (C y, C y, C y yv, C v) => T s u t (R s v y yv -> R s v y yv -> R s v y yv)Source
Mix two signals. In opposition to zipWith the result has the length of the longer signal.
mixVolume :: (C y, C y, C y yv, C v) => T v y -> T s u t (R s v y yv -> R s v y yv -> R s v y yv)Source
mixMulti :: (C y, C y, C y yv, C v) => T s u t ([R s v y yv] -> R s v y yv)Source
Mix one or more signals.
mixMultiVolume :: (C y, C y, C y yv, C v) => T v y -> T s u t ([R s v y yv] -> R s v y yv)Source
raise :: (C y, C y yv, C v) => T v y -> yv -> T s u t (R s v y yv -> R s v y yv)Source
Add a number to all of the signal values. This is useful for adjusting the center of a modulation.
distort :: (C y, C y yv, C v) => (yv -> yv) -> T s u t (R s v y y -> R s v y yv -> R s v y yv)Source
Distort the signal using a flat function. The first signal gives the scaling of the function. If the scaling is c and the input sample is y, then c * f(y/c) is output. This way we can use an (efficient) flat function and have a simple, yet dimension conform, way of controlling the distortion. E.g. if the distortion function is tanh then the value c controls the saturation level.
Produced by Haddock version 2.4.2