synthesizer-0.2.0.1: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Amplitude.Control
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Contents
Primitives
Preparation
Description
Control curves which can be used as envelopes, for controlling filter parameters and so on.
Synopsis
constant :: (C y', C y', C y y') => y' -> T y y' y
constantVector :: y' -> yv -> T y y' yv
mapLinear :: (C y, C y', C y', C y y') => y' -> y' -> T y y' y -> T y y' y
mapExponential :: (C y', C y, C y y') => y -> y' -> T y y y -> T y y' y
Primitives
constantSource
:: (C y', C y', C y y')
=> y'value
-> T y y' y
constantVectorSource
::
=> y'amplitude
-> yvvalue
-> T y y' yv
The amplitude must be positive! This is not checked.
Preparation
mapLinearSource
:: (C y, C y', C y', C y y')
=> y'range: one is mapped to center+range
-> y'center: zero is mapped to center
-> T y y' y
-> T y y' y
Map a control curve without amplitude unit by a linear (affine) function with a unit.
mapExponentialSource
:: (C y', C y, C y y')
=> yrange: one is mapped to center*range, must be positive
-> y'center: zero is mapped to center
-> T y y y
-> T y y' y
Map a control curve without amplitude unit exponentially to one with a unit.
Produced by Haddock version 2.4.2