synthesizer-0.2.0.1: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Dimensional.Amplitude.Displacement
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Description
Synopsis
mix :: (C y, C y, C y yv, C u) => R s u y yv -> R s u y yv -> R s u y yv
mixVolume :: (C y, C y, C y yv, C u) => T u y -> R s u y yv -> R s u y yv -> R s u y yv
mixMulti :: (C y, C y, C y yv, C u) => [R s u y yv] -> R s u y yv
mixMultiVolume :: (C y, C y, C y yv, C u) => T u y -> [R s u y yv] -> R s u y yv
raise :: (C w, C y, C y yv, C u) => T u y -> yv -> w (S u y) yv -> w (S u y) yv
distort :: (C y, C y yv, C u) => (yv -> yv) -> R s u y y -> R s u y yv -> R s u y yv
Documentation
mix :: (C y, C y, C y yv, C u) => R s u y yv -> R s u y yv -> R s u y yvSource
Mix two signals. In contrast to zipWith the result has the length of the longer signal.
mixVolume :: (C y, C y, C y yv, C u) => T u y -> R s u y yv -> R s u y yv -> R s u y yvSource
mixMulti :: (C y, C y, C y yv, C u) => [R s u y yv] -> R s u y yvSource
Mix one or more signals.
mixMultiVolume :: (C y, C y, C y yv, C u) => T u y -> [R s u y yv] -> R s u y yvSource
raise :: (C w, C y, C y yv, C u) => T u y -> yv -> w (S u y) yv -> w (S u y) yvSource
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 u) => (yv -> yv) -> R s u y y -> R s u y yv -> R s u y yvSource
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