Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mix :: (C v, Transform sig v) => sig v -> sig v -> sig v
- mixMulti :: (C v, Transform sig v) => [sig v] -> sig v
- raise :: (C v, Transform sig v) => v -> sig v -> sig v
- distort :: (Read sig c, Transform sig v) => (c -> v -> v) -> sig c -> sig v -> sig v
- mapLinear :: (C a, Transform sig a) => a -> a -> sig a -> sig a
- mapExponential :: (C a, Transform sig a) => a -> a -> sig a -> sig a
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.
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
mapExponential :: (C a, Transform sig a) => a -> a -> sig a -> sig a Source #