synthesizer-0.2.0.1: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Plain.Filter.Recursive.FirstOrder
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Description
First order low pass and high pass filter.
Synopsis
newtype Parameter a = Parameter {
getParameter :: a
}
parameter :: C a => a -> Parameter a
lowpassStep :: (C a, C a v) => Parameter a -> v -> State v v
lowpassModifierInit :: (C a, C a v) => Initialized v v (Parameter a) v v
lowpassModifier :: (C a, C a v) => Simple v (Parameter a) v v
lowpassCausal :: (C a, C a v) => T (Parameter a, v) v
lowpassInit :: (C a, C a v) => v -> T (Parameter a) -> T v -> T v
lowpass :: (C a, C a v) => T (Parameter a) -> T v -> T v
highpassStep :: (C a, C a v) => Parameter a -> v -> State v v
highpassModifierInit :: (C a, C a v) => Initialized v v (Parameter a) v v
highpassModifier :: (C a, C a v) => Simple v (Parameter a) v v
highpassInit :: (C a, C a v) => v -> T (Parameter a) -> T v -> T v
highpassInitAlt :: (C a, C a v) => v -> T (Parameter a) -> T v -> T v
highpass :: (C a, C a v) => T (Parameter a) -> T v -> T v
data Result a = Result {
highpass_ :: !a
lowpass_ :: !a
}
step :: (C a, C a v) => Parameter a -> v -> State v (Result v)
Documentation
newtype Parameter a Source
Constructors
Parameter
getParameter :: a
show/hide Instances
C a v => C a (Parameter v)
Show a => Show (Parameter a)
parameter :: C a => a -> Parameter aSource
Convert cut-off frequency to feedback factor.
lowpassStep :: (C a, C a v) => Parameter a -> v -> State v vSource
lowpassModifierInit :: (C a, C a v) => Initialized v v (Parameter a) v vSource
lowpassModifier :: (C a, C a v) => Simple v (Parameter a) v vSource
lowpassCausal :: (C a, C a v) => T (Parameter a, v) vSource
lowpassInit :: (C a, C a v) => v -> T (Parameter a) -> T v -> T vSource
lowpass :: (C a, C a v) => T (Parameter a) -> T v -> T vSource
highpassStep :: (C a, C a v) => Parameter a -> v -> State v vSource
highpassModifierInit :: (C a, C a v) => Initialized v v (Parameter a) v vSource
highpassModifier :: (C a, C a v) => Simple v (Parameter a) v vSource
highpassInit :: (C a, C a v) => v -> T (Parameter a) -> T v -> T vSource
highpassInitAlt :: (C a, C a v) => v -> T (Parameter a) -> T v -> T vSource
highpass :: (C a, C a v) => T (Parameter a) -> T v -> T vSource
data Result a Source
Constructors
Result
highpass_ :: !a
lowpass_ :: !a
show/hide Instances
C a v => C a (Result v)
C v => C (Result v)
step :: (C a, C a v) => Parameter a -> v -> State v (Result v)Source
Produced by Haddock version 2.4.2