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

Safe HaskellNone

Synthesizer.Generic.Displacement

Contents

Description

Synopsis

Mixing

mix :: (C v, Transform sig v) => sig v -> sig v -> sig vSource

Mix two signals. In opposition to zipWith the result has the length of the longer signal.

mixMulti :: (C v, Transform sig v) => [sig v] -> sig vSource

Mix one or more signals.

raise :: (C v, Transform sig v) => v -> sig v -> sig vSource

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

Distortion

distort :: (Read sig c, Transform sig v) => (c -> v -> v) -> sig c -> sig v -> sig vSource

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

Preprocessing of control curves

mapLinear :: (C a, Transform sig a) => a -> a -> sig a -> sig aSource

mapExponential :: (C a, Transform sig a) => a -> a -> sig a -> sig aSource