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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Causal.Displacement

Contents

Synopsis

Mixing

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

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 Source #

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 Source #

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 Source #

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