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

Safe HaskellNone

Synthesizer.Causal.Displacement

Contents

Synopsis

Mixing

mix :: (C v, Arrow arrow) => arrow (v, v) v

Mix two signals. Unfortunately we have to use zipWith semantic here, that is the result is as long as the shorter of both inputs.

raise :: (C v, Arrow arrow) => v -> arrow v v

Add a number to all of the signal values. This is useful for adjusting the center of a modulation.

Distortion

distort :: Arrow arrow => (c -> a -> a) -> arrow (c, a) a

In Synthesizer.Basic.Distortion you find a collection of appropriate distortion functions.

Preprocessing of control curves

mapLinear :: (C a, Arrow arrow) => a -> a -> arrow a a

mapExponential :: (C a, Arrow arrow) => a -> a -> arrow a a