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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Generic.Displacement

Contents

Description

Synopsis

Mixing

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

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

Mix one or more signals.

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

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

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

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